Skip to content

🎨 Palette: Audio-Reactive Twilight Glow#626

Merged
ford442 merged 1 commit intomainfrom
palette-twilight-glow-7975053870411146627
Apr 11, 2026
Merged

🎨 Palette: Audio-Reactive Twilight Glow#626
ford442 merged 1 commit intomainfrom
palette-twilight-glow-7975053870411146627

Conversation

@ford442
Copy link
Copy Markdown
Owner

@ford442 ford442 commented Apr 11, 2026

Implemented the "Plants Twilight Glow" feature from the implementation plan. Added a species-specific, audio-reactive twilight glow to trees and mushrooms that activates dynamically between sunset and dawn.


PR created automatically by Jules for task 7975053870411146627 started by @ford442

Visual Change: Trees and mushrooms now exhibit an audio-reactive, bioluminescent glow during the twilight and night phases of the day/night cycle. The glow fades in before sunset and fades out before dawn. The colors are species-specific and configured in `CONFIG.glowColorMap`.

"Juice" Factor: The glow pulses organically to the low-frequency audio (kick drum) with a phase offset applied per-instance to prevent a mechanical, uniform pulse. This creates a breathing, living bioluminescent ecosystem.

Technical:
- Added `CONFIG.glow` settings (`startOffsetMinutes`, `endOffsetMinutes`, `glowPulseFrequency`, `glowPulseAmplitude`, `glowIntensityMax`, `glowColorMap`).
- Updated `AtmosphereManager.getTwilightGlowIntensity` to respect the configured time windows.
- Injected TSL logic into `mushroom-batcher.ts` and `tree-batcher.ts` to calculate phase-offset idle pulses mixed with audio reactivity, multiplied by the twilight window strength, and added to the emissive outputs of their materials.

Co-authored-by: ford442 <9397845+ford442@users.noreply.github.com>
@google-labs-jules
Copy link
Copy Markdown
Contributor

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

@ford442 ford442 merged commit 66e5d56 into main Apr 11, 2026
2 checks passed
@ford442 ford442 deleted the palette-twilight-glow-7975053870411146627 branch April 11, 2026 12:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant