🧠

Neurons

Python104 lines· A terminal animation that simulates "neurons" on a grid. Each neuron randomly dies or moves in one of four directions on every tick, producing an e…
Original project by @Zedeldi — view source on GitHub
Ready when you are

Neurons

A terminal animation that simulates "neurons" on a grid. Each neuron randomly dies or moves in one of four directions on every tick, producing an evolving pattern printed to the terminal.

How to run

python main.py

Dependencies

Standard library only.

Pyodide-runnable

Yes — after a small edit removing the os.system terminal-clear (and the now-unused os/sys imports), it is a pure-stdlib program that only prints to the console.

neurons.py· Python 3.x
107 lines
Console· terminal