WOLFRAM NOTEBOOK

WOLFRAM|DEMONSTRATIONS PROJECT

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.
Wolfram Cloud

You are using a browser not supported by the Wolfram Cloud

Supported browsers include recent versions of Chrome, Edge, Firefox and Safari.


I understand and wish to continue anyway »

You are using a browser not supported by the Wolfram Cloud. Supported browsers include recent versions of Chrome, Edge, Firefox and Safari.