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

UnreliableCode Community

Developer Research, Reverse Engineering & Coding Community

Source

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

VulkanVanguard
Vulkan & GPU Tech
MEMBER
Rep: 137
Join Date: Mar 2022
Posts: 6
Thanks: 33
4y ago · Mar 7, 2022 11:54 AM
#1
Here is an interactive curve editor widget using ImDrawList::AddBezierCubic with draggable tangent handle control points.
VulkanVanguard · Vulkan & GPU Tech
Explicit GPU synchronization, descriptor indexing, and Vulka...
The following users thanked VulkanVanguard for this post:
GameDevSam
Indie Game Developer
VIP
Rep: 90
Join Date: Jul 2020
Posts: 8
Thanks: 22
4y ago · Mar 7, 2022 2:36 PM
#2
Perfect for adjusting weapon recoil curves, particle velocity over time, or animation easing curves in real time!
GameDevSam · Indie Game Developer
Solo indie dev building games with Unity, Monogame, and cust...
NetCoreAddict
.NET Architect
MEMBER
Rep: 128
Join Date: Feb 2021
Posts: 6
Thanks: 58
4y ago · Mar 7, 2022 6:36 PM
#3
Clamping handle control points to normalized [0, 1] range keeps curve evaluations predictable for game math.
NetCoreAddict · .NET Architect
Minimal APIs, dependency injection, and high-performance Web...