5 Commits
Author SHA1 Message Date
admin 6558c6096a Merge pull request #1 from Alpaq92/keep-at-rest
Name the keep switch for what it does: nka_set_keep_at_rest
2026-10-12 09:13:47 +02:00
adminandClaude Opus 5.5 3067dd406a Name the keep switch for what it does: nka_set_keep_at_rest
nka_set_lazy_init(a, 0) read as a double negative at every call site. The
switch is now nka_set_keep_at_rest(a, on), off by default, so behavior is
unchanged: a tween first asked at its target is stored only when it is on.
nka_lazy_init becomes nka_keep_at_rest.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-12 09:09:13 +02:00
adminandClaude Opus 5.5 9e4eaf6a12 Tween progress, settled tweens and timeline fixes
nka_tween_progress says how far a running tween has got, or -1 when it is
not running. A tween at rest no longer starts a run when only its curve,
policy or color space changes.

The debug timeline gives the pointer over a key's dot that key's tooltip,
even where the segment before it ends, and widens its ruler's step until
the labels fit, so a narrow timeline no longer prints them over each other.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-06 15:45:09 +02:00
adminandClaude Opus 5.5 71ee2af288 CI fixes: gcc, UBSan and MSVC
A clip with no keys made pointers into a scratch block that was never
allocated; a shake with no decay time divided by it; and a style test
compared a struct gcc could not prove was set.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-06 13:37:50 +02:00
adminandClaude Opus 5.5 dfc020e618 Animation for Nuklear
NukAnim is one C99 header: a port of ImAnim by Soufiane KHIAT, with
ImAnimate's animate by Raidcore. It has tweens, easing, color spaces,
clips and timelines, motion paths, procedural motion, and the Nuklear
side: scrolling, style crossfades, text effects and an inspector.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-06 13:30:48 +02:00