How shazamifius/simulateur-d-emergence-d-eterministe works
SED is a deterministic 3D cellular simulation with an interactive Rust application, headless execution, and a Python agent that explores parameter settings through the application's command API. The main runtime path is user or agent input → application controls → world cycles → emergent cell state and reported metrics. Snapshots, replay, and CSV export are documented capabilities, but their implementation details are not visible in the sampled excerpts; the graph therefore shows them as application-owned features without asserting their internal wiring.
Main entry points: world.rs World cycles · main.rs Command API · agent_explorateur.py Exploration agent · chunk.rs Chunk storage
Components 16
Application
- Rust application
src/main.rs - 3D UI and editing
src/main.rs - Headless runner
src/main.rs - Command API
src/main.rs - Scenario input
scenarios/default.json
Simulation engine
- World cycles
src/simulation/world.rs - Physical and neural laws
src/simulation/laws.rs - Global parameters
src/simulation/params.rs - Cell state
src/simulation/cell.rs - Chunk storage
src/simulation/chunk.rs
Exploration and outputs
- Exploration agent
agent_explorateur.py - Run scoring
agent_explorateur.py - Snapshots, replay, CSV
src/main.rs
Other components
- User
- Command client
- Output files
Connections 18
- User → 3D UI and editing: edits and controls
- 3D UI and editing → Rust application: updates state
- Rust application → World cycles: advances cycles
- Headless runner → World cycles: runs cycles
- Scenario input → Headless runner: loads scenario
- Command client → Command API: sends commands
- Exploration agent → Command API: sends commands
- Command API → World cycles: resets and steps
- World cycles → Physical and neural laws: evaluates rules
- World cycles → Global parameters: reads parameters
- World cycles → Chunk storage: updates chunks
- Chunk storage → Cell state: stores cells
- World cycles → Cell state: updates cell state
- Exploration agent → Run scoring: scores runs
- Exploration agent → Command API: requests run data
- Rust application → Snapshots, replay, CSV: records and restores
- Snapshots, replay, CSV → Output files: reads and writes
- Headless runner → Output files: exports results