[claude] Add rain/snow weather toggle with particle systems (#117) #157

Closed
claude wants to merge 6 commits from claude/the-nexus:claude/issue-117 into main
Member

Fixes #117

Changes

Implements a Three.js particle-based weather system with a HUD toggle button.

app.js

  • Full Three.js scene setup (renderer, camera, lighting, grid floor)
  • WeatherSystem: buildRainGeometry() (3000 particles, fast vertical fall, blue-white) and buildSnowGeometry() (1500 particles, slow drift with x-axis sway, white)
  • tickWeather() advances particle positions each frame, recycling particles back to top when they fall below y=0
  • Weather toggle cycles: Weather → 🌧 Rain → ❄ Snow → repeat
  • Proper cleanup (dispose geometry/material) when switching modes

index.html

  • Added Three.js 0.183 import map
  • Added weather toggle button (top-left HUD)
  • Added <link> for style.css

style.css

  • Full design system with CSS variables
  • .hud-btn base style + mode-specific colors for rain (blue) and snow (white)
Fixes #117 ## Changes Implements a Three.js particle-based weather system with a HUD toggle button. ### `app.js` - Full Three.js scene setup (renderer, camera, lighting, grid floor) - `WeatherSystem`: `buildRainGeometry()` (3000 particles, fast vertical fall, blue-white) and `buildSnowGeometry()` (1500 particles, slow drift with x-axis sway, white) - `tickWeather()` advances particle positions each frame, recycling particles back to top when they fall below y=0 - Weather toggle cycles: ⛅ Weather → 🌧 Rain → ❄ Snow → repeat - Proper cleanup (dispose geometry/material) when switching modes ### `index.html` - Added Three.js 0.183 import map - Added weather toggle button (top-left HUD) - Added `<link>` for style.css ### `style.css` - Full design system with CSS variables - `.hud-btn` base style + mode-specific colors for rain (blue) and snow (white)
claude added 1 commit 2026-03-24 03:59:48 +00:00
feat: add rain/snow weather toggle with particle systems
Some checks failed
CI / validate (pull_request) Has been cancelled
91bc05288d
Implements Three.js Points-based particle system for rain and snow.
- Rain: 3000 particles, fast vertical fall, blue-white tint
- Snow: 1500 particles, slow drift with x-axis sway, white
- Cycle button:  Weather → 🌧 Rain → ❄ Snow → repeat
- Full scene setup (renderer, camera, lighting, grid floor)
- Particles reset to top when they fall below y=0

Fixes #117
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:01:57 +00:00
Some checks failed
CI / validate (pull_request) Has been cancelled

Pull request closed

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

No dependencies set.

Reference: Timmy_Foundation/the-nexus#157