So my final goal is to have a procedural way of generating clusters of bubbles. The issue, most people say to use Metaballs, but those only really define the surface, but bubbles have those characteristic “flat interfaces” when two bubbles collide. I was wondering if there was any way to approximate that, without simulating two spheres touching, lol-

The idea is to procedurally be able to “boolean” x amount spheres together, in such a way that it resembles the actual structure of bubbles, with their flat interfaces and all… Now I know how to get the bool half of the process in geo nodes, but I cant for the life of me figure out how I would generate the “inside surface”.

Here’s how I imagine the structure for two spheres;

You begin with two Spheres and solidify them. Now you have two inner and two outer spheres.

Then you boolean/union the two outer spheres together, giving you the “outside surface”. (here the two bottom ones are the outside- just for visual clarity

Now, the IDEA is to grab the two inside spheres and …“bisect?” them together, such that you end up with a flat interface on each where they once touched. As if they had been squished together and have now been left “flattened” where they touched.

This is the part I cant seem to figure out in geonodes. How would I even begin to generate a face on a ring of edges, etc? The rest of this process I know already.

The final result would be the in and outside of two bouble, or at least, a naive aproximation of it.

Do yall have any suggestions or perhaps “less dumb” approaches. I’m all ears <3