Author Topic: Water Simulation w/ Track Drawing  (Read 5056 times)

0 Members and 1 Guest are viewing this topic.

Offline LincolnB

  • Check It Out Now
  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1115
  • Rating: +125/-4
  • By Hackers For Hackers
    • View Profile
Water Simulation w/ Track Drawing
« 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!!



Note: Source and Executable are attached.
Completed Projects:
   >> Spacky Emprise   >> Spacky 2 - Beta   >> Fantastic Sam
   >> An Exercise In Futility   >> GeoCore

My Current Projects:

Projects in Development:
In Medias Res - Contest Entry

Talk to me if you need help with Axe coding.


Spoiler For Bragging Rights:
Not much yet, hopefully this section will grow soon with time (and more contests)



Offline ztrumpet

  • The Rarely Active One
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5712
  • Rating: +364/-4
  • If you see this, send me a PM. Just for fun.
    • View Profile
Re: Water Simulation w/ Track Drawing
« Reply #1 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.

Offline parserp

  • Hero Extraordinaire
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1455
  • Rating: +88/-7
  • The King Has Returned
    • View Profile
Re: Water Simulation w/ Track Drawing
« Reply #2 on: September 20, 2011, 11:18:19 pm »
Very "pro"  ;D

Offline LincolnB

  • Check It Out Now
  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1115
  • Rating: +125/-4
  • By Hackers For Hackers
    • View Profile
Re: Water Simulation w/ Track Drawing
« Reply #3 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. :)
Completed Projects:
   >> Spacky Emprise   >> Spacky 2 - Beta   >> Fantastic Sam
   >> An Exercise In Futility   >> GeoCore

My Current Projects:

Projects in Development:
In Medias Res - Contest Entry

Talk to me if you need help with Axe coding.


Spoiler For Bragging Rights:
Not much yet, hopefully this section will grow soon with time (and more contests)



Offline parserp

  • Hero Extraordinaire
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1455
  • Rating: +88/-7
  • The King Has Returned
    • View Profile
Re: Water Simulation w/ Track Drawing
« Reply #4 on: September 20, 2011, 11:22:10 pm »
wow, pro without even noticing it...

Offline Michael_Lee

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1019
  • Rating: +124/-9
    • View Profile
Re: Water Simulation w/ Track Drawing
« Reply #5 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!
My website: Currently boring.

Projects:
Axe Interpreter
   > Core: Done
   > Memory: Need write code to add constants.
   > Graphics: Rewritten.  Needs to integrate sprites with constants.
   > IO: GetKey done.  Need to add mostly homescreen IO stuff.
Croquette:
   > Stomping bugs
   > Internet version: On hold until I can make my website less boring/broken.

Offline parserp

  • Hero Extraordinaire
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1455
  • Rating: +88/-7
  • The King Has Returned
    • View Profile
Re: Water Simulation w/ Track Drawing
« Reply #6 on: September 20, 2011, 11:57:59 pm »
butts, is there an option to "add more water" while program is running?

Offline sqrt(Time)

  • LV2 Member (Next: 40)
  • **
  • Posts: 37
  • Rating: +4/-0
    • View Profile
Re: Water Simulation w/ Track Drawing
« Reply #7 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... ^_^

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: Water Simulation w/ Track Drawing
« Reply #8 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 ^^

Offline Freyaday

  • The One And Only Serial Time Killing Catboy-Capoeirista-Ballerino
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1970
  • Rating: +128/-15
  • I put on my robe and pixel hat...
    • View Profile
Re: Water Simulation w/ Track Drawing
« Reply #9 on: September 21, 2011, 12:21:18 am »
 That is awesome.
* Freyaday needs to go find that tutorial. He could make a game!
In other news, Frey continues kicking unprecedented levels of ass.
Proud member of LF#N--Lolis For #9678B6 Names


I'm a performer at heart; I stole it last week.
My Artwork!

Offline LincolnB

  • Check It Out Now
  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1115
  • Rating: +125/-4
  • By Hackers For Hackers
    • View Profile
Re: Water Simulation w/ Track Drawing
« Reply #10 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.
Completed Projects:
   >> Spacky Emprise   >> Spacky 2 - Beta   >> Fantastic Sam
   >> An Exercise In Futility   >> GeoCore

My Current Projects:

Projects in Development:
In Medias Res - Contest Entry

Talk to me if you need help with Axe coding.


Spoiler For Bragging Rights:
Not much yet, hopefully this section will grow soon with time (and more contests)



Offline Yeong

  • Not a bridge
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3739
  • Rating: +278/-12
  • Survivor of Apocalypse
    • View Profile
Re: Water Simulation w/ Track Drawing
« Reply #11 on: September 21, 2011, 09:30:46 am »
great job, buttsfredkin! XD
Sig wipe!

Offline flyingfisch

  • I'm 1337 now!
  • Members
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1620
  • Rating: +94/-17
  • Testing, testing, 1...2...3...4...5...6...7...8..9
    • View Profile
    • Top Page Website Design
Re: Water Simulation w/ Track Drawing
« Reply #12 on: September 21, 2011, 05:37:41 pm »
Very cool!



Quote from: my dad
"welcome to the world of computers, where everything seems to be based on random number generators"



The Game V. 2.0