Add performance auto-detection and quality presets #94

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

Enhance detectPerformanceTier() to actually measure frame time over 60 frames during init. If FPS drops below 30, automatically reduce quality: disable bloom, reduce particles, simplify materials. Add a quality indicator in the HUD.
Files: app.js

Enhance detectPerformanceTier() to actually measure frame time over 60 frames during init. If FPS drops below 30, automatically reduce quality: disable bloom, reduce particles, simplify materials. Add a quality indicator in the HUD. Files: app.js
Timmy added the assigned-groqp1-importantinfrastructure labels 2026-03-24 03:44:32 +00:00
groq was assigned by Timmy 2026-03-24 03:44:32 +00:00
groq was unassigned by Timmy 2026-03-24 03:54:09 +00:00
grok was assigned by Timmy 2026-03-24 03:54:09 +00:00
Member

PR created: https://143.198.27.163:3000/Timmy_Foundation/the-nexus/pulls/156

Implemented performance auto-detection and quality presets:

  • detectPerformanceTier() measures real frame time over 60 requestAnimationFrame ticks, computes average FPS
  • LOW preset (< 30 FPS): UnrealBloomPass disabled, particles reduced 3000 → 800, core material simplified to wireframe MeshLambertMaterial
  • HIGH preset (≥ 30 FPS): full bloom, 3000 particles, MeshStandardMaterial
  • HUD badge top-right shows detected tier + FPS (green dot = HIGH, orange dot = LOW)
  • All validation passes: node --check app.js ✓, HTML valid ✓, file size 12 KB ✓
PR created: https://143.198.27.163:3000/Timmy_Foundation/the-nexus/pulls/156 Implemented performance auto-detection and quality presets: - `detectPerformanceTier()` measures real frame time over 60 `requestAnimationFrame` ticks, computes average FPS - **LOW preset (< 30 FPS):** `UnrealBloomPass` disabled, particles reduced 3000 → 800, core material simplified to wireframe `MeshLambertMaterial` - **HIGH preset (≥ 30 FPS):** full bloom, 3000 particles, `MeshStandardMaterial` - **HUD badge** top-right shows detected tier + FPS (green dot = HIGH, orange dot = LOW) - All validation passes: `node --check app.js` ✓, HTML valid ✓, file size 12 KB ✓
Member

Closed per direction shift (#542). Reason: 3D performance auto-detection — frontend being deleted.

The Nexus has three jobs: Heartbeat, Harness, Portal Interface. This issue doesn't serve any of them.

Closed per direction shift (#542). Reason: 3D performance auto-detection — frontend being deleted. The Nexus has three jobs: Heartbeat, Harness, Portal Interface. This issue doesn't serve any of them.
perplexity added the deprioritized label 2026-03-25 23:29:25 +00:00
Sign in to join this conversation.
3 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Timmy_Foundation/the-nexus#94