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

Honest limits, comparisons & sources

Real-time physics always trades full continuum PDEs for bounded reduced models that hold 60 Hz on a phone. We try hard not to overclaim: here is how Ooh Bubbles compares with peer work, where it simplifies, and every paper it rests on.

On this page

How this compares

To our knowledge, Ooh Bubbles is one of the most physically comprehensive real-time soap-bubble simulations available in a browser. It combines 64-band Lorentz–Lorenz spectral thin-film rendering with reduced physical models of drainage, evaporation, buoyant plumes, gas exchange, Lamb deformation, Plateau clusters, bursting, acoustic shockwaves, bubble-to-bubble wakes, volumetric swirling smoke, methane combustion, and −30 °C ice-shell buckling, all running interactively.

It isn’t alone. Other lovely browser pieces include Oimo Bubbles and A Great Variety of Colours (which simulates film flow, drainage, and Taylor–Culick holes), and researchers have demonstrated real-time thin-film interference driven by shallow-water flow [21]. Offline research simulations — taking seconds to minutes per frame — go much further on individual phenomena: coupled surfactant/thickness flow on spheres [22], swirling vortical soap films [23], and large polyhedral foams and break-up [24].

Simulator class Frame budget Strongest domain
Ooh Bubbles (this studio) ~8–16 ms live in browser Coupled multi-bubble optics, Lamb wobble, 3–4-cell Plateau clusters, Taylor–Culick spray, acoustic shockwaves, bubble wakes, swirling smoke, fire & −30 °C frost at native resolution.
Real-time browser peers 16 ms live in browser Focused shallow-water film swirls or artistic single-bubble showcases (Oimo, Great Variety of Colours, Gu et al. [21]).
Offline graphics research Seconds to minutes / frame Full chemomechanical Marangoni flow [22], vortex-on-mesh films [23], and arbitrary large foam break-up [24].

What it simplifies — and what it doesn’t do

Every model in Ooh Bubbles is explicit about its boundaries. In particular, full coupled 2D Navier–Stokes surfactant transport is switched off during normal film drainage (rising marginal-regeneration plumes are represented by a tuned buoyant thin-patch closure rather than a solved 2D instability), detailed pinch-off of a bubble leaving a physical wand loop is approximated by the Rayleigh–Plateau cylinder criterion rather than a full free-surface mesh, and room airflow uses analytic wakes rather than a full two-way Navier–Stokes room solver.

Model area Simplification & stated boundary
Surface film flow Tuned advection and buoyant thin-patch plume closures drive visual colour swirls (mean thickness stays exact, scaled by glycerol viscosity and frozen rigidity); no solved 2D surface Navier–Stokes or surfactant-coupled marginal-regeneration instability.
Shape wobble Linear Lamb spherical harmonics truncated at l ≤ 4 (no l > 4 modes), with smooth tanh saturation at 28% liquid radial deviation and rigid static Pogorelov frozen craters capped near 30% depth.
Foams & clusters Exact 120° Plateau geometry for pairs, trees, and complete 3–4-bubble clusters (up to 4 shared walls per bubble); crowds do not form > 4-link polyhedral foam rafts, and axisymmetric hydrostatic junction necks are disabled.
Bursting & spray No random dust-triggered early bursts; 16×16 surface spray patches; captured droplets always stick inelastically without mid-flight evaporation; spray releases up to ~10 ms after rim sweep. Aerodynamic Weber breakup and speed-of-sound Laplace/Bussonnière acoustic ripples are active.
Airflow & smoke Prescribed divergence-free ambient turbulence plus short-range analytic bubble-to-bubble potential dipoles (3 R) and axisymmetric Gaussian wakes with curl (6 R, active when wake lift is on), rather than full two-way Navier–Stokes room airflow; finite-grid 3D smoke with internal j2 convection, Taylor–Culick burst vortex rings, and CFL-bounded vorticity confinement uses multi-sector volumetric lighting rather than path-traced Monte Carlo multiple scattering. Interactive Smoke defaults to conserved inert aerosol mass so it composes with −30 °C Frost (273.15–313.15 K NIST PG/water chemistry is opt-in and fails closed outside 0–40 °C).
Methane fireballs Single-step conserved heat-release pulse, Morton–Taylor–Turner flame plumes, radial expansion blast wave, and Strahle monopole acoustic shockwave rather than multi-step CH4 chemical kinetics or soot radiation transport; 589 nm SDS sodium glow scales with vaporised shell mass and omits real-time shadow maps onto distant scene surfaces.
Sub-zero frost Empirical supercooling nucleation (plus shock-triggered nucleation), Bergeron–Findeisen hoarfrost mass gain, Zoelly–Timoshenko/Pogorelov thin-shell buckling (l ≤ 4), and impulsive acoustic dynamic fracture/fatigue, with effective crystallized fraction (fice), procedural GPU crystal relief, and bounded shatter shards rather than microscopic seed tracking, per-crystal rigid meshes, or finite-element (FEM) ice-crack meshes.
Optics constants Dilute SDS uses pure water’s refractive index while glycerol recipes shift n(λ) via Lorentz–Lorenz binary mixing against an idealised broadband white reference table; mobile permanent fast-optics and emergency lite tiers intentionally omit crossed-film attenuation (and lite drops bloom) when needed for 60 Hz.

Peer-reviewed sources

  1. Wyman, C., Sloan, P.-P., Shirley, P. (2013). Simple analytic approximations to the CIE XYZ color matching functions. Journal of Computer Graphics Techniques 2(2). jcgt.org/published/0002/02/01
  2. Lhuissier, H., Villermaux, E. (2012). Bursting bubble aerosols. Journal of Fluid Mechanics 696, 5–44. doi:10.1017/jfm.2011.418
  3. Miguet, J., et al. (2020). Stability of big surface bubbles: impact of evaporation and bubble size. Soft Matter. doi:10.1039/C9SM01490J
  4. Lamb, H. (1932). Hydrodynamics, 6th ed., §275. Cambridge University Press. archive.org
  5. Miller, C. A., Scriven, L. E. (1968). The oscillations of a fluid droplet immersed in another fluid. Journal of Fluid Mechanics 32. doi:10.1017/S0022112068000832
  6. Kornek, U., et al. (2010). Oscillations of soap bubbles. New Journal of Physics 12, 073031. doi:10.1088/1367-2630/12/7/073031
  7. Weißenborn, E., Braunschweig, B. (2019). Specific ion effects of dodecyl sulfate surfactants with alkali ions at the air–water interface. Molecules 24, 2911. doi:10.3390/molecules24162911
  8. Poulain, S., Villermaux, E., Bourouiba, L. (2018). Ageing and burst of surface bubbles. Journal of Fluid Mechanics 851, 636–671. doi:10.1017/jfm.2018.471
  9. Vrij, A. (1966). Possible mechanism for the spontaneous rupture of thin, free liquid films. Discussions of the Faraday Society 42. doi:10.1039/df9664200023
  10. Taylor, G. I. (1959). The dynamics of thin sheets of fluid. III. Disintegration of fluid sheets. Proceedings of the Royal Society A 253. doi:10.1098/rspa.1959.0196
  11. Culick, F. E. C. (1960). Comments on a ruptured soap film. Journal of Applied Physics 31. doi:10.1063/1.1735765
  12. Lhuissier, H., Villermaux, E. (2009). Soap films burst like flapping flags. Physical Review Letters 103, 054501. doi:10.1103/PhysRevLett.103.054501
  13. Volk, A., Kähler, C. J. (2018). Density model for aqueous glycerol solutions. Experiments in Fluids. doi:10.1007/s00348-018-2527-y
  14. Cheng, N.-S. (2008). Formula for the viscosity of a glycerol–water mixture. Industrial & Engineering Chemistry Research. doi:10.1021/ie071349z
  15. Kushner, L. M., et al. (1952). A viscometric study of the micelles of sodium dodecyl sulfate in dilute solutions. Journal of Research of the National Bureau of Standards 49. doi:10.6028/jres.049.011
  16. Morrison, F. A. (2013). An Introduction to Fluid Mechanics. Cambridge University Press. doi:10.1017/CBO9781139047463. Drag correlation: Morrison, F. A. (2016), “Data correlation for drag coefficient for sphere”, Eq. (1), pages.mtu.edu/~fmorriso
  17. Rubinow, S. I., Keller, J. B. (1961). The transverse force on a spinning sphere moving in a viscous fluid. Journal of Fluid Mechanics 11. doi:10.1017/S0022112061000640
  18. Zhou, Zhang, Xu (2022). Experiments on the drag and lift coefficients of a spinning sphere. Water 14, 2593. doi:10.3390/w14172593
  19. de Ruiter, J., et al. (2014). Wettability-independent bouncing on flat surfaces mediated by thin air films. Nature Physics. doi:10.1038/nphys3145
  20. Sander, R. (2023). Compilation of Henry’s law constants (version 5.0.0) for water as solvent. Atmospheric Chemistry and Physics 23. doi:10.5194/acp-23-10901-2023
  21. Gu, Dai, Chen, et al. (2024). Real-time simulation of thin-film interference with surface thickness variation using the shallow water equations. Computer Animation and Virtual Worlds 35(4), e2289. doi:10.1002/cav.2289
  22. Huang, W., et al. (2020). Chemomechanical simulation of soap film flow on spherical bubbles. ACM Transactions on Graphics 39(4). doi:10.1145/3386569.3392094
  23. Tao, Ruan, Deng, et al. (2024). A vortex particle-on-mesh method for soap film simulation. ACM Transactions on Graphics 43(4), 53. doi:10.1145/3658165
  24. Deng, Y., et al. (2022). A moving Eulerian-Lagrangian particle method for thin film and foam simulation. ACM Transactions on Graphics 41(4). doi:10.1145/3528223.3530174
  25. Schiller, L., Naumann, A. (1933). Über die grundlegenden Berechnungen bei der Schwerkraftaufbereitung. Zeitschrift des Vereines Deutscher Ingenieure 77, 318–320. (Print only; no DOI.)
  26. Gilet, T., Bush, J. W. M. (2009). The fluid trampoline: droplets bouncing on a soap film. Journal of Fluid Mechanics 625, 167–203. doi:10.1017/S0022112008005442
  27. Kim, I., Wu, X. L. (2010). Tunneling of micron-sized droplets through soap films. Physical Review E 82, 026313. doi:10.1103/PhysRevE.82.026313; arXiv:1708.04331
  28. Courbin, L., Stone, H. A. (2006). Impact, puncturing, and the self-healing of soap films. Physics of Fluids 18, 091105. doi:10.1063/1.2336102
  29. Weaire, D., Hutzler, S. (1999). The Physics of Foams. Oxford University Press.
  30. Cantat, I., et al. (2013). Foams: Structure and Dynamics. Oxford University Press.
  31. Eisenbach, M., Scholz, C. W., Span, R., Cristancho, D., Lemmon, E. W., Thol, M. (2021). Fundamental equation of state for 1,2-propanediol. Journal of Physical and Chemical Reference Data 50, 023105. doi:10.1063/5.0050021
  32. Marcolli, C., Peter, T. (2005). Water activity in polyol/water systems: new UNIFAC parameterization. Atmospheric Chemistry and Physics 5, 1545–1555. doi:10.5194/acp-5-1545-2005
  33. Chang, C.-W., et al. (2015). Surface tension and density of aqueous 1,2-propanediol mixtures. Fluid Phase Equilibria 389, 1–10. doi:10.1016/j.fluid.2014.12.040
  34. Fuchs, N. A., Sutugin, A. G. (1970). Highly Dispersed Aerosols. Ann Arbor Science Publishers.
  35. Pankow, J. F. (2017). Calculating compound dependent gas-droplet distributions in aerosols of propylene glycol and glycerol. Journal of Aerosol Science 107, 9–13. doi:10.1016/j.jaerosci.2017.02.003
  36. Strahle, W. C. (1971). On combustion generated noise. Journal of Fluid Mechanics 49(2), 399–414. doi:10.1017/S0022112071002167
  37. Ahmadi, S. F., Nath, S., Kingett, C. M., Yue, P., Boreyko, J. B. (2019). How soap bubbles freeze. Nature Communications 10, 2531. doi:10.1038/s41467-019-10021-6
  38. Bussonnière, A., Antkowiak, A., Ollivier, F., Baudoin, M., Wunenburger, R. (2020). Acoustic sensing of forces driving fast capillary flows. Physical Review Letters 124, 084502. doi:10.1103/PhysRevLett.124.084502
  39. Ranger, A. A., Nicholls, J. A. (1969). Aerodynamic shattering of liquid drops. AIAA Journal 7(2), 285–290. doi:10.2514/3.5087
  40. Pilch, M., Erdman, C. A. (1987). Use of breakup time data and velocity history data to predict the maximum size of stable fragments for acceleration-induced breakup of a liquid drop. International Journal of Multiphase Flow 13(6), 741–757. doi:10.1016/0301-9322(87)90063-2
  41. Fedkiw, R., Stam, J., Jensen, H. W. (2001). Visual simulation of smoke. Proceedings of SIGGRAPH 2001, 15–22. doi:10.1145/383259.383260
  42. Hoyt, L. F. (1934). New table of the refractive index of pure glycerol at 20 °C. Industrial & Engineering Chemistry 26(3), 329–332. doi:10.1021/ie50291a023
  43. Morton, B. R., Taylor, G. I., Turner, J. S. (1956). Turbulent gravitational convection from maintained and instantaneous sources. Proceedings of the Royal Society A 234(1196), 1–23. doi:10.1098/rspa.1956.0011
  44. Pogorelov, A. V. (1988). Bendings of Surfaces and Stability of Shells (Translations of Mathematical Monographs, Vol. 72). American Mathematical Society.