Here's a neat fluid simulation program that runs entirely in ASCII (via Ryan Grannell):
If you want to try it out yourself you can download the souce code for the program here. Just feed it a text file with an ASCII art drawing of the scenario you want to simulate (more details here). What you may have missed is that in the very first simulation of the video, the simulation scenario is the source code of the program itself:
endoh1 < endoh1.c
Not only does the entire source code fit into one 80x25 screen, it's written to appear as the word FLUID in a bowl ... which you see sloshing around when that very program is run. Wow.
Anyway, that's all for this week. See you on Monday!
Comments