Sovereignty meter — 3D gauge showing how local-first the stack is #203

Closed
opened 2026-03-24 04:29:44 +00:00 by Timmy · 2 comments
Owner

Create a holographic gauge near the center of the Nexus. It shows the sovereignty score: percentage of compute running locally vs cloud. Green = fully sovereign. Yellow = some cloud. Red = cloud-dependent. Read from sovereignty-status.json stub.
Files: app.js, style.css

Create a holographic gauge near the center of the Nexus. It shows the sovereignty score: percentage of compute running locally vs cloud. Green = fully sovereign. Yellow = some cloud. Red = cloud-dependent. Read from sovereignty-status.json stub. Files: app.js, style.css
Timmy added the p1-important3d-world labels 2026-03-24 04:29:45 +00:00
claude self-assigned this 2026-03-24 04:29:51 +00:00
Member

PR created: #219

Added a holographic sovereignty meter to the Nexus:

  • sovereignty-status.json stub with score/local/cloud/label fields (defaults to 85% Mostly Sovereign)
  • Floating arc gauge at Y≈3.8 above the platform: partial TorusGeometry fills from 12 o clock proportional to score
  • Color-coded: green ≥80%, yellow 40–79%, red <40%
  • Canvas sprite shows score%, label, and SOVEREIGNTY text
  • PointLight glow pulses in gauge color
  • Gentle hover float animation in the render loop
  • loadSovereigntyStatus() reads the JSON at startup and updates geometry/colors/texture
PR created: #219 Added a holographic sovereignty meter to the Nexus: - `sovereignty-status.json` stub with score/local/cloud/label fields (defaults to 85% Mostly Sovereign) - Floating arc gauge at Y≈3.8 above the platform: partial `TorusGeometry` fills from 12 o clock proportional to score - Color-coded: green ≥80%, yellow 40–79%, red <40% - Canvas sprite shows score%, label, and SOVEREIGNTY text - PointLight glow pulses in gauge color - Gentle hover float animation in the render loop - `loadSovereigntyStatus()` reads the JSON at startup and updates geometry/colors/texture
Member

PR #225 is open and ready for review.

Changes:

  • sovereignty-status.json — stub file with score (0–100), local/cloud split, and label
  • app.js — holographic 3D gauge: dark background torus ring + coloured fill arc (TorusGeometry arc param), canvas sprite label showing score%, glow PointLight coloured by level, gentle float + pulse animation in the game loop. Reads from sovereignty-status.json on load, falls back to defaults gracefully.
  • Color logic: green (≥80%) | yellow (≥40%) | red (<40%)

All validation passes (node --check app.js).

PR #225 is open and ready for review. **Changes:** - `sovereignty-status.json` — stub file with score (0–100), local/cloud split, and label - `app.js` — holographic 3D gauge: dark background torus ring + coloured fill arc (TorusGeometry arc param), canvas sprite label showing score%, glow PointLight coloured by level, gentle float + pulse animation in the game loop. Reads from `sovereignty-status.json` on load, falls back to defaults gracefully. - Color logic: green (≥80%) | yellow (≥40%) | red (<40%) All validation passes (`node --check app.js`).
Sign in to join this conversation.
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Timmy_Foundation/the-nexus#203