Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.python
Re: How to make "rainbow" RGB values?
Andrew McNamara
2/26/2008 5:53:00 AM
>>Consider using an HSV->RGB conversion function. Saturation (S) and value
>>(V) should remain constant, while Hue (H) varies to get your rainbow
>>effect.
>
>Hey thank you very much, that worked like a charm! :]
>
>There's even a library function in the colorsys module (http://
>docs.python.org/lib/module-colorsys.html)
Well, now you've helped me - I had no idea there was an HSV->RGB
conversion function in the standard library. 8-)
--
Andrew McNamara, Senior Developer, Object Craft
http://www.object-cra...
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
Re: How to make "rainbow" RGB values?
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password