Raphael js improves scale and translates performance

Do you know any ways to scale up raphael js and translate methods. It takes about 3 seconds to scale 1000 objects (400 circles, 400 paths, 50 texts, 150 rectangles) and about 1.5 seconds to translate these objects?

thanks a lot:)

+3
source share
1 answer

Try this library: http://shapevent.com/scaleraphael/

Instead of scaling objects one by one, it scales the entire canvas and saves the original coordinate system. Works with both svg and vml.

+4
source

Source: https://habr.com/ru/post/1792657/


All Articles