GridSim
A declared grid simulation.
class GridSim
Import GridSim from shaders/std.
Read its outputs with output('name') and pass them to an effect.
Example
effect: displaceBy(waves.output('displacement'), {strength: p('intensity'), chromatic: p('chromaticSplit'), edges: p('edges')})
Tip. Asking for an output that was not declared in
derivethrows with the list of names that were.
See also
simulate— Declare a simulation the engine runs for you.SimOutputRef