I’m adding drawing rectangle and sphere entities by mouse. I’ve already implemented rectangle, which works fine. Similarly, I implemented a sphere (later simplified to an ellipse), but the drawing performance isn’t satisfying. When moving the mouse, the ellipsoid can’t be redrawn efficiently.
Here is a sandcastle example.
After opening the sandcastle example, click and hold mouse button, then move it while holding. Why its performance is slow? Any way to try or improve it?
Refresh or re-run the example if you need retrying
Bonus: On sandcastle, I’m also getting an exception at the complete event, don’t know why.