November 2018
Beginner
472 pages
13h 5m
English
We will not need to deal with formulas to convert HSV into RGB, as Python, our chosen programming language, has a colorsys library to deal with these conversions. The only thing to note is that this library works in normalized values from 0 to 1, where fractions between express the full range. So, for the input, we'd have to turn our position around a circle into a 0-1 value and for the RGB output, we will need to turn the 0-1 values into 0-255 values. I'll show you how we do this in the code.
Read now
Unlock full access