Reading Richard Dawkins’ The Blind Watchmaker was a formative part of my life. Through the haze of memories from more than 2 decades in the past, I can still clearly see my younger self–I’d just finished college and got tentatively placed in a job but was waiting for the official offer letter to land–exploring books at random, selecting that book, and then spending a fevered few days reading a richly-textured explanation of life and its evolution.
In the book, Dawkins introduces an elegant concept to explore, simulate and watch evolution happen in real time. He called his little programmed beings ‘biomorphs’, and built a system of genes and their corresponding expressions (more limbs, complex eyes and so on). A user could select a mutation and watch them evolve and diverge into complex beings. With AI getting so good, I thought it would be interesting to vibe code a simpler (and cuter) version of it. So here we go: https://tools.arunsr.in/biomorphs
When you load the page, you get a randomly generated environment selected from a few presets. In this example we see a Glass Desert with Sub-Zero Frost weather and Extreme Gravity. What kind of creature would be best suited in this environment? You get to decide! The user can look at 2 offspring and see its adaptations (one may have feelers to see in the dark, while the other may have a hard shell), and select the one that they feel is better suited for this environment.

After a few iterations, we can Launch the biomorph and see it live in action!

Here, our little biomorph is being chased by a large (brown) predator. It needs to have the right adaptations to defend or evade from it. And it also has to have the right ‘abilities’ to feed on the local prey. Over time you would see it successfully thrive, or die of hunger, or get eaten by predators.
For the amount of effort I spent on the app, I’m quite happy with the results. Gemini’s antigravity was kind enough to suggest interesting enhancements (like a biomorph reaching the Apex Predator phase). This is by no means scientific implementation of the original idea, it’s just a fun toy to show my kids.
Here’s the source: https://github.com/arunsrin/tools/blob/main/src/tools/biomorphs/SPEC.md


