springy icon indicating copy to clipboard operation
springy copied to clipboard

Using Webworker

Open oak-tree opened this issue 10 years ago • 2 comments

Hey, what do you think about using Webworker for doing the physics/math stuff? This way, calculating layout for large graph won't interfere user u.i

oak-tree avatar Aug 19 '14 15:08 oak-tree

From 2nd look on this issue i think this can be done with separate Springy.Layout to a different file and make it run as web worker.

oak-tree avatar Aug 19 '14 15:08 oak-tree

So i started re structure springy to support a web worker. for now the source is not very clean but it is on my fork under webworker branch. i also added grunt support (mainly for allowing autoreload i.e via grunt server. but this can help to create a compile version of springy with the worker)

oak-tree avatar Aug 20 '14 09:08 oak-tree