How ianluites/simons-column works
Main System Components
a) Hardware Layer:
• TPIC6C596 Shift Registers
• Raspberry Pi 3 B+
• LED Light Column
b) Software Components:
• Rust Server (Main Control Server)
• Python Light Control Library
• Web UI (Node.js/Svelte-based)
• Rust Emulator (Development Component)
Frontend Tier
• Monaco editor component (found in node/ui/src/lib)
• HTTP/WebSocket connections to the server
Backend Tier
• Main components:
• Choreography Module
• Orchestrator
• Web API Layer
• State Management
Hardware Control Tier
• TPIC6C596 Shift Registers
• Light Column
• GPIO Interface
• Rectangles: Main components
• Hexagons: Hardware components
Key Relationships to Highlight
a) Control Flow:
Web UI → Rust Server → TPIC6C596 → Light Column
b) Development Flow:
Web UI → Rust Server → Emulator (Development Mode)
Component Details
Server Components (rust/bin/server):
• API endpoints
• Choreography management
• Orchestration logic
• State management
Web UI Components (node/ui):
• SvelteKit application
• Monaco editor integration
• API communication layer
Hardware Interface:
• GPIO communication
• Shift register control
• Light patterns management
Additional Elements
• Version/environment indicators
• Configuration paths
• Development-only components