REMOVED:
- AtomGlitch.tsx (countdown 3D atom)
- WebGLBackground.tsx (PCB 3D scene)
- WebGLCards.tsx (scroll animations)
- webgl-cards.css
- All GLB models (models3d/)
- Orbitron + Space Mono fonts
KEPT:
- static.astro (accessible version, no JS)
- Loading screen with BMU photo on preview
- Dark site CSS tokens in global.css
- bmu-assembly.jpg photo
SIMPLIFIED:
- index.astro: countdown without WebGL (placeholder div ready)
- preview.astro: loading screen + sections, WebGL placeholder ready
- Both pages have empty #webgl-* divs for new WebGL implementation
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Camera audit fixes:
- Board bounds: X[-74,81] Y[-43,63] Z[-17,150] mm
- After -π/2 rotation, scene center ≈ (4, 66, -10)
- All camera stops now look at board center
- Overview: Y=250 (sees full 155mm assembly height)
- Close-ups: Y=80-140 (proper zoom on zones)
- Fog: 150-500mm range
Cleanup:
- Removed SwitchBoard() dead code
- Deleted orphan GLBs: bmu-v2-full.glb (1.6MB), pcb-bmu-v2.glb (269KB), bmu-switch-mosfet.glb (370KB)
- Saved 2.2MB from production bundle
Label positions:
- All SectionLabels repositioned to match board zones in scene coords
- MCU/ANALOG at Y=90 (top), POWER/FORMATION at Y=30 (bottom)
- MISSIONS at Y=110, CONTACT at center (4, 66, -10)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Full-screen loading overlay with BMU.jpeg from KXKM repo
- Title "L'electron rare" with cyan accent
- Animated progress bar (gradient cyan → amber)
- Rotating status messages (electronics-themed)
- Floating animation on BMU photo
- Auto-detects when WebGL canvas renders, then fades out (1s)
- Falls back gracefully if WebGL never loads
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Assembly now exports ALL 380 meshable objects (was 76)
- Includes: 4x switch MOSFET boards, BMU v2, I2C repeater, all SMD components
- Subsampled to 267K faces / 5.7MB GLB for web performance
- Removed BoardTitle silkscreen text overlay (was white labels on board)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
PCB 3D Models:
- bmu-v2-full.glb (1.6MB) — complete BMU v2 from FreeCAD with all components
- bmu-switch-mosfet.glb (369KB) — switch MOSFET daughter board
- Source: KXKM_Batterie_Parallelator branch object-orriented
- Converted via cascadio/trimesh from STEP
Fonts:
- Orbitron Bold (17KB) — geometric futuristic font for 3D text
- Space Mono Bold (80KB) — tech monospace
- Applied to all WebGL text (section labels, silkscreen, countdown)
Countdown (AtomGlitch):
- 3x "ER" logo at nucleus center, each on different rotation axis
- Cyan, amber, green glow variants
- Orbitron font for all orbital text
WebGL Background:
- RealPCB now uses bmu-v2-full.glb (real FreeCAD model)
- SwitchBoard added as secondary board
- Orbitron font for section labels
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Three.js + React Three Fiber + postprocessing (bloom, chromatic aberration, glitch, scanlines)
- Nucleus with pulsing energy core, wireframe icosahedron shell
- 3 electron orbits with trail particles + energy arcs
- 600 particle cloud with organic movement
- Circular orbital text: title, countdown timer, subtitle curved on 3D rings
- Mouse interactions: camera parallax, atom speed boost, nucleus glow on proximity
- Camera smooth lerp follow with gentle auto-drift
- Font fix: woff2 → ttf for troika-three-text compatibility
- Logo: static mark instead of missing sprite frames
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>