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

Report as inappropriate.

Ninto presents ...


Pressure smulation

Simulate pressure with to colors: green for high pressure and blue for low.
This is my first scenario to publish.
If you got any ideas to the code feel free to write is in a comment.

x and z: add/remove pressure at the position of the mouse.
enter/backspace: add/remove pressure at a random location.
1 to 9: set the size of the "pen".
s: add sand at the location of the mouse.
a: add sand at random location.
q and w: change between visible pressure and invisible pressure.

-sand added
-new BG effect

5690 views / 998 in the last 7 days

5 votes | 0 in the last 7 days

Tags: mouse simulation physics with-source pressure

This scenario is a member of: Art, Patterns and Music

open in greenfoot
Your browser does not support the canvas tag.
Very nice, its cool to see a Powder Game fan on Greenfoot. Are you going for an air engine like in the powder game? If so, you definitely have some work to do, but this is a Great start!
A new version of this scenario was uploaded on Sun Mar 08 20:54:52 UTC 2009
A new version of this scenario was uploaded on Sun Mar 08 20:56:37 UTC 2009
A new version of this scenario was uploaded on Sun Mar 08 21:10:38 UTC 2009


Nice, an interesting concept and it'll be good to see what comes out of it!


Cool! I like the visualisation of the pressure & the way the sand reacts to it - although sometimes the sand does seem to act a bit strangely.


I like it. Hope some more gets added. Has the potential to be really cool. (Ninto: also like your profile image. Wish I had thought of that...)


Thanks delmar.

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

Who likes this?

thegreencoolerman Wyatt915 delmar programmer Builderboy2005