Files
Sergio cf053bd6ea chore: refresco desde el monorepo (pin tawasuyu.git v0.2.0)
Regenerado con scripts/actualizar-standalone.py: código del dominio al día,
git-deps repineadas a v0.2.0 y doble-fuente resuelta con [patch] al source git.
cargo check --workspace verde.
2026-07-25 21:10:40 +00:00
..

dominium

Deterministic mean-field simulator with vector agents.

dominium's window: an isometric 240×240 procedural continent — blue seas and rivers, green plains, sienna ranges — populated by ~6000 lemmings, with Concepts as field-emitting sprites and ψ-cluster recoloring

a live mean-field run — the isometric continent, thousands of lemmings, and ψ-cluster recoloring (click for the full-res MP4). Static shot: pantallazo.png.

Five physical layers (materia, psique, poder, oro, degradacion) sit on a dense Grid<f32>; above them lives a world of agents with six atomic actions (move, take, drop, transmit, attack, rest). Endogenous ψ↔action coupling (Phase A): the psique field and agent dynamics influence each other without operator intervention between ticks. On top of it: social contagion of vector_psi with homophily and institutional persuasion (Phase B), ψ-metrics — polarization, Moran's I, k-means (Phase C), and discrete Spawn/Kill events, CSV population loading and Monte Carlo sweeps (Phase D). Design detail in SDD.md.

Metaprogrammable Concepts: any field emitter (radiation, market, dogma) loads as JSON with id+pos+radius+mods+hack — the engine stays dumb, external AI is optional.

Install

# deterministic CLI
cargo run --release -p dominium-cli -- run --seed 42 --ticks 1000

# Llimphi app (canvas + live control panel)
cargo run --release -p dominium-app-llimphi

Compatibility

  • Linux / macOS / Windows — Llimphi UI.
  • Wawadominium-core/physics/iso/render-plan compile to WASM (zero graphical deps).
  • Web — via dominium-notebook-kernel (pluma notebook kernel).

Crates

See LEEME.md. Core split: dominium-core (data + actions + Concepts + worldgen), dominium-physics (6-phase tick), dominium-sim (simulation session: world + clock + snapshot ring, frontend-agnostic), dominium-iso (30° projection + Lambert shadow), dominium-render-plan (World → Vec<Quad>), dominium-canvas-llimphi (vello backend), dominium-app-llimphi (app), dominium-cli, dominium-notebook-kernel. Beyond the engine: dominium-topology (the shape of the society, not just its averages), dominium-control (closed-loop stability), dominium-models (canonical social-physics models instantiated on the engine and validated by reproducing their published transition) and dominium-voxel (voxelizes a World for the llimphi-3d engine).

Considerations

  • Inviolable rule: zero graphical deps in core/physics/iso/render-plan. Only serde and libm. Graphics live in canvas-llimphi/app-llimphi.
  • Bit-for-bit deterministic given same seed and same version.
  • Concepts load at runtime; they let you rewrite the domain without recompiling.
  • Everything non-fixed is data: SimParams/ZWeights are serializable and live-editable from panel sliders; a scenario (params + relief + Concepts) serializes whole.