News for hackers. Stuff that matters.
Re:Show HN: A resource for drawing complex primitives in Jav... by tantalor on Tuesday September 15, 2015 @04:00PM (#10222803)
Is the author aware of https://developer.mozilla.org/en-US/docs/Web/API/CanvasRende...?

Use rotate(), translate(), and scale() instead of doing your own math.

Re:Show HN: A resource for drawing complex primitives in Jav... by MJSplot_author on Tuesday September 15, 2015 @04:08PM (#10222848)
Yes, but this is as simple. It's not really my maths, it's quite standard stuff.

I'm more excited about Path2D[0] becoming adopted by more browsers.

[0] https://developer.mozilla.org/en-US/docs/Web/API/Path2D