3 ms·
Your circle-detection code is a bit overzealous. I put it in arrow mode and tried to draw a bunch of arrows from one side of the canvas to the other, and if my
by tb 18y ago
Your circle-detection code is a bit overzealous. I put it in arrow mode and tried to draw a bunch of arrows from one side of the canvas to the other, and if my lines were even a little bit curved, it turned them into ovals. It should really only turn it into an oval if the user has changed direction substantially during the drawing.
- zhyder 18y agoYes, the problem is that I don't support curved lines yet. (Do let me know if you intended it to be a straight line and the algo still messed up.) Sounds like everyone wants curved lines, so back to the drawing board -ahem dabbleboard-. Will definitely find a way to add it.