Skip to content

fix(convex): stabilize bezel and implement Lumn-style ambient rim lighting - #141

Open
berlin-566 wants to merge 12 commits into
mainfrom
fix/convex-edge-lighting-stabilization
Open

berlin-566 wants to merge 12 commits into
mainfrom
fix/convex-edge-lighting-stabilization

Conversation

@berlin-566

@berlin-566 berlin-566 commented Oct 14, 2026 •

Copy link
Copy Markdown
Member

Overview

Transforms ambient edge lighting into authentic Lumn-style ambient rim lighting (inspired by trylumn.xyz and macOS ambient rim aesthetics) with universal browser/system audio reactivity, dual-tone wave drift, and bezel stabilization:

1. Authentic Lumn Dual-Pass Ambient Glow

  • Zero Solid Lines / Borders: Completely eliminated static ShapePath geometries, opaque strokes, and stacked MultiEffect brighteners that caused thick glitchy white lines or frozen borders.
  • Pass 1 (Atmospheric Bloom Spill): Deep inward-diffusing gradient wash spilling 20px–60px into screen margins.
  • Pass 2 (Luminous Radiant Core): Rich, vibrant core luminescence hugging the screen perimeter with zero sharp borders.
  • 4-Corner Seamless Radial Blends: Hardware-accelerated radial diffusers at all four corners eliminate seams and blend curves organically.

2. Universal Browser & System Audio Reactivity

  • PipeWire / PulseAudio Integration: Configured cava.conf with [input] method = pulse, source = auto to capture all system audio streams (YouTube, Chrome, Firefox, Brave, Spotify, games, etc.).
  • Live Spectrum Monitoring: Updated CavaService.qml to keep Cava active whenever edge lighting is enabled (SettingsService.edgeLightingEnabled), reacting instantly when browser playback starts.
  • Sub-Bass Energy Punch: Low-frequency spectrum analysis (bars 0..11) powers real-time inward bloom expansion and brightness pulsing with 40ms snappy attack and 280ms velvety organic decay.
  • Ethereal Idle Breathing: Sinusoidal breathing oscillation (idleGlow) keeps the display edges calmly alive when music is paused.

3. Continuous Dual-Tone Wave Drift

  • Smooth Perimeter Rotation: Dual-tone color palette (Primary 60% / Secondary 40% from album art or custom choice) smoothly drifts around the perimeter at native display refresh rates (60/120/144 FPS).
  • Direction & Speed Modulation: Seamlessly respects SettingsService.edgeLightingDirection (Clockwise / Counter-Clockwise) and SettingsService.edgeLightingSpeed.

4. Bezel Stabilization & Layering

  • Fixed bezel frame (shellFrameContainer.bezelSize) and input region mask at the standard 8px bezel.
  • Anchored edge lighting to display bounds at z: 9 directly behind the bezel, ensuring clean masking along bezel curves with 100% click-through for windows beneath.

@berlin-566 berlin-566 changed the title fix(convex): stabilize bezel width and resolve edge lighting scope error fix(convex): stabilize bezel and implement Lumn-style ambient rim lighting Oct 15, 2026
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