Foam Bubbles Simulating Voronoi Diagrams

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.

SNAPSHOTS

  • [Snapshot]
  • [Snapshot]
  • [Snapshot]
    • Share:

Embed Interactive Demonstration New!

Just copy and paste this snippet of JavaScript code into your website or blog to put the live Demonstration on your site. More details »

Files require Wolfram CDF Player or Mathematica.