Experiment #1 Sine Waves

This wave pattern is accomplished by calculating a sine wave from the centre of the PlaneGeometry through to the other vertices. For each vertex, calculate the distance from the centre point. Using that distance apply the sin to get the vertical positions of the vertex. Then use time (ts) to create the wave animation. Additionally, there are two variables size and magnitude that allow us to manipulate the vertical deviation and wave length.

See it live: http://www.danieldelcore.com/lab/1
Source: https://github.com/delcore92/Experiment-1-Sine-Waves

More by Daniel Del Core

View profile