Integrated: 8372203: Piecewise linear easing function
Michael Strauß
mstrauss at openjdk.org
Thu Dec 4 21:49:22 UTC 2025
On Wed, 19 Nov 2025 21:36:36 GMT, Michael Strauß <mstrauss at openjdk.org> wrote:
> Implementation of the [linear](https://www.w3.org/TR/css-easing-2/#the-linear-easing-function) easing function, which is now widely supported by all browsers, but still missing in JavaFX.
>
> It allows developers to approximate arbitrary easing functions with linear segments:
>
>
> linear(
> /* Start to 1st bounce */
> 0, 0.063, 0.25, 0.563, 1 36.4%,
> /* 1st to 2nd bounce */
> 0.812, 0.75, 0.813, 1 72.7%,
> /* 2nd to 3rd bounce */
> 0.953, 0.938, 0.953, 1 90.9%,
> /* 3rd bounce to end */
> 0.984, 1 100% 100%
> )
>
>
> <img src="https://github.com/user-attachments/assets/73aac0d4-0185-47c5-8791-bdb247eb69c8" width="400"/>
This pull request has now been integrated.
Changeset: 05d6f544
Author: Michael Strauß <mstrauss at openjdk.org>
URL: https://git.openjdk.org/jfx/commit/05d6f544344b3520516cedf99bd4a13f96332002
Stats: 862 lines in 13 files changed: 844 ins; 2 del; 16 mod
8372203: Piecewise linear easing function
Reviewed-by: angorya, kcr
-------------
PR: https://git.openjdk.org/jfx/pull/1977
More information about the openjfx-dev
mailing list