Soap Bubble Pop (3D)

Garden scene with a wand and a jar of soap: thin-film shader, flight with drag, and a hole that races over the film in slow motion.

Switch to 2D

Presets

Playback

Bubbles

Camera

Layers

Quality

Model check

The science

What is modelled

Bubbles drift through the air, drain and thin, show interference colours, and pop. Each bubble is a spherical soap film with two surfaces. Its film thins with time, it falls or rises according to the gas inside, and when the film is torn (by a touch, or when it gets thinner than about 30 nm) a hole opens and races around the sphere at the Taylor-Culick speed.

Equations

  • Pressure: a bubble with two surfaces has an excess pressure ΔP = 4 σ / R (σ = 25 mN/m for soapy water): 5 Pa for a 2 cm bubble.
  • Colours: light reflected from the front and back of the film interferes. For a free film with the half-wave phase jump at the first surface, R(λ) = 2 r² (1 - cos(4 π n h cosθ / λ)) with r = (1 - n)/(1 + n), n = 1.33. The first green maximum is at h = λ/4n = 103 nm. Thinner than about 20 nm the film reflects almost nothing (the black film just before rupture). The colours here sum seven wavelengths into RGB, a coarse approximation of true colour matching.
  • Thinning: h(t) = h0 / (1 + t/τ). The film is thicker at the bottom, so the colour bands run horizontally. This is an empirical form, because real drainage depends on the surfactant, humidity and evaporation.
  • Flight: net weight = film mass + gas inside - displaced air, against drag ½ ρa Cd(Re) π R² v² with the sphere drag law. A 2 cm air bubble falls at about 0.28 m/s; warm breath slows it; helium makes it rise.
  • Rupture: the rim that collects the film moves at v = √(2 σ / ρ h) (Taylor 1959, Culick 1960): 10 m/s for a 500 nm film. The hole angle grows as v t / R; the pop lasts π R / v, a few milliseconds, so the page slows time automatically.

Checks run in this page

  • The excess pressure from differentiating the film energy, dE/dV, equals 4σ/R.
  • The rim momentum balance d(Mv)/dt = 2σ, integrated, settles on the Taylor-Culick speed and puts half of the released surface energy into kinetic energy.
  • The reflectance maximum at 550 nm sits at λ/4n; a 10 nm film is almost black.
  • A time-stepped 2 cm bubble reaches the terminal speed given by the force balance; helium rises.

Honest simplifications

  • The bubble stays a sphere (no oscillations or wobble), the film thickness varies by a fixed pattern from top to bottom, and there is no marginal regeneration, Marangoni flow or evaporation model beyond the single time constant.
  • The rim breaks into a spray of 30 drawn droplets; real pops produce a huge number of micro-droplets of tens of micrometres. The popping sound is a decorative noise burst whose pitch falls with bubble size, not a computed acoustic field.
  • Wind is a smooth gust field, not a flow solution.
Loading model...
Loading Blender model...
Film colour against thickness
Retraction speed against film thickness
Vertical speed against radius, by gas
Made with 🟠 Blender · Three.js