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

UnreliableCode Community

Developer Research, Reverse Engineering & Coding Community

Source

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

AsmDisasm
x86_64 Disassembler Dev
MEMBER
Rep: 145
Join Date: Feb 2025
Posts: 23
Thanks: 36
3y ago · Sep 16, 2022 8:36 AM
#1
Here is an interactive curve editor widget using ImDrawList::AddBezierCubic with draggable tangent handle control points.
AsmDisasm · Zydis & Opcode Length Disassembly
The following users thanked AsmDisasm for this post:
PEHeader
PE Format & Linker Tech
VIP
Rep: 350
Join Date: Jun 2023
Posts: 35
Thanks: 95
3y ago · Sep 16, 2022 10:56 AM
#2
Perfect for adjusting weapon recoil curves, particle velocity over time, or animation easing curves in real time!
PEHeader | IMAGE_NT_HEADERS & Section Parsing
GhostHunter_x
Unity & Phasmo Modder
VIP
Rep: 275
Join Date: Apr 2023
Posts: 17
Thanks: 71
3y ago · Sep 17, 2022 11:56 AM
#3
Clamping handle control points to normalized [0, 1] range keeps curve evaluations predictable for game math.
GhostHunter_x · Phasmophobia & Unity Reverser
GhostAI, Sanity, EMF & Evidence inspection