Plateau’s Laws, Soap Bubbles & Grasshopper

The Grasshopper script simulates a random soap bubble cluster starting from 3 soap bubbles of known radii based on Plateau’s Laws. All surfaces in a bubble cluster are spherical, including films dividing two adjacent bubbles.

A list is used to store valid bubbles generated through a Hoopsnake sequence and a number of custom components calculate correct bubble intersection in line with Plateau’s Laws.