Script.it .Nam Myoho Renghe Kyo.

Script.it
[Lab] Water study #01

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.

[SWF]http://blog.rackdoll.nl/wp-content/uploads/2009/10/waterstudy_01.swf, 600,400[/SWF]

Comments are closed.

Categories
Archives
Live Supporters