The problem is that the sketch you are drawing is 3D!
So the part of the ring that is far away from the camera looks smaller than the part that is closer.
It’s a pretty weird effect.
The fix is simple: Change your camera to ignore the Z distance. In short, call ortho():
Fantastic, ortho() worked! Thanks a lot!
It had been driving me nuts
Yeah I knew about the width trick, but my project is more complex and involves rotations of multiple objects along X, Y and Z. I just simplified it to get straight to the point.
Just want to add that you made me understand it was a perspective problem.
So I fiddled with that and was able to mitigate the weird effect without having to completely give up on perspective.