Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.
-Scott Adams

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.

-->