DEV Community

Pratyush Shivam
Pratyush Shivam

Posted on Originally published at pratyushshivam.com on

I built a planet where every creature thinks for itself

It starts with water, plants and nothing else. Every creature that will ever live on it, you set down, and every one of them thinks for itself.

There is no script. Each creature carries its own small neural network that decides where it goes, what it eats, whom it follows and what it runs from. When two have a child, the child's brain is built from theirs. Nobody trains anything: the ones that cope live longer, and the planet slowly gets better at surviving.

One kind, the kith, go further. They hold beliefs, pass them on (sometimes wrongly), make things nobody showed them how to make, and give those things names.

And you can go down there, walk among them, and talk to them.

Seven kinds of creature, up to 800 alive at once, written from scratch in TypeScript and WebGL. Free and open source.

Open it: pratyushshivam.github.io/eden/

I'm Pratyush Shivam, CTO of Konfidio. More of what I build and write is at pratyushshivam.com.

Top comments (0)