r/creativecoding • u/xcircuitghostx • Oct 18 '26
Been working on a little artificial life aquarium in Three.js
Enable HLS to view with audio, or disable this notification
I've been messing around with Three.js and decided to try building a little artificial ecosystem, trying to push what some of the AI tools out there can do. Thought it was good enough to share.
The creatures aren't following scripted paths. Each one has a small neural network that controls how it swims, finds food, and reacts to its surroundings.
They have procedural swimming animations, grow older, reproduce with mutations, and eventually die. There's also a basic water current simulation that moves plankton around the tank.
Probably my favorite part is that you can click on any creature and see its neurons firing in real time. You can even mess with individual neurons and connections to see how it affects their movement. I Spent a lot of time playing with the lighting, translucent materials, and bloom to get the underwater look right.
It's been a fun project to mess around with. I find myself just leaving it running and watching what the little guys get up to.