Home / Forums / Drawing Interactive Bezier Curves & Spline Editors in Dear ImGui [Discussion #6]

UnreliableCode Community

Developer Research, Reverse Engineering & Coding Community

Source

Drawing Interactive Bezier Curves & Spline Editors in Dear ImGui [Discussion #6]

NativeCoder
Low-Level C++ / ASM
VIP
Rep: 374
Join Date: Jun 2025
Posts: 12
Thanks: 20
1y ago · Jun 25, 2025 4:45 PM
#1
Here is an interactive curve editor widget using ImDrawList::AddBezierCubic with draggable tangent handle control points.
NativeCoder · Low-Level C++ / ASM
Passionate about cache locality, SIMD instructions, and raw ...
The following users thanked NativeCoder for this post:
BlazorKing
Full-Stack C#
MEMBER
Rep: 199
Join Date: Oct 2023
Posts: 6
Thanks: 26
1y ago · Jun 25, 2025 6:25 PM
#2
Perfect for adjusting weapon recoil curves, particle velocity over time, or animation easing curves in real time!
BlazorKing · Full-Stack C#
Building real-time web applications and desktop tools with B...
ShaderGuru
HLSL & GLSL Shader Dev
MEMBER
Rep: 219
Join Date: May 2024
Posts: 6
Thanks: 62
1y ago · Jun 27, 2025 12:25 AM
#3
Clamping handle control points to normalized [0, 1] range keeps curve evaluations predictable for game math.
ShaderGuru · HLSL & GLSL Shader Dev
Post-processing shaders, stencil buffer tricks, and screen-s...