wave

A wave step: the grid ripples outward from any disturbance and fades by damping (a prop or number, 0–20).

wave(config: {damping: PropRef | number}): WaveOp

Import op from shaders/std and use op.wave.

Declare history: 2 on the grid.

Parameters

NameTypeNotes
config{damping: PropRef | number}

Example

op.wave({damping: p('decay')})

See also

  • splat — A brush step: a soft round push into .x at the pointer, scaled by how fast it moves.