It's an old idea:
"Sir William Thomson (later Lord Kelvin) published his proposal for an ideal foam, intended as a model for the ether of space ..."
It's an old idea:
"Sir William Thomson (later Lord Kelvin) published his proposal for an ideal foam, intended as a model for the ether of space ..."
https://shadertoy.com/view/wcsSRN
Note: best to check the Shadertoy sims in the Google Chrome Browser on your computer.
• Voronoi-cells disperse energy into the edges, this 'fluid' is distributed through the network of edges.
• The energy-fluid in the adjacent edges is absorbed back by the Voronoi-cells who expand or shrink.
The corners in our Dynamic Foam are like gates in an electronic circuit or valves in a 'classical' flow system. When the angle is Acute, smaller then 90 degrees (< 90°), the flow is cut-off.

This is the main rule that regulates our system and generates structure (closed-knots) like Leonardo's bridge.
A new ’slightly’ different approach that might be a lot easier to process the Dynamic Foam:
Instead of doing a search along the edges, where the acute angles (sharp < 90°) are the regulators ... we might get the same result by calculating the acute angles and ‘mark' the cells. Similar to Conways Game of Life.
The idea is that a tree search is equivalent to counting the surrounding cells, in both cases the same 'effect of the sharp corners’ in the foam is sensed and applied.
I. Previous models : Monte Carlo - and Local Edge Search
• Find Sharp-angels and mark the corners.
• Unique tree-search for each edge to define the Weight of each cell edge.
• Sum of all weights = > New Pressure.
• Balance out cells based on their new pressures and draw new Voronoi-Layout, with Power-Voronoi-tracking-cells*.
II. Future model : Acute Angles Counting / Sub Cells
• Detect Acute Angles
• Acuteness : Count Acute-angels per cell (0, 1, 2, 3)
• Color the whole cells depending on the acuteness value.
• Sum of all marked adjacent Sub-cells => New Pressure.
• Balance out cells based on their new pressures.
Like in Game of Live.
————
Shadertoy tests:
Overview table with the different approaches to solve the Dynamic Foam with Currents in the edges: Dynamic Foam and VoroX with a Dual Voronoi-Delaunay mesh, and also the suggestions for a new version with Weighted Voronoi, and a marching method to search along the edges.
A couple of months ago I got in touch with David Schoemehl who had a boids-simulator, and we turned it into an Oscillating Particles Simulator to test the idea of having a Voronoi-pattern self-emerge out of a random group of vibrating particles that expand- and contract Space.
https://gitlab.com/niceeffort/oscillating_particles
