[gameprogrammer] Re: mapping numbers to colors

Thank you so much! (:

it looks like each color is a degree on a circle...just divide 360 by the
number of groups i got and bam, i got my colors :P

thanks a ton what an awesome solution! (:

----- Original Message ----- 
From: "Stephane Marchesin" <stephane.marchesin@xxxxxxxxxx>
To: <gameprogrammer@xxxxxxxxxxxxx>
Sent: Thursday, December 02, 2004 2:21 PM
Subject: [gameprogrammer] Re: mapping numbers to colors


> Alan Wolfe wrote:
>
> >sounds like what im looking for, whats HSV?
> >
> The HSV color space is another way of representing colors. Instead of
> having red, green and blue components, you have hue, saturation and value.
> Well, google digs up lots of information on this, for example the
> wikipedia page :
> http://en.wikipedia.org/wiki/HSV_color_space
>
> Similarly, you'll find the hsv to rgb conversion algorithm and code
> quite easily.
>
> Stephane
>
>
>
>
>
> ---------------------
> To unsubscribe go to http://gameprogrammer.com/mailinglist.html
>
>



---------------------
To unsubscribe go to http://gameprogrammer.com/mailinglist.html


Other related posts: