Spaceship Earth
Jitterbug Cockpit โ Immersive 3D Portal
01. Architecture
Built as a Progressive Web App with full offline capability. The data layer runs WebAssembly PostgreSQL (PGlite) entirely in-browser, persisted to IndexedDB. No backend required for core functionality. All P31 mesh apps are now sovereign standalone deployments โ Spaceship Earth is the 3D portal that connects them.
- โธ React 19 + Tailwind v4 + vanilla Three.js โ immersive Jitterbug cockpit UI, direct WebGL, no R3F abstraction layer
- โธ PGlite (WebAssembly PostgreSQL) โ full SQL engine running in-browser, persisted via IndexedDB. Offline-capable by default.
- โธ Three skin themes โ OPERATOR (matte cockpit, dark), KIDS (warm, accessible), GRAY_ROCK (minimal, low-stimulus). Transient material lerp, bloom never unmounted.
- โธ Tri-state camera โ Free (full orbit), Dome (bounded 4โ10 distance), Screen (parallel to 3 screens, scroll-between). Mode-specific orbit constraints.
- โธ Sovereign Store โ Zustand: skin theme, camera mode, accent color, portal open state. Session-scoped, no gamification pressure.
02. The Jitterbug Transformation
The "Jitterbug" is Buckminster Fuller's term for the continuous transformation between the cuboctahedron (Vector Equilibrium) and the octahedron โ a topology that is never fixed, always in dynamic transition.
In P31's architecture, it maps to the shift from Wye topology (hub-and-spoke โ all load passes through a central neutral point, which becomes a single point of failure) to Delta topology (self-braced mesh โ no floating neutral, every node load-bearing).
Vector Equilibrium achieved: all nodes self-braced, no floating neutral, cognitive sovereignty guaranteed even when fully disconnected from the network.