Open tomorrowevening opened 6 months ago
to clarify:
to illustrate: while relative to the plane works when the delta in y-values is not close to 0
it creates enormous values once it does come close to 0
if you then start moving the points you will get the erratic behavior as seen above
my proposal: have the y-value of the bezier's handles be defined in an absolute unit, while the x-value is relative to the distance from 1 point to the consecutive point.
an example of how that looks like:
Once a keyframe has easing on both sides, changing the value in-editor results in exponential curvature.
https://github.com/theatre-js/theatre/assets/626143/792a2e3f-6028-4f4e-bd59-0d6d9384cde1