Foam Bubbles Simulating Voronoi Diagrams

Initializing live version
Download to Desktop

Requires a Wolfram Notebook System

Interact on desktop, mobile and cloud with the free Wolfram Player or other Wolfram Language products.

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.

Contributed by: Suzie Byun (July 2015)
(Mathematica Summer Camp 2015)
Based on a program by: Yu-Sung Chang
Open content licensed under CC BY-NC-SA




Feedback (field required)
Email (field required) Name
Occupation Organization
Note: Your message & contact information may be shared with the author of any specific Demonstration for which you give feedback.