How was ist created?
A multidimensional array of pixels was created, consisting of varying hue
values. Each of the values was then converted to their RGB equivalent, and then
the array was mapped to an Image, using the array values. Now we have a
rectangular image with varying hue values. Next, we pass the image through a
filter which converts the rectangular coordinates of the image into polar
coordinates, so we end up with the spectrum wheel. The color square is created
by creating a square array of pixel values, where the hue is the one selected
in the outisde ring, and the value and saturation values increase as they
go out along the axes. Then the array is converted into an image, and drawn
inside the wheel.
Click here to go to the color wheel.