MUSE Ecosystem · Gothic Grandma LLC
GLYPH — Kernel Engineering
Entity Systems Design & Simulation ProfilingWhat Problem It Solves
Building biological and psychological simulation systems requires deep expertise in both domain science and GPU programming. The Gothic Grandma core team needs to design the Universal Entity—the template from which all simulated beings emerge—while continuously profiling and optimizing simulation performance.
GLYPH's kernel engineering panels provide a visual modeling environment and simulation profiler for internal development. The core team designs, tests, and optimizes the fundamental systems that power all Living Worlds — without hand-writing simulation code.
How It Works
Node-Based System Design with Real-Time Multi-User Collaboration
TESSERA — embedded React iframe panel within GLYPH
- Node-based system design — connect processing nodes to define data flow and behavior
- Universal Entity modeling — design the core template that all simulated beings inherit
- Real-time persistence — changes save to database immediately via Supabase subscriptions
- Multi-user collaboration — multiple designers can work on same system simultaneously
- Graph layout persistence — positions and metadata survive sessions
Visual → Schema → C++ Kernels → Native Binaries
- Visual → Schema — graphs compile to SQLite/PostgreSQL schema definitions
- Schema → Kernels — automated C++ kernel source generation from schema
- Native compilation — generated code compiles to optimized GPU/CPU binaries
- Type safety — enforced at design time (React validation), compile time, and runtime
Scientific Curves: Sigmoid, Gaussian, Hill Equation, Michaelis-Menten
Rich operation library for building scientifically-grounded models
- Math operators — ADD, MULTIPLY, DIVIDE, POWER, CLAMP, MIN/MAX, LERP
- Scientific curves — sigmoid, gaussian, exponential decay, Hill equation, Michaelis-Menten
- Cognitive operators — attention weighting, belief updating, salience filtering, decay functions
- Stochastic — noise injection, probability sampling, threshold functions
6 Integrated Panels (Constructor, Inspector, Performance...)
- Constructor — visual system builder with kernel batch nodes, formula graphs, dependency visualization
- Inspector — entity/system deep inspection with Bayesian belief viewing
- Performance — FPS monitoring, entity counts, kernel execution timing
- Architecture Explorer — dependency graphs, component visualization (force/tree/layered views)
- Database Explorer — multi-database querying with SQL editor
- BABEL — AI-assisted analysis with 6 specialized modes
Architecture
These panels run within GLYPH — an Electron workbench with React-based panels and a Go backend (port 8766). The Constructor node graph (TESSERA) is embedded as an iframe. The FONT engine is a separate WebSocket server on port 7777.
- WebSocket IPC to FONT engine (port 7777) for command execution and simulation control
- Supabase Realtime subscriptions for collaborative editing across multiple users
- Permission-based panel access via role-based layout presets
- GESTALT runs as a Python subprocess to generate C++ kernel source from schema
Impact
- Non-programmers can design biological systems that execute at GPU speeds
- Full traceability from visual design through to runtime behavior
- No hardcoded logic—every system emerges from inspectable schema
- Type safety catches errors before they reach production