Notifications
Clear all

[Closed] Maxscript 2D Fluid Sim

Saw this today, very cool. I wonder how it’s done…

http://vimeo.com/46343441

5 Replies

clearly with magic scripting elves

1 Reply
(@denist)
Joined: 11 months ago

Posts: 0

no… just with a little high school math.

Hmmm I must have slept in the day they covered… http://en.wikipedia.org/wiki/Navier–Stokes_equations

I followed this talk http://www.dgp.utoronto.ca/~stam/reality/Talks/FluidsTalk/FluidsTalkNotes.pdf
and implemented it in C#/XNA. The solver ended up being around 100 lines of code.

Would it be possible to have the saved files not be screenshots of the entire screen, but basically just the grid, with 1 square = 1 pixel?