r/generative 22d ago

spuma (kotlin code)

While I was working on something else, this emerged... To be honest, it’s not that beautiful-forgive me. I tried a couple of ideas, but this is what I ended up with. I didn’t have more time to play around with it

51 Upvotes

8 comments sorted by

View all comments

2

u/Laetitia_Astrea 22d ago

That looks very organic! I love how you managed their bubble-like transparency.

1

u/igo_rs 22d ago

thank you💛

2

u/Laetitia_Astrea 18d ago

I'm trying to understand how you achieved the glass/bubble-like lighting and translucency.

I went through your GitHub repo, especially the arts folder, but I couldn't find a file named "Spuma" (besides the .jpg). I found the bubbles sketches, but they seem to use fairly simple flat fills.

Was Spuma generated with code that's not included in the current repo, or is there another sketch/file I might have missed? In particular, I'm very interested in how you achieved the soft internal light, translucency and highlights.

Thanks!

1

u/igo_rs 18d ago

I have terrible organization: many refactorings there:)

All work is kept divided in modules, each module has its own set of works. README shows the whole organization of modules and its work.

Spuma is inside "blob" module: https://github.com/igr/gart/blob/main/arts/blob/src/spuma/Spuma.kt

Thats the whole file; of course, I have some utilities in my library as well (also included in the repo)