mirror of
https://github.com/storytold/AniCraft.git
synced 2026-11-22 18:41:44 +01:00
A straight chain whose target lies on its own line gave every joint a zero turn; a stalled solve now bends its joints a little (at most four times) and keeps the best pose seen. The sweep budget rises to 2,048 so a 64-bone chain reaches from rest. Measured (dev profile, 200 targets each, from the rest pose): 2 bones 0.007 ms per solve, 10 bones 0.065 ms, 64 bones 4.7 ms; every target within 0.01 px (before: 64 bones missed 99 of 200 by up to 28.7 px).