Technical architecture and implementation guide for the Acorn Engine v7
| Component | Minimum | Recommended |
|---|---|---|
| Python | 3.9+ | 3.11+ |
| RAM | 4 GB | 16 GB |
| Storage | 500 MB | 2 GB (for plates) |
| CPU | 4 cores | 8+ cores |
| GPU | Optional | WebGL 2.0 capable |
pygame>=2.5.0 Pillow>=10.0.0 numpy>=1.24.0 scipy>=1.10.0 # For quantum calculations networkx>=3.0 # For mycorrhizal networks
Terminal, 2D Client, Web Interface - sends proposals only
Validates and routes proposals between GUI and Engine
World state, entity system, physics, event log
Affect, Imagination, Dream, Awareness subsystems
PNG-based universe persistence with steganographic encoding
Nested universe support, recursive layers, bounded budgets
The pure simulation engine. Completely headless, GUI-agnostic. Manages world state, entity lifecycle, physics simulation, and deterministic execution.
from acorn.engine import AcornEngine
engine = AcornEngine(seed=12345)
engine.spawn_entity("acorn", position=(50, 50))
engine.tick() # Advance simulation by one step
Internal Simulation Stack with four bounded subsystems:
Holographic memory system using PNG images with embedded JSON data in LSB channels.
from acorn.plates import save_plate, load_plate
# Save universe state
save_plate(engine.get_state(), "universe_001.png")
# Load universe state
state = load_plate("universe_001.png")
engine.restore_state(state)
Recursive simulation capabilities. Each layer has bounded computation budget (50% of parent by default).
AcornEngine_v7_FINAL/
├── index.html # Landing page
├── simulator.html # Main simulation interface
├── build-spec.html # This document
├── future-plan.html # Roadmap
├── use-cases.html # Applications
├── rosetta-helix-overview.html
├── acorn/ # Python engine
│ ├── __init__.py
│ ├── engine.py
│ ├── plates.py
│ ├── fractal.py
│ └── iss/
│ ├── affect.py
│ ├── imagination.py
│ ├── dream.py
│ └── awareness.py
└── clients/
├── terminal.py
└── web/ # WebSocket server
# Start WebSocket server python -m clients.web.server --port 8080 # Open simulator.html in browser # Connect to ws://localhost:8080
Edit config/universe.yaml to customize simulation parameters:
world:
size: [100, 100]
seed: 12345
iss:
affect:
baseline: 0.5
decay_rate: 0.1
imagination:
max_rollouts: 3
depth: 2
dream:
compression_ratio: 0.01
awareness:
default_state: "idle"
fractal:
max_depth: 5
budget_decay: 0.5
quantum:
coherence_threshold: 0.3
decoherence_rate: 0.01
entanglement_distance: 50
This system is designed with safety in mind. It does NOT create conscious entities. Entities are state machines, not "selves". All simulation has hard limits and is fully reversible.