Interpolation model spike (Task 0) and the sampan !1

merged merged by cmc on 2026-10-19 20:22 UTC · krz/fold:spike-interpolation into main

Discussion

cmc

Batch A. Closes #1.

  • spikes/interpolation: measures linear (M1) against solved (M2) crease angles on a letter fold, a degree-4 vertex, an inside reverse fold and a petal fold, and how densely a solved curve must be sampled. Run with swift run -c release --package-path spikes/interpolation.
  • docs/decisions/0001-interpolation-model.md: results and the decision, option A.
  • Plan: Task 0b and batch A2 (#8) added; Tasks 1, 3, 4, 6, 7, 8 and 15 amended for the axis tree, windows, solved curves and flagged non-rigid steps. Design doc's interpolation section rewritten.
  • Sampan chosen as v1's boat.

Results: independent folds are exact with linear angles but need per-axis windows, or two flaps folding toward each other collide at 120°. Coupled vertices tear with linear angles (gap 1.1–1.4 on a sheet of side 2) and are exact with solved curves; 257 samples with cubic interpolation keep the tear under 1e-6. Inside reverse folds have no rigid motion with the flap closed, so they are flagged non-rigid; Task 0b chooses their model and strain bound and settles the petal fold, the sampan's inversion and the masu's wall-raising.