This site requires JavaScript, please enable it in your browser!
Greenfoot back

Report as inappropriate.

shrucis1
shrucis1 presents ...

2013/11/29

Debris Tests

A little test I made using Newton's formula for gravity.
In his words, each debris particle is attracted to the mouse with a force proportional to the product of their masses and inversely proportional to the square of the distance between them.

To put it simply, the little particles fly to your mouse. In wrap mode, when they hit the side of the screen they wrap to the other side, in bounce mode they just bounce off.
Sorta fun to play around with.
Enjoy!

3597 views / 14 in the last 7 days

3 votes | 0 in the last 7 days

Tags: mouse physics debris

Your browser is ignoring the <APPLET> tag.
HTML5 version not available | Scenario not running?
RUMMAKERRUMMAKER

2014/5/16

whoa this is so amazing :o
RUMMAKERRUMMAKER

2014/5/16

feels like im in space and im manipulating the asteroids.

Want to leave a comment? You must first log in.

Who likes this?

RUMMAKER Ecurai-t'Rehu inigmo-drago-10