ImAnim: animate values in Dear ImGui. Its core is the tween: a float, a vector or a color moves toward its target with an easing, frame by frame. Around it: springs, motion paths, text effects, and clips (timelines of keyframes).
Start with tween_float(), tween_vec2(), tween_color()...: each returns the current value, at each frame. Its
interactive manual, each demo next to its code, is in the ImGui Explorer.
Upstream repository · The book’s page
Modules¶
In imgui_bundle (from imgui_bundle import im_anim):
im_anim: 200 functions, 20 classes, 16 enums · the C++ view
Demos using it¶
The demos of the catalog that use it (the pictures link to their code and to the playground).

ImAnim: the interactive manual¶
The animations of ImAnim, section by section, with the code of each beside it.
More
Tweens, easings, oscillators, delays, callbacks, stagger, loops and chains, in Python and C++. From Dear ImGui Explorer, the interactive manual for Dear ImGui and its libraries.
Uses: ImAnim