Sep-05-2017, 06:47 PM
I'm trying to translate compass values (1 - 360) to the RGB values of a color wheel. For example, looking at this image:
https://www.timvandevall.com/wp-content/...ate-02.png
1 degree would be RGB(255,0,0), 180 degrees would be 0,255,255, etc.
Any anyone think of a way to convert each compass degree to an RGB value programatically?
https://www.timvandevall.com/wp-content/...ate-02.png
1 degree would be RGB(255,0,0), 180 degrees would be 0,255,255, etc.
Any anyone think of a way to convert each compass degree to an RGB value programatically?