Hello, thank you! Good question and well illustrated too.
I _think_ this is problem in the preview code, rather than in the commands themselves. So when the controller reads the commands in the queue back to create the preview, it quantises (snaps) each point to a fairly coarse grid, and things end up looking a little weird when you're close up.
When it draws, they look fine. I am about 98% sure that is correct, because I've noticed this lots of times before during preview, and have never noticed it on the page.
I suspect it is a float-to-int conversion that loses the decimal part of a number. Because I've never seen any bad effects from it (on the page), I've never made it a priority to fix, but if you find it is, let me know, or better still, raise an issue on the code repo (https://github.com/euphy/polargraphcontroller/issues).
Cheers!
sn
|