Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Show HN: What if code had a lifespan? A morphogenetic computing experiment (nabolitains.github.io)
5 points by nabolitains 38 days ago | hide | past | favorite | 1 comment
Hi HN! I've been exploring what happens when we treat code not as architecture but as a living ecosystem.

Demo: https://nabolitains.github.io/plasma/

This started from a simple question: The slime mold Physarum can solve mazes without a brain. What if our code could similarly self-organize?

The result is Plasma - computational cells that: - Metabolize energy from their environment - Reproduce with mutations - Form emergent colonies nobody designed - Die (and that's a feature)

No ML, no complex algorithms. Just simple rules creating complex behaviors. The entire thing is 800 lines of vanilla JS/Canvas.

I'm particularly interested in your thoughts on: 1. What patterns do you see emerging after ~1000 cycles? 2. Could this approach scale to real applications? 3. What would you add to the "genetic code"?

The philosophical manifesto is in the repo if you're into that sort of thing. But the code speaks for itself.




Very interesting artwork ! It would be interesting to be able to share the result of user generation through an image for example. Secondly I would recommand to add a link to your readme(abstract) direclty in the experiment to understand the idea behind it. For those who want to read the manifesto : here is the link https://github.com/nabolitains/plasma :)




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: