News for hackers. Stuff that matters.
Re:Two.js by zmmmmm on Thursday July 16, 2015 @08:02PM (#9900630)
I love SVG support because it means you can render something in vector art in the browser which is also downloadable as a file by the user. Drawing stuff in the browser which is then stuck there is cute but lacks an important layer of interoperability with the rest of the computing ecosystem. So here we appear to get the best of all worlds: render to whatever is fastest in the browser but get automatic "export as SVG" for free.
Re:Two.js by espadrine on Friday July 17, 2015 @05:24AM (#9901869)
We could make an HTML-Canvas-compliant library that renders SVG.

In fact, I already enabled one: https://github.com/Automattic/node-canvas

Re:Two.js by hansolo669 on Thursday July 16, 2015 @08:15PM (#9900680)
You can save out a <canvas> to png quite easily: canvas.toDataURL();
Re:Two.js by zmmmmm on Thursday July 16, 2015 @08:49PM (#9900787)
Oh, yes, but it's not a vector format, which means you can't make high quality vector drawings that the user can export with it.