I’m trying to implement a colour wheel (Color wheel - Wikipedia) using individual coloured lines and the hsv colour space.
I have pretty much got it working except there appears to be a funny visual effect occurring within the wheel itself, and the edge of the circle does not appear to be consistent. Also, the center point seems to be inconsistent for each colour (but this could just be my eyes). Maybe there’s a rounding error for my calculation of the “end” point for each degree of the circle? I’ve tried several things and I cannot locate the source of the error in my code.
If was wondering if anyone would please have a look at my code (attached) and inform me where I might be going wrong?
colourWheel_web.py (1.8 KB)