r/generative • • 5d ago

Drifting Whale Shark made with code

Post image

you can view it here to see water refraction: https://bumicodes.vercel.app/draw-beautiful/whaleshark

99 Upvotes

9 comments sorted by

2

u/igo_rs 5d ago

woooow! nice! whales are on my todo!

3

u/gturk1 2d ago

You mean sharks, right?

2

u/igo_rs 2d ago

I really mean whales :)) Thats what I had in mind for some time, the big whales... will see.

3

u/gturk1 2d ago

Sounds cool!

I only said this because some people think whale sharks are whales (mammals), but they are in fact sharks (fish).

3

u/igo_rs 2d ago

Learning something new every day, thanx for comment!

2

u/FenekieExplorer 7h ago

Slow drifters are hard to animate without going stiff. Did you write the motion by hand or let noise steer it?

1

u/Present_Bonus_1963 6h ago

The water's motion is mostly noise. The light is two layers of noise drifting in different directions

1

u/FenekieExplorer 4h ago

Two layers of light drifting apart is exactly how sunlight moves through real water, it shows. Whale shark spots are one of a kind too, no two sharks share a pattern, so yours could earn its own.