2 ms·
A small warning: I tried using raphael.js for a project just a couple of months ago and discovered a big flaw. Transformations/rotations and scale-functions are
by realugglan 16y ago
A small warning: I tried using raphael.js for a project just a couple of months ago and discovered a big flaw. Transformations/rotations and scale-functions are not "stackable" which might come as a nasty surprise after a while.
For example, I designed a number of subcomponents using rotate and scale operators, then I wanted to use them as parts of the whole. The result is very weird when you first get it as it is only the last transformation of each kind that survives which results in everything thrown all around.
But that said, if you stick to one coordinate system you will be just fine. The animation-hooks and the event-hooks might just be worth it. Just don't try to think vectors and transformations/rotations just because it's vector graphics.
(I ended up using canvas and excanvas for that project which worked fine even though the printouts weren't as pretty)