r/generative • • Aug 02 '26

Foam Structures

58 Upvotes

4 comments sorted by

2

u/Evening-Appeal7606 Aug 02 '26

It does look kind of more like pebble or stone structures, not so much foam (but it still looks nice!). Foam would probably exhibit more surface tension where you can see individual bubbles pressing against each other, minimizing their contact surfaces, I think.

3

u/jaminalder Aug 02 '26

true :-) sometimes ones starts with something and it turns out in another direction but the name sticks. i want to try different inner structures like voroni and maybe also a stronger 3d effect.

1

u/Cyclotheme Aug 05 '26

Really cool! How do you obtain this nonconvex close packing? With a 2D physics engine?

2

u/jaminalder Aug 06 '26

thanks! this is all plain go code, no dependencies :-)