News for hackers. Stuff that matters.
Re:Two.js by surrealize on Tuesday May 07, 2013 @12:32PM (#5669020)
I don't get it. Retained-mode vector graphics == SVG. Browsers with canvas or webgl also have SVG. So what does this accomplish?

I don't mean to sound negative, I'm just not clear on the point.

Re:Two.js by jonobr1 on Tuesday May 07, 2013 @12:38PM (#5669067)
I find this to be a very relevant article on render times between various contexts: http://smus.com/canvas-vs-svg-performance/

Along these lines I've written projects in canvas only to realize later I should've written in SVG. One of the aims of two.js is to afford a canonical API for the developer. So the idea is that if you're rendering lots of particles and not doing any manipulation to individual particles, canvas or webgl will render faster than svg. Two.js aims to make it easier to test and switch around between the contexts. However, I should caveat all of this with two.js is very nascent...

Re:Two.js by legutierr on Wednesday May 08, 2013 @01:35PM (#5675613)
Have you considered adding VML support, the way that Raphael has, for IE 6 through 8 support?