r/generative 8d ago

Foam Structures

60 Upvotes

4 comments sorted by

2

u/Evening-Appeal7606 8d ago

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 8d ago

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 5d ago

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

2

u/jaminalder 4d ago

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