Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Gravitational JavaScript

Is there any good JQuery or JavaScript plugin that can be used to apply gravitation force effect on a particular DIV?

(example: google gravity)

like image 502
Selvin Avatar asked Apr 06 '11 12:04

Selvin


People also ask

What does gravity do?

Gravity is the force by which a planet or other body draws objects toward its center. The force of gravity keeps all of the planets in orbit around the sun.

Why does gravity exist?

Einstein suggested that the shape of spacetime is what gives rise to the force we experience as gravity. A concentration of mass (or energy), such as the Earth or sun, bends space around it like a rock bends the flow of a river.

Is gravity really a force?

Gravity is indeed a real force, but not in the traditional sense. In other words, gravity is not a direct, classical, action-at-a-distance force between two objects. However, in the broader sense, gravity is indeed a force because it describes the resulting interaction between two masses.


1 Answers

Have a look at this Jquery plugin http://code.google.com/p/jqueryphysics/

like image 112
diagonalbatman Avatar answered Sep 23 '22 21:09

diagonalbatman