Commit Graph

4 Commits

Author SHA1 Message Date
abe3f0a944 fix(wall): Implement true double buffering to eliminate visual glitches
- Created backBuffer canvas (same size as visible)
- All tile drawing now uses bbCtx (backBuffer context)
- Single ctx.drawImage(backBuffer) blit at frame end
- Eliminates tearing and square artifacts from partial renders
- BackBuffer resized in sync with visible canvas

Technical: Classic double buffering pattern - compose entire
frame offscreen, then atomic copy to display buffer.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-15 11:44:28 +01:00
528e9e508c feat(wall): FFT histogram + improved BPM detection + performance fixes
FFT Histogram:
- Colorset-mapped frequency bars (bottom center)
- Each bar corresponds to a TAO_SPECTRUM color
- Colors pulse brighter based on FFT energy

BPM Detection:
- Lowered thresholds (0.03 kick, 0.08 flux)
- Adaptive threshold tracks average energy
- Faster detection (3 onsets vs 4)
- More responsive smoothing (alpha 0.4)
- 200ms debounce between beats

Performance:
- Canvas scale 2x (was 10x)
- Limited 3D tilt ±12°/±10°
- Optimized tiling margins
- Wrapper-based overflow clipping

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-15 11:25:55 +01:00
d339d56be6 feat(wall): Auto-hide UI on mouse idle + enhanced readability
- UI fades in on mouse/touch/key activity
- UI fades out after 2.5s idle (smooth 0.4s transition)
- When visible: larger text, better contrast, glow effects
- Joystick/depth/pixel controls enhanced with backdrop blur
- Colorset buttons larger (28px) with shadow
- Status bar text with glow effect

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-15 11:08:03 +01:00
991e68ea22 feat(samples): Add MAGIC·CHESS·360 wall visualization
Standalone HTML art piece with:
- 16 colorsets (default, alchy, emojiz, punk, hollistique, tantrique, etc.)
- 3D CSS perspective joystick control (rotateX/rotateY)
- Color cycle toggle for spectrum animation
- Extended tiling for full 3D rotation coverage
- Depth slider, pixel ring, auto-rotate controls

Deployed at: https://wall.maegia.tv/

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-15 11:02:05 +01:00