superposition, computed the honest way
the whole of wave optics, one tap at a time
Waves just add
Two waves crossing don't collide, negotiate, or bounce — the medium simply sums them and each continues as if the other didn't exist. Everything else on this page falls out of that.
Lines of dead calm
Where one wave's crest always meets the other's trough, the water never moves. Stillness as evidence.
The famous experiment
Press the preset: two sources a few wavelengths apart, and the fan of bright and dark bands appears — the same geometry that told us light is a wave.
Color is a lookup
The field value indexes a 256-entry table built once — ink to terra to ochre to bone. No per-pixel color math survives inside the hot loop.
Loud near, soft far
Real ripples spread their energy over a growing circle; here amplitude fades with distance so patterns stay legible.
Reduced motion, kept meaning
If your OS asks for less motion, the phase freezes at one instant — you still get the full interference pattern as a still photograph, and every tap re-exposes it.
tap to drop sources · drag one to slide it live · frequency slider retunes the whole tank, hero included