It was just a question of time for me to try rewriting FluidSolver Class to Alchemy one. It wasn’t very hard and I was waiting for really speed boosted version. As the result it is faster but not as much as I wanted
I’ve tried to include Particle engine inside Alchemy code but it turns out that rendering particles is not really easy task and costs a lot. I’ve also used Joa’s TDSI again but it is not really needed as far as we don’t have to write/read Alchemy memory a lot (you can un-comment this part in FluidSolverHD class). Anyway the main idea of the class is drawing colors of Fluids and in this part it works great. I’ve included old test application but with some rewritten methods. Without using particles (25.000) it runs 50-60 FPS using grid size 100×56 for solver iterations. It could be easily changed up to 150 in width and still have 40 FPS! (All this results are in non-debug Flash Player version)
You can launch preview application by clicking image above or this link. (please note: you will need Flash 10 to view it)
Sources could be found in my google repo.
Have fun!
![FluidSolverHD [Alchemy version]](/wp-content/uploads/fluidsolver/fshd.png)


Beautiful, nice work!
Thank you for really fod fluid solution..nice work..
Very impressive example
Nice Script
Would it be possible to make this work with multiple point inputs, and make the inputs not from the mouse but from a different source that just passes on the XY coordinates of the different points?
I want to add a method to change the background color… but as a newbie in c I’m stuck… any idea?
brilliant !!