Repository navigation
feat: Neues Laser-Preset 'Hyperdrive' hinzugefügt - #94
StrikerLUL wants to merge 1 commit into
Conversation
Implementiert die angeforderte Erweiterung für ein neues Laser-Preset: - Fügt 'Hyperdrive' zur Theme-Auswahl in der UI (index.html) hinzu. - Definiert die Neon Pink/Cyan Farbpalette in der Konfiguration (config.js). - Erweitert das PATTERN_IDS Mapping um 'hyperdrive': 23. - Implementiert die Bewegung und Opazität für das neue Preset in den WebGPU Shadern (laserVertexShader, laserSpotsVertexShader) sowie im CPU Fallback (updateInstancedLasers). - Konfiguriert den livePatternDecider, um das Hyperdrive Pattern bei ausgewähltem Theme zu aktivieren. Co-authored-by: StrikerLUL <155017234+StrikerLUL@users.noreply.github.com>
|
👋 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 New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
There was a problem hiding this comment.
Pull request overview
This PR adds a new laser preset/theme “Hyperdrive” to the LaserRave visual system, wiring it through the WebGPU/Three.js shader path, the CPU fallback animation path, and the UI theme selector.
Changes:
- Added a new pattern ID (
hyperdrive: 23) and implemented the Hyperdrive motion + opacity modulation in both laser vertex shaders. - Implemented the Hyperdrive motion + opacity modulation in the CPU fallback (
updateInstancedLasers), and enabled selecting it vialivePatternDeciderwhen thehyperdrivetheme is active. - Added the
hyperdrivecolor palette toCFG.themesand exposed it in the theme dropdown UI.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| src/main.js | Adds the Hyperdrive pattern ID and implements Hyperdrive behavior in shader + CPU paths; hooks the theme to the pattern decider. |
| src/config.js | Adds the Hyperdrive theme palette to the central theme configuration. |
| index.html | Adds “Hyperdrive” to the theme dropdown so users can select it. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| } else if (CFG.theme === 'bloodmoon' && playing && !isSilent) { | ||
| wanted = 'blood-sweep'; | ||
| } else if (CFG.theme === 'toxic' && playing && !isSilent) { | ||
| wanted = 'radioactive'; | ||
| } else if (CFG.theme === 'hyperdrive' && playing && !isSilent) { | ||
| wanted = 'hyperdrive'; |
Dieser PR implementiert das angeforderte Feature:
1. Neues Laser-Preset (andere Farben, Bewegungsmuster)
Das neue Preset "Hyperdrive" wurde hinzugefügt.
Alle Tests verliefen erfolgreich und die Änderung wurde visuell über Playwright validiert.
PR created automatically by Jules for task 7460924653821308795 started by @StrikerLUL