# Fluids: I need some serious inspiration

**URL:** <https://forum.kirupa.com/t/fluids-i-need-some-serious-inspiration/283512>\
**Category:** flash\
**Created:** [March 7, 2009, 3:46am UTC](https://forum.kirupa.com/t/fluids-i-need-some-serious-inspiration/283512 "2009-03-07T03:46:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tychoruniko](https://avatars.discourse-cdn.com/v4/letter/t/a88e57/32.png) [@Tychoruniko](https://forum.kirupa.com/u/Tychoruniko)\
**Post date:** [March 7, 2009, 3:46am UTC](https://forum.kirupa.com/t/fluids-i-need-some-serious-inspiration/283512/1 "2009-03-07T03:46:50Z")

</div>

I am in the midst of designing a little web toy for people to play with, mostly as a proof-of-concept for a bigger game. But there is one thing missing that I am having serious trouble finding any tutorials, inspiration or examples for: Fluids in a grid-based, 3d world.

I’ve been trying to work out an algorithm that will allow a tile to be filled up with water at 1/12th per unit of water, then solve the system so that the water flows to where it would be at rest in nature. As an example, here is a mockup I put together: [Mockup.png](http://bayimg.com/MANbgAABp)

In this example, you can see how the fluid is poised to fall into a lower energy state, and I need help figuring out the algorithm to take care of it.

Any ideas?

Thanks!
