Coverage map of Lithos rendering substrate across Universe
| Scene | Objects | Types | Shader Template | Status |
|---|
| Type | Category | Emitter Function | Used By |
|---|
| Glyph | Name | GLSL | Domain |
|---|
| Gap | Severity | Impact |
|---|---|---|
| WASM SIMD128 backend | Blocker | Browser-side Lithos blocked; scalar-only POC exists |
| 10 homes without Lithos mode | Medium | Only Virgo + Taurus have full pipelines; Capricorn routed but no template |
| Cosmos not integrated | Medium | cosmos.html (10k lines) has no Lithos path |
| GPU shaders not ported | Future | Galaxy, sun, earth shaders still monolithic GLSL |
| Scene graph still Three.js | Future | Phase 3: flat WASM arrays replace Object3D tree |
| No parity test harness | Medium | Can't validate JS vs Lithos output automatically |
| Phase | Target | Status | What Changes |
|---|---|---|---|
| 1 | CPU modules → WASM | Blocked | Octree, rotation, nav, transitions compiled to .ls → WASM |
| 2 | GPU kernels → Lithos | Active | SDF homes use paint package emitter (2/12 complete) |
| 3 | Scene graph replacement | Future | Three.js Object3D → flat struct arrays in WASM |
| 4 | DOM bridge elimination | Future | Pure WASM + GPU, minimal JS bootstrap |
| Library | Lines | Key Exports | Phase |
|---|---|---|---|
polygon_optimize.mjs | 103 | optimizeScene, assessPhase, installOptimizations | Facade |
wind.mjs | 99 | createWindMaterial, WIND_PRESETS | Phase 2 |
shader_animation.mjs | 106 | createAnimatedMaterial, ANIMATION_PRESETS | Phase 2 |
instanced.mjs | 118 | convertRepeatedMeshes, createScatterInstanced | Phase 1 |
lod.mjs | 145 | autoLOD, createSimplifiedGeometry, LODManager | Phase 1 |
material_optimizer.mjs | 138 | deduplicateMaterials, createUberMaterial | Phase 1 |
culling.mjs | 154 | createChunkedCuller, CullingPipeline | Phase 2 |
perf.mjs | 116 | createPerfDashboard, PHASE_TARGETS | All |
sdf_shadows.mjs | 140 | SDF_SHADOW_GLSL, createShadowPass | Phase 4 |
hybrid_renderer.mjs | 157 | createHybridRenderer, installHybridMode | Phase 4 |
| Library | Lines | Key Exports | Status |
|---|---|---|---|
creature_physics.mjs | 245 | createGroundFollower, createLocomotion, createStateMachine, createBoids, createIK2Bone | Built |
creature_gait.mjs | 119 | createGait, createLegAnimator, QUADRUPED_PRESETS | Built |
| Capability | Coverage | Notes |
|---|---|---|
| Breathing | 10/12 | sin() animation across most homes |
| Path following | 4/12 | Lissajous, helix, spline paths |
| Ground follow | 0/12 | Library built, not applied |
| State machine | 0/12 | Library built, not applied |
| IK legs | 0/12 | 2-bone solver built, not applied |
| Flocking | 1/12 | Cave fish only (Scorpio) |