Skip to content

About

In-silico Drosophila central nervous system simulation and behavioral mapping suite (166,700 neurons, 125M synapses)

Resources

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

CONNECTOMICS 🪰⚡

In-Silico Drosophila Central Nervous System Simulation & Behavioral Mapping Suite

Launch Connectomics Suite GitHub Pages Status

Connectome Milestone Total Neurons Total Synapses WebGL Dependencies License: MIT

🌐 Experience the Complete Suite Live Online:
👉 https://realgauravvyas.github.io/connectomics/
Nine interconnected neuro-computational paradigms running client-side in your web browser with zero backend, zero build steps, and zero dependencies.

Inspired by the landmark Google Research, Howard Hughes Medical Institute (HHMI Janelia), and FlyEM Consortium publication:
"Sexual dimorphism in the complete connectome of the Drosophila male central nervous system" (Cell, September 2026).


🖥️ Dashboard Gallery

MUSCA — Full EM Connectome Atlas (166,700 neurons)
MUSCA Dashboard

166k — Spiking Neural Network Electrophysiology
166k Dashboard

SYNAPTICA — 3D Neuropil Circuit Play
SYNAPTICA Dashboard

FlyGambit — Sparse Reinforcement Learning Chess
FlyGambit Dashboard

FlySprint — Genetic Locomotion Evolution
FlySprint Dashboard

FLYMIND — Sensory Electrophysiology Lab
FLYMIND Dashboard

FLYKICK — Connectome Football
FLYKICK Dashboard

CHRONOFLY — Counterfactual Neural Twin Lab
CHRONOFLY Dashboard

ONEIRO — Sleep-Replay Maze Observatory
ONEIRO Dashboard


🌟 The Simulation Suite at a Glance

The CONNECTOMICS suite brings together multiple distinct in-silico modeling paradigms, spanning from micro-scale electron-microscopy connectivity matrices to whole-organism cybernetic embodiment.

                                              CONNECTOMICS SUITE
                                 (Google Research × HHMI Janelia MaleCNS Data)
                                                       │
  ┌──────────────┬──────────────┬──────────────┬───────┴──────┬──────────────┬──────────────┬──────────────┐
  ▼              ▼              ▼              ▼              ▼              ▼              ▼
[MUSCA]       [166k]       [SYNAPTICA]   [FlyGambit]    [FlySprint]    [FLYMIND]      [FLYKICK]
Full EM       LIF Spiking  3D Neuropils  Sparse RL      Gait Evolution Sensory Lab    Connectome FB
• 166.7k Soma • 166k SNN   • 12 Hubs     • Chess Engine • 94-Weight CPG• 42 Classes   • 5v5 Match
• 2.82M Edges • 2.3M Syn   • Hebbian     • Lesion Sandb • 4 Distances  • Oscilloscope • Brain Cam
• Reverse Cir • Dopamine   • Sensory     • REINFORCE    • Hurdles Jump • Song Synth   • Possession
• Atlas/Poke  • Conditioning• Free Fire  • Zero Deps    • Director Cam • Touch/Smell  • Web Audio

🔬 Comparative Simulator Matrix

Project Target Scope Neurons / Synapses Core Mechanism Behavioral Integration Launch
MUSCA Reconstructed EM Connectome 166,700 neurons
2,822,334 edges
Reconstructed 3D soma coordinates + 1.1M synapse point-cloud Reverse Search: 9 verified sensory-motor circuits (escape jump, song, odor, shadow) Launch MUSCA
166k Large-Scale SNN Electrophysiology 166,000 neurons
2,300,000 synapses
Leaky Integrate-and-Fire (LIF) + 4:1 E/I population balance Associative Conditioning: PPL1 dopamine shock pairing + ablation proof Launch 166k
SYNAPTICA Macro Neuropil Circuit Play 12 mapped neuropils
125M mapped synapses
Topologically-routed action potential cascades Hebbian Learning: Real-time Mushroom Body synaptic plasticity gauge Launch SYNAPTICA
FlyGambit Sparse Reinforcement Learning ~1,200 neurons
~28,000 synapses
Biologically sparse fan-in ($k=20$) + REINFORCE value baseline Neuropil Lesioning: Silence Optic, Lobula, Mushroom Body, or Central Complex mid-game Launch FlyGambit
FlySprint Genetic Biomechanical Evolution 10 $\to$ 6 $\to$ 4 MLP
94 weights / runner
Genetic algorithm evolving Central Pattern Generator (CPG) locomotion Track Competition: 100m, 200m, 400m pacing & 10-barrier hurdles Launch FlySprint
FLYMIND Sensory Electrophysiology Lab 42 neuron classes
642 synaptic edges
Event-driven firing cascades + real-time oscilloscope & BFS tracer Multi-Modal Play: Touch poke, odor conditioning, courtship acoustic synthesis Launch FLYMIND
FLYKICK Team Sports Connectome Sim 10 flies $\times$ 11 neurons
110 active nodes
Autonomous multi-agent coordination + manual Central Complex hijack Neural Football: 2 teams $\times$ 5 flies, live Brain Cam, charge kicks Launch FLYKICK
CHRONOFLY Counterfactual Twin Experiment 2 twins $\times$ 6 synthetic neurons
200 steps
Seeded recurrent LIF dynamics with a targeted N4 intervention Counterfactual Divergence: identical inputs, 3D twin flight — control versus silenced/stimulated/modulated twin Launch CHRONOFLY
ONEIRO Synthetic Sleep-Replay Observatory 20 place-tuned neurons
100-position maze
Deterministic Gaussian place fields, SWR-like events, Hebbian potentiation Offline Replay: 3D maze flight, trajectory reactivation and learning-curve telemetry Launch ONEIRO

🧠 Complete Nervous System Architecture

  [ SENSORY PERCEPTION ]
    • Photons & Optical Flow   ──►  Optic Lobes (Lamina → Medulla → Lobula → LPTCs)
    • Odorants & Pheromones    ──►  Antennal Lobes (Glomeruli) → Mushroom Body (Kenyon Cells)
    • Acoustic Vibrations      ──►  Johnston's Organ (JO-A1) → Antennal Mechanosensory Center (AMMC)
             │
             ▼
  [ CENTRAL INTEGRATION & MEMORY ]
    • Heading Navigation       ──►  Central Complex (Ellipsoid Body Ring Attractor)
    • Associative Learning     ──►  Mushroom Body Output Neurons (MBONs) + Dopamine (PPL1 / PAM)
    • Courtship & Mate Choice  ──►  P1 Courtship Hub (Male-Specific Fru+/Dsx+ Clusters)
             │
             ▼
  [ MOTOR COMMAND (DESCENDING PATHWAYS) ]
    • Giant Fiber Takeoff      ──►  DNp01 (Escape Jump Command)
    • Courtship Sing Back      ──►  DNp02 (Unilateral Wing Extension)
    • Steering Modulation      ──►  DNp31 (Flight Motor Coordination)
             │
             ▼
  [ VENTRAL NERVE CORD & EFFECTORS ]
    • T1 Neuromeres            ──►  Forelegs (Grooming & Substrate Sensing)
    • T2 Neuromeres            ──►  Flight & Wing Vibration (Pulse & Sine Song)
    • T3 Neuromeres            ──►  Tergal Trochanter Jump Muscles (TTMn)

🚀 Quick Start & Local Serving

Every simulator in the suite is built with zero dependencies and requires no compilation step:

# Clone the repository
git clone https://github.com/realgauravvyas/connectomics.git
cd connectomics

# Start any local HTTP server (Python 3):
python -m http.server 8000

# Open in your browser:
# http://localhost:8000/

🧪 Unified Verification Suite (Single Command)

Run all 11 automated checks across the complete 9-app simulator suite with a single command:

# Run all tests across all 9 projects
npm test

# or directly with Node:
node test-all.mjs

Running Sub-Project Offline Tests Individually

# 166k headless WebGL and electrophysiology test
cd 166k && node tools/analyze.mjs && cd ..

# MUSCA 9-circuit biological reverse search verification
cd musca && python tools/behaviours.py && cd ..

# FlyGambit 100-game reinforcement learning verification
cd fly-gambit && node test/smoke.mjs && cd ..

# FlySprint genetic algorithm gait evolution verification
cd fly-sprint && node test/smoke.mjs && cd ..

# FLYMIND 4-suite neural cascade and mushroom body verification
cd flymind && npm test && cd ..

# FLYKICK 16-check physics, AI match, and possession verification
cd flykick && node tools/test-engine.js && cd ..

# CHRONOFLY deterministic counterfactual-twin verification
cd chronofly && node test/smoke.mjs && cd ..

# ONEIRO deterministic sleep-replay verification
cd oneiro && node test/smoke.mjs && cd ..

🌐 Instant GitHub Pages Deployment

The repository includes an automated GitHub Actions deployment workflow (.github/workflows/pages.yml). Pushing to the main branch automatically deploys the suite to:
https://realgauravvyas.github.io/connectomics/


📚 Scientific References & Data Provenance

  1. Cell Publication:
    Google Research, Howard Hughes Medical Institute (HHMI Janelia), and the FlyEM Consortium.
    "Sexual dimorphism in the complete connectome of the Drosophila male central nervous system", Cell (September 2026). DOI: 10.1016/j.cell.2026.08.015.
  2. Google Research Blog:
    A connectomics milestone: Mapping the complete male fruit fly brain.
  3. HHMI Janelia MaleCNS Portal:
    male-cns.janelia.org.
  4. Google Neuroglancer:
    Open-source connectomics 3D volume viewer.

👤 Author & Research

Gaurav Vyas


📄 License

MIT License © 2026 Gaurav Vyas. Open-source science for everyone.

About

In-silico Drosophila central nervous system simulation and behavioral mapping suite (166,700 neurons, 125M synapses)

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages