Examples /

Wave interference

An interactive field composed from three wave sources.

Initializing WebGPUwgpu-kit 2.2.0

Move across the canvas to steer the third wave source.

How it works

An elementKernel evaluates three distance functions for each pixel. Their phase-shifted waves combine into constructive and destructive interference. A native WebGPU fragment shader reads the resulting color buffer.

Read the related guide →

Search concepts, APIs, and examples