Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wormy

C++ Platform License

A C. elegans body + nervous system simulation. The real 401-neuron connectome (Cook et al. 2019) drives a physically simulated body through resistive-force-theory drag on an anisotropic substrate — no scripted locomotion, movement is a straight physical consequence of neural activity acting on body curvature. Built on Tessera.

demo

screenshot

What it does

  • Loads the real C. elegans connectome (401 neurons, chemical + gap-junction synapses) into a sparse non-spiking network integrator
  • One-directional pipeline: network activity → muscle curvature → segmented body → RFT physics → position/heading — nothing shortcuts this chain
  • Live ImGui panels for network gains, locomotion parameters, per-neuron activity, body-angle profile (press F10 to hide them for a clean view, F9 to record a clip)
  • tests/worm_*_calibration — calibration/validation harnesses, findings (including negative ones) documented alongside the code

Build

cmake -S . -B out/build -G Ninja
cmake --build out/build --target Demo_worm

The FetchContent call in CMakeLists.txt grabs Tessera at configure time — no manual clone, no extra setup beyond Tessera's own toolchain (Windows + MSVC).

Docs

  • WORM.md — full reference: network model, body physics, every WormSim::Params field
  • NEURONS.md — neuron naming/nomenclature
  • docs/journal/ — calibration history, one report per phase (V2 through V5). Half of them are negative results: things that were tried, measured, and reverted, with the numbers that killed them.

About

Симуляция C. elegans на реальном коннектоме, поверх движка Tessera

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages