Hasty Briefsbeta

Bezier Curve as Easing Function in C++

10 hours ago
  • #C++20
  • #animation
  • #Bézier curves
  • Guest post by Łukasz Izdebski Ph.D. on implementing cubic Bézier curves as easing functions.
  • Library designed for C++20 and newer, with potential backward compatibility.
  • EasingCubicBezier<T> class for interpolation, focusing on X coordinates of control points.
  • Performance benchmarks compare five algorithms, showing Easing Cubic Bezier as most stable.
  • Easing Cubic Bezier offers low execution time and minimal variation, ideal for real-time animation.
  • Future work aims for maximum runtime performance with flexibility similar to cubic Bézier curves.