Sponge definition help

Hello, I am quite new at this, and I am interested in creating sponge or bone-like structure. I attempted to learn by copying one that I found in this discussion. Unfortunately, I am unable to create a mesh, even though “I think” I am replicating the definition. I could really use some help.

Thank you so much
failed sponge.gh (13.6 KB)


failed sponge_re.gh (13.4 KB)

Check the links below as well…

thank you very much! that is what I was looking for.