zigzag-engine/web
Maximus Gorog d679eeba6b Add Three.js renderer for half_braid geometry with variational elastic curves
- web/zigzag-renderer.jsx: React component with full variational curve solver
  - Minimizes E = τ·Σ|Δp|² + β·Σ|Δ²p|² + κ·|p_mid - waypoint|²
  - Solves tridiagonal + pentadiagonal linear system via Gaussian elimination
  - Self-loops rendered as parametric curves offset toward waypoint
  - Wire coloring by group: input (blue), crossing (purple), output (green)

- web/index.html: Minimal HTML loading React/Three.js from CDN

Features:
  - Interactive orbit controls (drag + wheel zoom)
  - Control panel with sliders: Tension τ, Bending β, Waypoint κ, Resolution
  - Toggles for waypoints, surfaces, labels
  - Dark theme with gold accents

Coordinate mapping: coord[0]→z, coord[1]→y, coord[2]→x with scale 1.2

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-04-08 01:07:06 -06:00
..
index.html Add Three.js renderer for half_braid geometry with variational elastic curves 2026-04-08 01:07:06 -06:00
zigzag-renderer.jsx Add Three.js renderer for half_braid geometry with variational elastic curves 2026-04-08 01:07:06 -06:00