Drag elements around with gravity effect
Asked Answered
H

2

7

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) ?

Housley answered 2/2, 2010 at 16:46 Comment(1)
this is soo cool... a physics engine in javascript :DClick
P
2

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/

Pintail answered 2/2, 2010 at 16:52 Comment(0)
D
1

I think the google example used Box2Djs. I have used box2d for python and its great.

Doge answered 2/2, 2010 at 16:54 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.