Skip to main content
ooh bubbles Optical Field Guide
Back to Bubbles

The real physics of Ooh Bubbles

Ooh Bubbles isn’t an animation: every bubble is simulated frame by frame from real thin-film optics, soap-film fluid dynamics, and Rust/WebGPU engineering. Explore the live film specimen below, or jump straight into any chapter of the Field Guide.

On this page

64-band thin-film interference specimen

Cross-section (air → soap film → air)

Front bounce flips phase by λ/2; refracted ray adds 2 n d cos θt.

64-band reflectance R(λ) · 380–740 nm

380 nm
20°
Computed film colour 2nd-order vivid iridescence
Optical path (2 n d cos θt) 979 nm
Taylor–Culick rim speed 13.8 m/s

Computed live in your browser with the same 64-band Cauchy dispersion, Airy reflectance, and CIE 1931 colour-matching maths used on the GPU. Drag thickness down toward 25 nm to watch colour vanish into a Newton black film right before spontaneous rupture.

Five chapters of the Field Guide

Instead of one endless scroll, the science and engineering are split into five focused chapters. Read them in sequence or open the exact question you came for.

  1. 01 Thin-Film Optics & Soap Chemistry Why colourless soapy water shimmers across the spectrum, how gravity drainage, evaporation, and rising buoyant plumes age a bubble, and how SDS and glycerol shift refractive dispersion and lifetime. 64-band Airy interference · Lorentz–Lorenz glycerol · Marginal-regeneration plumes · SDS Read →
  2. 02 Mechanics, Wobble, Foam & Rupture Why bubbles ring in Lamb modes, meet at 120° Plateau walls, pinch off the Oval Wand, unzip in ~9 ms along a Taylor–Culick rim, shed acoustic ripples, break up at high Weber number, and draft in each other’s wakes. Lamb l=2–4 · 120° Plateau · Taylor–Culick & Weber breakup · Blow jet & bubble wakes Read →
  3. 03 Smoke, Fire & Frost Inside the three composable physical modes: buoyant 3D swirling smoke and Taylor–Culick vortex rings, methane fireballs with expansion blasts and shockwaves, and −30 °C frost with hoarfrost sinking and thin-shell ice buckling. 3D smoke swirl & vortex rings · CH4 shockwaves & 589 nm glow · −30 °C Pogorelov frost Read →
  4. 04 Engine & 60 fps Architecture How a browser tab simulates hundreds of bubbles at native resolution: Rust/WASM Relaxed-SIMD thread pool, native WebGPU + WGSL, birth-shader pinning, the native-pixels-always governor, and Safari compile fencing. Rust/WASM · WebGPU + WebGL2 fallback · 6 HDRI worlds · Governor & budgets Read →
  5. 05 Honest Limits, Comparisons & Sources Where Ooh Bubbles deliberately simplifies, how it compares with other browser and offline research simulators, and the complete bibliography of 44 peer-reviewed papers and datasets. Error bounds · Unmodelled effects · 44 primary citations with DOIs Read →

Quick answers to what you just saw

Clicked a curiosity whisper or physics card while playing? Here is the one-paragraph answer for each mechanism, with a direct jump to the full equations and diagrams.

Why bubbles shimmer with colour

64 spectral bands · 380–740 nm

Soap itself is colourless. Light reflects off both the outer and inner surfaces of the sub-micron water film; the second wave travels slightly further, reinforcing some colours and cancelling others depending on local thickness and viewing angle. Ooh Bubbles integrates 64 wavelength bands with Lorentz–Lorenz aqueous-glycerol dispersion, CIE 1931 colour matching, and buoyant marginal-regeneration plumes rising from the lower meniscus.

Explore Thin-Film Optics & Chemistry →

Wobble & 120° Plateau walls

l = 2, 3, 4 Lamb modes · 120° junctions

Surface tension pulls each film tight like a drumhead. Disturbed bubbles ring in egg, pear, and four-lobed Lamb modes — roughly 2 Hz for a 12 cm radius bubble and 75 Hz at 1 cm — damped by air friction and excited by nearby acoustic pop and fireball pressure pulses. When gentle bumps stick into double bubbles or small clusters, their shared walls meet at exact 120° Plateau angles.

Explore Mechanics, Wobble & Foam →

Why a bubble unzips in ~9 ms

vTC = √(2σ / ρw h) · 25 nm burst

Once a hole opens (from a tap, spontaneous ~25 nm top-cap thinning, or high-Weber-number airflow breakup), surface tension pulls the liquid into a thickening rim that races around the sphere at the Taylor–Culick speed — often 10–15 m/s, clearing a 3 cm bubble in under 10 ms while emitting a speed-of-sound Laplace/Bussonnière acoustic wave and fine droplets that nearby liquid bubbles harmlessly absorb.

Explore Rupture & Droplet Spray →

Wind, breath, wakes & buoyancy

Room air · Morrison drag · Bubble wakes

Default bubbles are filled with room air lifted gently by indoor updrafts and waving thermal plumes (Lab settings switch freely to warm breath, ~2.8% neutral-buoyancy helium, or methane, with full ambient T/P coupling down to −30 °C). They ride divergence-free eddies averaged across each bubble’s surface, draft in neighbours’ dipole and Gaussian wakes, curve under spin lift, and respond to a calibrated 2.8 m/s Blow jet or microphone breath.

Explore Airflow, Drag & Buoyancy →

Which devices work best

Every bubble is simulated live, so the scene asks a lot of the graphics chip. It is best on an iPhone 16 Pro or newer, or a recent Mac or PC, in current Safari, Chrome or Edge. Those hold a smooth 60 frames a second (and up to 120 Hz on supported displays) with the full optical look.

On older or busier devices, such as an iPhone 15, the studio keeps motion smooth by stepping down to a lighter version: fewer bubbles and simpler thin-film shading. If it is still struggling after that, it settles into a calm scene with fewer bubbles. You will see a short note once when this happens. It never lowers the screen resolution, so every bubble edge stays sharp.

Your first visit downloads the Rust/WebAssembly physics engine (one capability-matched variant, never duplicates), which can take a few seconds on a phone; later visits start much faster from cache. The studio uses native WebGPU in current Chrome, Edge, and Safari, and includes a lightweight WebGL2 fallback for browsers without WebGPU.

Sources & scientific honesty

Every physical model in this guide is paired with its exact peer-reviewed citations and an explicit note on where we simplify. We never hide approximations behind marketing language — full 2D Navier–Stokes surfactant flow, Monte Carlo multi-scattering, real-time fireball shadow maps, and random dust-triggered bursts are documented openly alongside the models that are running.

Browse all 44 peer-reviewed sources & honest simplifications →