The tiny worm C. elegans is one of the simplest multicellular organisms, and one of the only organisms in the world to have its connectome (

Search code, repositories, users, issues, pull requests...

submited by
Style Pass
2024-04-28 13:30:06

The tiny worm C. elegans is one of the simplest multicellular organisms, and one of the only organisms in the world to have its connectome ("neuron map") completed.

Despite being so simple, C. elegans has several complex behaviors. They will move towards food when they sense it, and move around obstacles when they make contact. After viewing a video of a connectome being used to simulate a worm brain and control a GoPiGo robot, I wanted to see if something similar could be done in the browser.

In this demo, hunger neurons are continuously stimulated. If the worm nears food, food sensing neurons are stimulated. If the worm nears the edge of the window, nose touch sensory neurons are stimulated.

Head on over to heyseth.github.io/worm-sim/ and watch the worm wriggle around. Click to place down food. The green dots at the top are a visual representation of the connectome, with each dot representing a neuron (increased opacity = increased activity). There are buttons to hide the connectome, reset the worm's position, and to clear placed down food.

Leave a Comment