← Back

ofxImAnim

github.com/danoli3/ofxImAnim · @danoli3
OF 0.12 Releases GUI Animation Typography

openFrameworks wrapper addon for @soufianekhiat/ImAnim

0 0 Last commit 1mo ago Created 6mo ago

README

ofxImAnim



ofxaddons_thumbnail

License

ImAnimDemo_Hero_1 0 0

openFrameworks wrapper addon for ImAnim — a lightweight, zero-dependency animation engine for Dear ImGui.

ImAnim brings modern, buttery-smooth UI animations (tweens, timeline clips, paths, procedural effects, color blending, etc.) to ImGui while staying true to its immediate-mode philosophy. ofxImAnim makes it dead-simple to use all of that power inside openFrameworks (together with ofxImGui).

Example



ofxImAnim

---

Features



---

Installation



1. Clone or download this repository into your openFrameworks/addons/ folder (or use the Project Generator). 2. Add ofxImAnim (and its dependency ofxImGui) to your project. 3. Make sure you have a working ImGui integration (recommended: ofxImGui).

---

Dependencies



---

Quick Usage



After ImGui::NewFrame() in your ofApp::draw():

// Update animation engine
iam_update_begin_frame();
iam_clip_update(ImGui::GetIO().DeltaTime);

// Your ImGui code with animations...
if (ImGui::Button("Animate Me")) {
    // example tween (see original ImAnim for full API)
    iam_tween_float("myValue", 0.0f, 1.0f, 0.6f, IAM_EASE_OUT_BOUNCE);
}

// After ImGui rendering
iam_clip_update(); // (or call once per frame as shown above)




Animated Tag
ImAnimDemo_a1h8amHeJp
Ripple Button
ImAnimDemo_XVoOtKSf3G
"Wait" Button
ImAnimDemo_2RPgqEAHHm
Data Visualization
ImAnimDemo_VnmpjDbMZh
ImAnimDemo_zI6R85WazP

Showcase



Visual examples of ImAnim capabilities in action.

Stagger Animations



List StaggerGrid StaggerCard Stagger
ListGridCards

Easing & Curves



Easing GalleryCustom BezierWave Animations
EasingBezierWaves

Colors & Transforms



Color BlendingGradientTransforms
ColorGradientTransform

Paths & Text



Motion PathText EffectsVariations
PathTextVariations

Procedural & Integration



NoiseImGui WidgetsImDrawList
NoiseImGuiDrawList

Additional Examples



Oscillator WavesTransform Layers
Waves2Transform2

Get this addon

HTTPS
SSH

Latest release

1.0.2 published 1mo ago
Full Changelog: https://github.com/danoli3/ofxImAnim/commits/1.0.2