4 ms·
How does this compare to raphael (http://raphaeljs.com/ http://raphaeljs.com/) ?
by niggler 13y ago
How does this compare to raphael (http://raphaeljs.com/ http://raphaeljs.com/) ?
- jonobr1 13y agoFrom 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.
- AdamTReineke 13y agoRaphael is SVG or VML (for IE <9)
- jonobr1 13y agoThanks for the clarification!
- tregoning 13y agoRapahel 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)
- micheljansen 13y agoOn 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.
- coldtea 13y ago>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".
- swah 13y ago"Well, actually..."
- joesb 13y agoI 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.
- rhengles 13y agoRaphael has no support to work with groups of elements.
- larrykubin 13y agoRaphael supports sets of elements: http://raphaeljs.com/reference.html#Paper.set http://raphaeljs.com/reference.html#Paper.set
- de_dave 13y agoNot the same - e.g. rotating a set of elements causes each individual element to rotate around their individual centers, rather than causing the group to rotate around a central pivot.
- nicolasroy 13y agoPseudo-Grouping can be made in Raphael. However each elements gets transformed one by one. At 100+ elements, things get very laggy.