Want to talk about ImAnim: Animation Engine for Dear ImGui (@ocornut)? (:
https://news.ycombinator.com/item?id=46109080
https://github.com/soufianekhiat/ImAnim
1/8
Lot of small features but I try to keep the front end simple. We have tween, clip.
We a clip we can easily create sequences. I was inspired AnimeJS (by @juliangarnier).
https://github.com/soufianekhiat/ImAnim
2/8
And with stagger we can produce the same anim with differences each time, and with variation each repeat can be different (speed, timing, ...)
3/8
I added support for 2D Transform with different mode for angle blending: shortest, longest, clockwise, ...
4/8
The non trivial part was support of text and path. I built properly the inverse CDF to be able to have constant speed along a path (bezier, quadratic, ...)
5/8
And for natural motion I added some noise Perlin, Worley, ... And other procedural motion (can be improved in the future) TBD!
6/8
And all of that is making it trivially integradable on Dear ImGui.
7/8
And obviously as it's an animation engine for UI it had all easing function you want. Including some parametrizable Bezier, Physics Spring or even a custom callback for the creative ones.
8/8
@SoufianeKHIAT @ocornut But why? Debug panels don't need animation.
@ringoz @ocornut because you have more usecases of Dear ImGui than debug panel. Today full commercial application are build with Dear ImGui.
@SoufianeKHIAT @ocornut Hmm, yeah. I’ve seen those ugly apps, energy hogs refreshing 120 times per second. Now they can justify such architecture by animation needs, cool!
@SoufianeKHIAT Old screenshots are still ugly. Modern PWA version is better, but doesn't use Dear ImGui anymore.
@ringoz Out of curiosity, do you have examples of Desktop UI that you don't consider ugly?