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

Report as inappropriate.

Ninto
Ninto presents ...

2009/3/8

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.

controls:
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.

-UPDATE
-sand added
-new BG effect

6110 views / 13 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
mjrb4mjrb4

2009/3/8

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

2009/3/9

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.
delmardelmar

2009/3/12

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...)
NintoNinto

2009/3/14

Thanks delmar.

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

Who likes this?

thegreencoolerman Wyatt915 delmar programmer Builderboy2005