You are browsing as a guest. Sign up (or log in) to start making projects!

15h 0m 31s logged

—> Stardence Devlog. BioSaka v0.1

“Stand ready for my arrival, worm.”

I made a worm brain using Rust. It runs in a terminal.

The BioSaka worm brain has 307 neurons and 2800 synapses.

These numbers come from the real worm connectome.

Some people like White and his team spent years studying a worm under a microscope.

They made 8000 pictures of the worm.

I used those pictures to make my BioSaka worm brain.

It only took me a weekend to do this.

The BioSaka simulation uses something called LIF neurons.

This means that every time the clock ticks the neurons lose some power the synapses fire and the gap junctions connect.

The BioSaka worm body also moves a bit.

The graph that shows what is happening also lights up.

It is like a world inside the terminal window.

I used ratatui to make the user interface for BioSaka.

I used crossterm to handle the keyboard for BioSaka.

I used rand to add some noise to BioSaka.

The connectome data for BioSaka is added to the program when I build it.

This means that BioSaka does not need to read any files when it is running.

It just does the calculations.

The hardest part of making BioSaka was getting the worm to look like it is really moving.

It had to look like it was crawling and not just shaking.

I had to use a kind of wave to make this happen.

This wave is called a wave and it has something called phase propagation.

Stand ready, for my arrival, worm.

— berke, 2026

0
55

Comments 0

No comments yet. Be the first!