HOME PROJECTS DEMOS TUTORIALS JOBASE
info@greyhope.uk

Wave Simulation

Edit the code to change the result above.

Even though this demo may seem overwhelming, the concept is quite simple. Although the waves look smooth, they are actually made of hundreds of sections. The RESOLUTION value controls the amount of sections.

Each wave section has its own speed and height that is affected by the sections either side of it.

To take this demo a step further, you could try to add proper splashes. This wave feature is very useful for simulating water without using particles.