Files
the-nexus/style.css
Alexander Whitestone ec6dc0aa01
Some checks failed
CI / validate (pull_request) Has been cancelled
feat: add lens flare effect for bright light sources (#109)
Implement Three.js scene with procedural lens flare using CanvasTexture:
- Build radial glow, star-burst streak, ring, dot, and hex aperture
  textures from canvas draws — no image assets required
- Attach Lensflare + LensflareElement chain to the sun PointLight;
  Three.js handles screen-space projection and occlusion automatically
- Sun arcs slowly across sky, so flare angle and ghost positions shift
  over time giving a live optical effect
- Add starfield (4 000 points), grid floor, and portal rings loaded
  from portals.json to give the flare context in a real 3D scene
- Wire audio toggle, chat panel, and WebSocket events

Fixes #109

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-23 23:59:42 -04:00

3.1 KiB