DesignWebKit

Water Effect – a Fast Solution

Today we will learn to create one more PV3D great effect – Water Effect. Simulate water  is not so easy, when it comes to processor power, but this attempt refers to 800×600.

Below is the result we are going to have:

The author of the tutorial, Andreas Jirenius, is using DisplacementFilter in the code. To increase speed he focused on the bitmapdata that defines the filter. He decided to create a wave-class that can be used for drawing the bitmapdata. He called this class WaveAnim.as.

HERE you can view the full version of the tutorial and get the code.