Omnimaga

Calculator Community => Other Calc-Related Projects and Ideas => TI Z80 => Topic started by: LincolnB on September 20, 2011, 11:13:40 pm

Title: Water Simulation w/ Track Drawing
Post by: LincolnB on September 20, 2011, 11:13:40 pm
This is a little simulation I pulled together, an enormous high five to BuilderBoy for his cellular automata tutorial that really made this happen.

Screenie!!

(http://img.removedfromgame.com/imgs/water_screenie_1.gif)

Note: Source and Executable are attached.
Title: Re: Water Simulation w/ Track Drawing
Post by: ztrumpet on September 20, 2011, 11:17:42 pm
This is a really nice version of this style of program.  I really like how the pixels go from gray to black to indicate that more water is there - that's a really nice touch I've never seen before.
Title: Re: Water Simulation w/ Track Drawing
Post by: parserp on September 20, 2011, 11:18:19 pm
Very "pro"  ;D
Title: Re: Water Simulation w/ Track Drawing
Post by: LincolnB on September 20, 2011, 11:20:57 pm
This is a really nice version of this style of program.  I really like how the pixels go from gray to black to indicate that more water is there - that's a really nice touch I've never seen before.

lol I didn't even notice that. XD   The thing is, the more pixels there are, the less they move around, so the more solid, or black, they appear. So when the pixels are by themselves, they go crazy and appear to flicker, I guess thus seeming to be gray. but when there are big solid chunks they don't move hardly at all. :)
Title: Re: Water Simulation w/ Track Drawing
Post by: parserp on September 20, 2011, 11:22:10 pm
wow, pro without even noticing it...
Title: Re: Water Simulation w/ Track Drawing
Post by: Michael_Lee on September 20, 2011, 11:22:35 pm
This is a really nice version of this style of program.  I really like how the pixels go from gray to black to indicate that more water is there - that's a really nice touch I've never seen before.

lol I didn't even notice that. XD   The thing is, the more pixels there are, the less they move around, so the more solid, or black, they appear. So when the pixels are by themselves, they go crazy and appear to flicker, I guess thus seeming to be gray. but when there are big solid chunks they don't move hardly at all. :)

Emergent behavior, right there ;D
That's one of the things I love about stuff like cellular automata.

Nice job, looks very slick!
Title: Re: Water Simulation w/ Track Drawing
Post by: parserp on September 20, 2011, 11:57:59 pm
butts, is there an option to "add more water" while program is running?
Title: Re: Water Simulation w/ Track Drawing
Post by: sqrt(Time) on September 21, 2011, 12:13:45 am
I came here expecting a full Navier-Stokes simulation (wow!) - but this is nice! Relaxing.
Imagine a (softly colored) JavaScript implementation, that you had as the background of a website... that would be really nice... ^_^
Title: Re: Water Simulation w/ Track Drawing
Post by: Builderboy on September 21, 2011, 12:17:34 am
I think a full Navier-Stokes simulation might be a bit outside the realm of the calculator :P (Although I'm not sure, I haven't looked into it 100%)  Needless to say however, cellular automata provide an excellent and awesome substitute ^^
Title: Re: Water Simulation w/ Track Drawing
Post by: Freyaday on September 21, 2011, 12:21:18 am
 That is awesome./me needs to go find that tutorial. He could make a game!
Title: Re: Water Simulation w/ Track Drawing
Post by: LincolnB on September 21, 2011, 09:27:26 am
butts, is there an option to "add more water" while program is running?

no, not yet. besides, if you add much more water, it starts to slow down and lag really badly.
Title: Re: Water Simulation w/ Track Drawing
Post by: Yeong on September 21, 2011, 09:30:46 am
great job, buttsfredkin! XD
Title: Re: Water Simulation w/ Track Drawing
Post by: flyingfisch on September 21, 2011, 05:37:41 pm
Very cool!