2 Commits

Author SHA1 Message Date
superGeometry d2c31b1669 Every long dash (—) in the project replaced with a plain hyphen (-): the app's texts, Help, README, comments, styles and tests (433 in 91 files)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-07 14:01:30 +02:00
superGeometry 03ebeafc3b Speed: measured in the app (watering can, 160-mm ruler with 3700 faces / 11 000 edges) and fixed the slow spots; every faster way is checked against the old one:
- Freeform redraw while dragging or moving a slider: 21 ms -> ~1 ms. The smooth surface is a fixed weighted sum of the cage points for a given layout: the weights are worked out once per layout (subdivisionPlan, the same rules as subdivide + limitPoints, matching them to 1e-5 mm on 6 kinds of cage) and the GPU buffers are refilled in place
- Freeform self-crossing check: 11 -> 5 ms (cached weights, number keys)
- Showing a rebuilt model: 386 -> 16 ms for the ruler (its corners were de-duplicated by comparing every pair; now by position, same corners in the same order — tests/speed.test.ts)
- Picking (hover and tap): 10-14 -> 0.7 ms for the ruler (one combined matrix, no allocation, canvas size read once, far edge pieces skipped first)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-06 23:49:48 +02:00