15 Commits

Author SHA1 Message Date
Kovid Goyal
3a46e2fe0b Fix #8692 2025-05-29 08:17:45 +05:30
Kovid Goyal
228d9cfc1c Fix incorrect interpolation for animation cubic bezier curves when falling back to bisection method
See #8401
2025-03-04 17:20:34 +05:30
Kovid Goyal
0cbccb4948 use a named magic constant 2024-09-20 09:11:18 +05:30
Kovid Goyal
cd3034cb67 Merge branch 'master' of https://github.com/Delta2Force/kitty 2024-09-19 21:45:07 +05:30
delta2force
1077ba0a4d fix: limit bisection method iterations 2024-09-19 16:52:53 +02:00
Kovid Goyal
3cf07e27a1 ... 2024-07-19 09:25:12 +05:30
Kovid Goyal
3db2ce33b1 Handle bezier easing function returning negative values 2024-07-19 08:27:58 +05:30
Kovid Goyal
e1730b4c84 Use more comprehensive linear test for bezier curves 2024-07-18 22:25:02 +05:30
Kovid Goyal
21e19a90f4 Add test for multiple function handling 2024-07-18 22:25:02 +05:30
Kovid Goyal
9c75ea795d Recognize more linear bezier curves 2024-07-18 22:25:02 +05:30
Kovid Goyal
39dfa75fe7 Add test for steps easing function value calculation 2024-07-18 22:25:02 +05:30
Kovid Goyal
fc13b06b35 Implement proper unit bezier easing function
Code based on WebKit
https://github.com/WebKit/WebKit/blob/main/Source/WebCore/platform/graphics/UnitBezier.h
2024-07-18 22:25:02 +05:30
Kovid Goyal
9ac81c45b1 Cleanup steps animation function definition 2024-07-18 22:25:02 +05:30
Kovid Goyal
0a707b5c33 Move work on animation implementation 2024-07-18 22:25:02 +05:30
Kovid Goyal
cd320e05c1 Implement simple easing curves 2024-07-18 22:25:02 +05:30