@luma.gl/graph/gpu-simulation
gpuStepVolumetricFire and gpuStepSpectralOcean contribute one simulation step to an
enclosing WebGPU command graph. Pass the contribution's texture or vertex views to a
render pass and compile the graph once. The existing Tempest Ocean example
uses the ocean contribution for its rendered surface.
The fire simulation reference shows how to supply step options, draw the updated volume, and submit or discard both in one frame.
For particle advection and trajectory history, see the scientific flow tracer.
See the package reference for related APIs.