Hacker News new | ask | show | jobs
by jonobr1 4785 days ago
From my understanding Raphael is specific to the SVG context. Two.js is renderer agnostic, you can choose whether it draws in SVG, canvas, or webgl. This is one of many differences between the two.
3 comments

Rapahel does SVG but most importantly it also renders VML when SVG is not supported by the browser, as a result it supports IE6+ unlike two. (don't get me wrong I still think two is great)
On the contrary, Raphael is an abstraction on top of SVG and VML (Microsoft's vector format). It's quite useful when you have to support IE.
>Raphael is an abstraction on top of SVG and VML

Still specific to vector graphics rendering.

So not "on the contrary", but "to be exact".

"Well, actually..."
I did a whole diagram editor in Raphael. In the end we had the client installing ChromeFrame because there are still some different behaviors in IE.
Raphael is SVG or VML (for IE <9)
Thanks for the clarification!