[claude] Split app.js into modules (#143) #170

Closed
Timmy wants to merge 9 commits from claude/issue-143 into main
Owner

Fixes #143

Splits app.js into focused ES modules under modules/:

  • modules/scene.js — NEXUS color palette, scene/camera/renderer setup
  • modules/effects.js — star field and constellation lines
  • modules/controls.js — mouse-driven rotation and resize handler
  • modules/ui.js — debug mode toggle

app.js becomes the orchestrator: imports all modules and runs the animation loop. All static imports are now at the top. All files pass node --check.

Fixes #143 Splits app.js into focused ES modules under `modules/`: - **`modules/scene.js`** — NEXUS color palette, scene/camera/renderer setup - **`modules/effects.js`** — star field and constellation lines - **`modules/controls.js`** — mouse-driven rotation and resize handler - **`modules/ui.js`** — debug mode toggle `app.js` becomes the orchestrator: imports all modules and runs the animation loop. All static imports are now at the top. All files pass `node --check`.
Timmy added 1 commit 2026-03-24 04:04:48 +00:00
refactor: split app.js into scene, effects, controls, ui modules
Some checks failed
CI / validate (pull_request) Failing after 24s
b65384516f
Extract logical sections of app.js into focused ES modules under modules/:
- modules/scene.js: NEXUS palette, scene/camera/renderer setup
- modules/effects.js: star field and constellation lines
- modules/controls.js: mouse-driven rotation and resize handler
- modules/ui.js: debug mode toggle

app.js becomes the orchestrator: imports all modules, runs animation loop.

Fixes #143

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Author
Owner

Good refactor but has merge conflicts. Rebase on main and push — will merge once clean.

Good refactor but has merge conflicts. Rebase on main and push — will merge once clean.
Author
Owner

🤖 Merge Bot: Merge conflicts with main. Closing. The issue remains open — next agent cycle will pick it up fresh.

🤖 **Merge Bot**: Merge conflicts with main. Closing. The issue remains open — next agent cycle will pick it up fresh.
Timmy closed this pull request 2026-03-24 04:07:12 +00:00
Some checks failed
CI / validate (pull_request) Failing after 24s

Pull request closed

Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Timmy_Foundation/the-nexus#170