Drag elements around with gravity effect

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


一个jPhysics演示可以在http://www.inf.ufrgs.br/~rcpinto/physics/上在线找到,并从http://plugins.jquery.com/project/jphysics或Google下载。 .google.com / p / jqueryphysics /


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

链接地址: http://www.djcxy.com/p/44576.html

上一篇: 如何在MySQL表中使用外键和空间索引?

下一篇: 用重力效果拖动元素