News for hackers. Stuff that matters.
Re:Fluid Simulation (with WebGL demo) by gfaure on Sunday August 28, 2016 @05:14PM (#12378574)
This kind of writeup of a complex topic really shows the work the author put into understanding the material. Great work!

With the demo at the very top, given that the initial configuration is always the same, shouldn't 'mixing' the colours vigorously always yield the same uniform colour as a steady state? Probably missing something here but shouldn't this be the case?

Re:Fluid Simulation (with WebGL demo) by phleet on Tuesday September 06, 2016 @01:49PM (#12437822)
(Author here) I cheated: to prevent that steady state (since it's ugly), I have 3 dye injectors strategically placed, causing certain areas to get redder, greener, and bluer over time.

Without that, yes, it turns into a muddy grey.