Automated Map colors [message #81049] |
Mon, 30 July 2012 15:29 |
wlandsman
Messages: 743 Registered: June 2000
|
Senior Member |
|
|
I have a program that creates connected filled polygons It ends up looking like a map where each country is in a different color (or at least countries that border on each other have a different color). Right now I choose my colors by getting an array of color names from cgcolor(/names), and randomly assigning a color to each polygon. Sometimes this looks OK, and sometimes it looks, um, like the colors were chosen at random. Anyone have any suggestions on how to intelligently pick colors for a map? There are about 50 polygon regions, but their sizes and location can change on each iteration.
Thanks, --Wayne
|
|
|