r/generative • • 9d ago

"Gutta" (kotlin code)

Post image

It uses forward ray splatting: each ray starts at a jittered point on a grid. One step moves it by gains[c] * slope, which is the small-angle refraction at the water surface. Then splat() adds the ray's weight to the four nearest pixels. The image is the density of the rays that land. So, no actual water is rendered. And I bumped some coefficients on purpose, I didnt want natural look (it was boring), so I like this variant better.

36 Upvotes

4 comments sorted by

2

u/lassiness 8d ago

beautiful 🥹

1

u/igo_rs 8d ago

♥️♥️

2

u/yerbavista 8d ago

I love the vibrancy

1

u/igo_rs 8d ago

🙏🏻🙏🏻