Foam Bubbles Simulating Voronoi Diagrams

​
initial bubbles
25
reset bubbles
image type
shaded Voronoi
plain Voronoi
color scheme
grayscale
border color
background color
background opacity
0.1
discrete cell colors
This Demonstration simulates the behavior and appearance of bubbles in a foam using Voronoi diagrams. These are produced by the DistanceTransform function. Starting with the initial configuration of bubbles, you can interact with the bubbles by deleting (clicking), adding (clicking while holding the Alt or Ctrl key), and dragging them. Various color and image processing options can be applied.

External Links

Voronoi Diagram (Wolfram MathWorld)
Voronoi Diagrams
Voronoi Image

Permanent Citation

Suzie Byun, Yu-Sung Chang
​
​"Foam Bubbles Simulating Voronoi Diagrams"​
​http://demonstrations.wolfram.com/FoamBubblesSimulatingVoronoiDiagrams/​
​Wolfram Demonstrations Project​
​Published: July 30, 2015