So yeah I made this fish schooling thing. Literally a bunch of fake fish vibing together on my GPU. I had nothing serious in mind. I just saw some video and my brain went ok cool lets try that.
I swear half these projects I make start from boredom and ego mixed together. Like I wanna see something move on screen because it makes me feel like I actually know shit.
Anyway the whole thing is just a bunch of rules.
Dont hit your friends.
Dont wander off like a dumbass.
Try to match direction.
Basic stuff.
But on the GPU it suddenly looks clean as hell. Thousands of fish moving around like they got somewhere important to be.
I used WebGPU and some compute shaders. Three.js for the visuals because I was too lazy to write the whole rendering thing from scratch. The logic is literally nature 101. Nothing crazy. Just looks cool.
And honestly this project taught me something. People act like you need to make some god tier project every time. But nah. Sometimes you make a small thing and it still looks sexy. And it gives you that small hit of dopamine that keeps you going.
When I posted it on LinkedIn I realized something sad though. If you dont hype your own shit nobody even looks at it. Like damn bro at least pretend to care. But yeah whatever.
I like this one. Its small. Its stupid. It works. And watching the little dudes swim around felt kinda satisfying. If you wanna make something that looks way harder than it actually is then this is the move.
Thats it. Iβll probably break my brain on some other random idea next.
Check it out: https://github.com/Kukyos/fishschooling-sim
Top comments (0)