Use rotate(), translate(), and scale() instead of doing your own math.
I'm more excited about Path2D[0] becoming adopted by more browsers.
[0] https://developer.mozilla.org/en-US/docs/Web/API/Path2D
I'm more excited about Path2D[0] becoming adopted by more browsers.
[0] https://developer.mozilla.org/en-US/docs/Web/API/Path2D