18,043 views 21 comments

Super Cool Multitouch Actionscript Fluid Solver

Eugene has just ported Memo’s fluid solver work to AS3 http://blog.inspirit.ru/?p=248. With the source now out, I was able to quickly add multitouch support and it works great! Thanks to cyandesign and simpleex for keeping me on my toes.

Click the above image to play

A couple notes, the touchlib AS3 classes had to be corrected since they currently don’t send dX and dY values which the fluid solver needs to calculate directional velocity. Other than that, things went fairly smoothly and took little time to make touch sensitive.

Download:

[download id=”3910″]
Both source code and application are included. The swf is inside the bin folder.

If you try this out, leave a comment here and let me know how things go. Video responses are welcome also!

Did you enjoy this post?

Comment Below , Follow Me on Twitter , Follow Me on Facebook , or Network with Me on Linkedin

-->