Foam Bubbles Simulating Voronoi Diagrams

Requires a Wolfram Notebook System

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

Requires a Wolfram Notebook System

Edit on desktop, mobile and cloud with any Wolfram Language product.

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


Snapshots


Details

detailSectionParagraph


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.
Send