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!

2176 views / 5 in the last 7 days

3 votes | 0 in the last 7 days

Tags: mouse physics debris

There is no HTML 5 translation of this scenario available.
View legacy version (requires Java plugin)

This scenarios uses Java features that are not available for use after conversion to HTML 5. Please try the legacy version, which requires the Java plugin to be installed.

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