Drag elements around with gravity effect
-
25-09-2019 - |
Question
I want to accomplish something similar to what photoshop.com has and this site here: http://mrdoob.com/projects/chromeexperiments/google_gravity/
Does anyone know how to do this with javascript (preferably jquery) ?
Solution
A jPhysics demo can be found online at http://www.inf.ufrgs.br/~rcpinto/physics/ and downloaded from http://plugins.jquery.com/project/jphysics or from Google at http://code.google.com/p/jqueryphysics/
OTHER TIPS
I think the google example used Box2Djs. I have used box2d for python and its great.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow