Skip to content

feat: Neues Laser-Preset 'Hyperdrive' hinzugefügt - #94

Closed
StrikerLUL wants to merge 1 commit into
mainfrom
feat-hyperdrive-laser-preset-7460924653821308795
Closed

StrikerLUL wants to merge 1 commit into
mainfrom
feat-hyperdrive-laser-preset-7460924653821308795

Conversation

@StrikerLUL

Copy link
Copy Markdown
Owner

Dieser PR implementiert das angeforderte Feature:
1. Neues Laser-Preset (andere Farben, Bewegungsmuster)

Das neue Preset "Hyperdrive" wurde hinzugefügt.

  • Farben: Neon Pink und Cyan.
  • Bewegungsmuster: Ein schnelles "Warp"-Verhalten, bei dem die einzelnen Laserstrahlen pulsierend und phasenversetzt abgelenkt werden, um einen optischen Tunneleffekt oder Hyperraum-Sprung zu simulieren.
  • Implementierung: Vollständig integriert in die Three.js Shader (WebGPU) sowie den CPU Fallback, um maximale Kompatibilität zu gewährleisten. Das neue Theme kann über das reguläre Dropdown-Menü in der Benutzeroberfläche ausgewählt werden.

Alle Tests verliefen erfolgreich und die Änderung wurde visuell über Playwright validiert.


PR created automatically by Jules for task 7460924653821308795 started by @StrikerLUL

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>
@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.

Copilot AI review requested due to automatic review settings July 1, 2026 03:49

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 via livePatternDecider when the hyperdrive theme is active.
  • Added the hyperdrive color palette to CFG.themes and 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.

Comment thread src/main.js
Comment on lines 3724 to +3729
} 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';
@StrikerLUL StrikerLUL closed this Sep 11, 2026
@StrikerLUL
StrikerLUL deleted the feat-hyperdrive-laser-preset-7460924653821308795 branch September 12, 2026 15:15
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.

2 participants