three-fluid-fx tutorials
Build the effect, not the fluid solver.
These guides explain what the library gives you, which effect family to use, and how to tune the important parameters for a finished visual result.
A compact integration path for the solver, pointer splats, outputs, resize handling, and the parameters you actually tune.
Visual effects Effects GuideA practical catalog of overlays and distortions: what each family reads, when to use it, and which parameters make it look good.
Particles Particles GuideHow to use the fluid field with procedural particles and GPGPU particles, why camera data is passed, and how to tune the motion without ambiguity.
Pipeline choice GLSL vs TSLThe same fluid concepts in two render pipelines: WebGL EffectComposer passes and WebGPU RenderPipeline nodes.
Demo walkthroughs
Personal tutorials for every demo.
Each walkthrough is tied to a runnable example and explains the render path, the fluid output it consumes, and the controls that actually change the result.
Minimal TSL Examples
The same minimal surface on the WGSL compute-backed solver.
TSL · Minimal · Overlay OverlayScene pass plus fluid tint through a TSL output node.
TSL · Minimal · Distortion DistortionRenderPipeline output node refracts the scene pass.
TSL · Minimal · GPGPU Particles 2D GPGPU Particles 2DWGSL compute swarm with a TSL 3D liquid droplet renderer.
TSL · Minimal · GPGPU Particles 3D GPGPU Particles 3DFibonacci cloud driven by the WGSL fluid velocity texture.
TSL · Minimal · Simple Particles Simple ParticlesProcedural trefoil rendered as instanced billboards.
Minimal WebGL Examples
~40 lines. No GUI, no scene: just the solver, resize, splats and density output.
Minimal · Overlay OverlayDensity composited as a colored trail.
Minimal · Distortion DistortionVelocity field refracts an existing render.
Minimal · GPGPU Particles 2D GPGPU Particles 2DGPGPU liquid droplets driven by velocity-field advection.
Minimal · GPGPU Particles 3D GPGPU Particles 3DFibonacci-sphere cloud reacting to fluid flow.
Minimal · Simple Particles Simple ParticlesVertex-shader formula; flow nudges positions at render time.
Full TSL Examples
15 overlay styles through RenderPipeline and TSL nodes.
Example 02 · TSL + WGSL DistortionAll distortion styles on the WGSL solver with the same tuning surface.
TSL · Example 03 GPGPU Particles 2DFull particle physics controls and background switcher on WebGPU.
TSL · Example 04 GPGPU Particles 3D3D lift, side variation, physics tuning and backgrounds.
TSL · Full · Simple Particles Simple ParticlesShape, displacement, backgrounds and fluid tuning on the WebGPU path.
TSL · Full · Combined Combined DemoOne WebGPU scene for testing overlay, distortion and particle composition together.
TSL · Full · Mega Mega DemoHero-style morphing particle sculpture with art ink overlay, fluid distortion, and full tuning controls.
Full WebGL Examples
15 overlay styles, preset switching, background switcher and full solver controls.
Example 02 DistortionSimple, RGB shift, chromatic, water and caustic distortion with live controls.
Example 03 GPGPU Particles 2DSpring physics, damping, drag, flow response and render controls.
Example 04 GPGPU Particles 3DDepth lift, side variation, rotation and full physics tuning.
Full · Simple Particles Simple ParticlesShape, displacement, motion and fluid response exposed for tuning.