4a5594ec22
Changing the interval option on a live useAnimation was a no-op (it was captured once at setup). interval now accepts a MaybeRefOrGetter<number> (strict superset of number); while active, a change resets frame/time/delta to 0 and re-subscribes at the new interval; while inactive the new value is recorded and applies on the next activation. Mirrors Ink's shouldReset gating (use-animation.ts), which recomputes safeInterval every render and resets only when active. Adds 3 tests (live change while active resets; while inactive doesn't; plain number still works). Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>