wave = new Wave( scaling, direction, speed, height, lambda )
- scaling : THREE.Vector3. This defines the size of the field to emulate the wave in.
- direction : THREE.Vector3. Sets the direction of propgation of the wave.
- speed : float. Propagation speed.
- height : float. Height of the wave.
- lambda : float. Wavelenght relative to the scaling.
.scaling : THREE.Vector3
defines the size of the field..direction : THREE.Vector3
. Propgation direction of the wave.
.getParticle( particle )
.update()
sea = new MultipleWaves( scaling )
- scaling : THREE.Vector3. This defines the size of the field to emulate the wave in.
.scaling : THREE.Vector3
defines the size of the field.
.example()
.addWave( direction, height, speed, lambda )
.getParticle( particle )
.update()
- Trochoidal wave on Wikipedia.org