IOCCC2012: ASCII fluid dynamics

This IOCCC entry by Yusuke Endo is an ASCII fluid simulator using smoothed-particle hydrodynamics. Once compiled, the program takes an ASCII art on standard input, and shows the animated simulation on a 80×25 terminal.

Here is a demonstration of the program:

Leave a Reply

Your email address will not be published. Required fields are marked *