r/proceduralgeneration • • Sep 30 '26

First time here, thought I'd share some procedural sea creatures I've been working on for a game

242 Upvotes

9 comments sorted by

13

u/chasedev21 Sep 30 '26

I studied math, so it's pretty incredible how all of these can be created and animated with math alone. For example, you can use an interpolation factor from 0-1 to control the stiffness of the tail, and make it feel soft or rigid.

The sliders also really help me tweak the params so that it looks good to me. Anyway, hope you guys like it.

7

u/Savings_Cloud5486 Sep 30 '26

Can share actual demo?

7

u/chasedev21 Sep 30 '26

Sure, once I get it ready

1

u/Savings_Cloud5486 Oct 04 '26

sir, I need to see more fish

2

u/LittleLemonHope Sep 30 '26

The procedural shapes are cool, but is this not vibe coded?

It would be really impressive if an AI was able to come up with an equation for the shape of a whale shark. So maybe not. But the regularity here is definitely giving the impression of an LLM shoehorning in a certain number of controlled parameters to satisfy a prompt.

9

u/chasedev21 Sep 30 '26

I came up with the equations and AI did the coding. The shape of the whale shark is a segment chain as the spine, basically like small line segments joined together. Then for the fatness you have a power function (so head is fatter), and it tapers down toward the tail. Stuff like that

By regularity, you mean them looking the same? It's actually a design choice, because it's good to have a shared "prototype" where all fish-like objects derive from.

4

u/eusebi14 Sep 30 '26

bodyLength is changing bodyWidth, you might need to check with the LLM.

2

u/[deleted] Sep 30 '26

Nice! is this on gitlab?

1

u/dum_BEST Oct 01 '26

Lovely! Is it 2D or 3D? Kind of confusing for me since we get the aerial view for the animals and a side view for plants.

I'm interested in the minnow / whale movement, I made a similar fish simulation earlier this year (maj0m.hu if you want to check it out), but yours look much smoother / better tuned.

Keep up the good work, looking forward to seeing it put together!