Skip to main content

vArrayRippleDisplacer

Displaces points with a moving wave and writes five copies with different time offsets.

IntermediateMograph / ArrayArrayScriptValJSON
vArrayRippleDisplacer node

vArrayRippleDisplacer takes an array of XYZ points and outputs five displaced copies of it on five outputs. Each copy uses the same wave with its own amplitude, frequency and time offset.

Parameters​

ParameterTypeDefaultDescription
InputText—Points to displace.
TimeFloat0.0Time used when Auto Animate is off. Ignored while Auto Animate is on. Slider 0 to 10, default 0.
Animation SpeedFloat1.0Multiplies the render time when Auto Animate is on. Slider 0.1 to 5, default 1.
Auto AnimateInteger1.0Uses the render time times Animation Speed times 0.1 as time when on (default).
Displacement ModeDropdownRadial (from center)Radial (from center) (default), Z-Axis Only or XYZ Uniform.
+5 more parameters
ParameterTypeDefaultDescription
AmplitudeFloat2.0Size of the displacement, multiplied into each output. Slider 0 to 10, default 2.
FrequencyFloat1.0Frequency of the wave, multiplied into each output. Slider 0.1 to 5, default 1.
Wave TypeDropdownSineSine (default), Cosine, Triangle or Square.
Offset MultiplierFloat0.3Multiplies the time offsets of the outputs, not the displacement. Slider 0 to 2, default 0.3.
Debug ModeInteger0.0Prints information to the console when on. Default off.
Read the full description

Each point is moved by wave(time + 0.1 * index, Frequency) * Amplitude. Wave Type is Sine, Cosine, Triangle or Square. Displacement Mode moves the point away from the origin (Radial), along Z only, or by the amount on Z and a tenth of it on X and Y (XYZ Uniform). A point at the origin moves to (d, d, d) in Radial mode.

Output n uses the amplitude, frequency and time offset of its Array n controls. Their defaults step up per output (amplitude 1 + 0.2 * (n - 1), frequency 1 + 0.1 * (n - 1), time offset 0.3 * (n - 1)), so the outputs ripple at different times. Time Offset times Offset Multiplier (default 0.3) shifts each copy in time. With Auto Animate on (default) the time is the render time times Animation Speed times 0.1. A disabled array gives an empty output.

Example Connections​

vArrayPointsOnGrid.Output -> vArrayRippleDisplacer.ArrayA
vArrayRippleDisplacer.Arrays_1 -> vArrayCameraProjection.ArrayA
vArrayCameraProjection.Output -> vArrayShapeRender.ArrayPoint
Background.Output -> vArrayShapeRender.Input