Better HN
topnewbestaskshowjobs
Log inSign up

SoufianeGfx

4 karma · joined Dec 1, 2025 (1y ago) · 9 submissions

Submissions

comment 1y ago · link · parent

Author (me): I updated the repo for being much simpler for new user. Like Dear ImGui, open ./examples/ and if you are in windows/Visual Studio just open: ImAnim_vs2022_Win64.sln And chose between win32_dx11, glfw3_opengl3 or sdl2_opengl3 You have *.bat or Makefile in each folder: glfw_opengl3 sdl2_opengl3 win32_directx11

Enjoy/

comment 1y ago · link · parent

I added simple_example for you, should now with zero setup.

comment 1y ago · link · parent

Otherwise if you are already a Dear ImGui user: https://news.ycombinator.com/item?id=46111925 Just add 2 files im_anim.h/cpp in your project and you're done! And if you want the demo add demo_im_anim.cpp and call ImAnimDemoWindow(). Don't over complicate things.

comment 1y ago · link · parent

If Claude can implement my todo list: * Lazy eval (cost only at the first run) * Animation clipping (evaluate only the visible one) I'll accept the PR.

comment 1y ago · link · parent

I depends on the field. On VFX/Game world, Dear ImGui seem to be the way to go. Almost all news comer in this field sells Dear ImGui based software. It's fast and light and trivially profilable that's what matter matter for real time applications. And bonus can be integrated in any platform in few hour of devs. Before having any ui in VR or game console (not necessary debug/dev tool) in Qt or anything else it will take ages.

comment 1y ago · link · parent

Exactly! And add the demo file to see it in action.

comment 1y ago · link · parent

For perf usage the demo for 100+ of anims (clip, tween, stagger, ...) it cost between 2-5 ms depending on your computer (that's not mean a proper benchmarks).

comment 1y ago · link · parent

The author here. You have various concepts but overall we store the start time and that's it :D the rest are details, clip, tween, easing function, anchor have surviving resizing, stagger to generate the same anim with variations. Or variations of clips, loop. Proper anim of colors in oklab, oklch, linear srgb, hsl, ... Anyway I cannot explain much it's really simple code with a userfriendly front-end.

comment 1y ago · link · parent

You should be run bootstrap and generate_project script. For ImPlatform I didn't have setup to tests all permutations. For ImPlatform you should try glfw-opengl3 or Win32-dx11 for windows.