Foam Coarsening: von Neumann n-6 Law, Neighbour Swaps and Vanishing Bubbles (2D)
The same foam-coarsening model in 2D: the live bubble patch coloured by the number of sides on a light table with a Blender-rendered bottle and dropper, a bar chart of the side-count distribution against the start, and charts of the mean area, the number of bubbles and the measured area rate against the von Neumann line.
In a dry two-dimensional foam each bubble changes area as dA/dt = K0 (n - 6), with n its number of sides. Bubbles with fewer than six sides shrink and vanish, those with more than six grow, and because the mean number of sides is six the total area is conserved. This model shows the foam coarsening live, with side-count statistics, neighbour swaps and measured rates.
The same foam-coarsening model in 2D: the live bubble patch coloured by the number of sides on a light table with a Blender-rendered bottle and dropper, a bar chart of the side-count distribution against the start, and charts of the mean area, the number of bubbles and the measured area rate against the von Neumann line.
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install