News for hackers. Stuff that matters.
Re:ASCII interactive fluid animation by nkwiatek on Wednesday February 08, 2012 @01:14PM (#3567679)
Yes, absolutely, much deserved credit goes to Oliver Hunt at nerget.com for implementing the equations discussed in that amazing Alias|Wavefront paper (by Jos Stam) in javascript. His work was very helpful for me and he is very much worthy of your attention.
Re:ASCII interactive fluid animation by sehugg on Wednesday February 08, 2012 @03:33PM (#3568341)
Link to the paper:

http://www.dgp.toronto.edu/people/stam/reality/Research/pdf/...

I was surprised to see not just equations but actual C code -- a pretty readable paper.

Re:ASCII interactive fluid animation by wdewind on Wednesday February 08, 2012 @01:31PM (#3567773)
Can you elaborate on what Oliver Hunt did and what you added to it? Seems like he wrote the original and you converted to ASCII output?
Re:ASCII interactive fluid animation by nkwiatek on Wednesday February 08, 2012 @02:34PM (#3568065)
That's right. Oliver Hunt wrote a full simulator and released it under MIT, which was so perfect as I was just starting to look into fluid dynamics myself, for what ended up being this website. I used his physics calculator component almost verbatim, and wrote the display/ui stuff I needed around it as though I were using a library.

I've done more serious touching of it, for performance reasons -- taking mults and invariants out of loops, or memoizing for example -- but I always ended up either breaking it or making it slower, so for now I've settled with leaving it alone!

Re:ASCII interactive fluid animation by olliej on Wednesday February 08, 2012 @03:45PM (#3568395)
Hurrah! Good to see it being reused :D