dhotson/springy

Using Webworker

oak-tree opened this issue · 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

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.

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)