A long time item on my todo list is to make a good water simulation. Never tried it because it seemed to difficult in my mind. Today i made a first start on getting it done. In this first test i make use of graphics.lineTo to draw lines and bitmapdata.draw() to draw them into a bitmapdata. I do a little blur along the way and i pixelDissolve the bitmapdata. This is then used as a displacementMapFilter for the image.
Here’s the result with only the displacementMap showing.
And here’s the result with the image and the displacementMap set:.
Move your mouse over de image.
[Lab] Water study #01 by Script.it, unless otherwise expressly stated, is licensed under a Creative Commons Attribution-Noncommercial-No Derivative Works 3.0 Netherlands License.