Zigzag engine: cubical/string-diagram constructions in Rust. Reference for topolei.
Find a file
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
examples Fix explosion.rs over-approximation: use cospan rewrite data for correct covering relations 2026-04-08 00:54:18 -06:00
fixtures Fix explosion.rs over-approximation: use cospan rewrite data for correct covering relations 2026-04-08 00:54:18 -06:00
src Fix explosion.rs over-approximation: use cospan rewrite data for correct covering relations 2026-04-08 00:54:18 -06:00
tests Fix explosion.rs over-approximation: use cospan rewrite data for correct covering relations 2026-04-08 00:54:18 -06:00
web Add Three.js renderer for half_braid geometry with variational elastic curves 2026-04-08 01:07:06 -06:00
.gitignore Fix explosion.rs over-approximation: use cospan rewrite data for correct covering relations 2026-04-08 00:54:18 -06:00
Cargo.lock Fix explosion.rs over-approximation: use cospan rewrite data for correct covering relations 2026-04-08 00:54:18 -06:00
Cargo.toml Fix explosion.rs over-approximation: use cospan rewrite data for correct covering relations 2026-04-08 00:54:18 -06:00