mirror of
https://github.com/phranck/TUIkit.git
synced 2026-06-20 09:54:37 +00:00
Inspired by cool-retro-term, implements vintage CRT display effects: **New Component: CRTEffects.tsx** - Scanlines (horizontal raster lines) - Screen curvature simulation (vignette) - Glow/bloom effect - Subtle flicker animation - Animated noise overlay (Canvas API) - Moving scanline sweep **CSS Animations (globals.css)** - @keyframes crt-flicker: Subtle brightness variation (0.15s loop) - @keyframes crt-scanline: Horizontal line sweep (8s loop) **Integration (HeroTerminal.tsx)** - CRT effects only active when terminal is powered+zoomed - Optimized parameters: - scanlineIntensity: 0.12 - curvature: 0.08 - glowIntensity: 0.25 - flickerIntensity: 0.02 - noiseIntensity: 0.04 Effects layer at z-index 200 with mix-blend-mode screen. All effects are pointer-events-none to preserve interactivity.