RFR: 8372203: Piecewise linear easing function [v8]
Nir Lisker
nlisker at openjdk.org
Thu Nov 27 13:22:06 UTC 2025
On Thu, 27 Nov 2025 12:43:45 GMT, Michael Strauß <mstrauss at openjdk.org> wrote:
>> modules/javafx.graphics/src/main/java/javafx/animation/Interpolator.java line 100:
>>
>>> 98: * Returns a piecewise-linear interpolator with the specified control points.
>>> 99: * <p>
>>> 100: * Each control point associates an input progress value (X) with an output progress value (Y).
>>
>> I think an explanation of what these progress values are will help, especially with names such as "input" and "output" associated with them instead of the `x, y` coordinate value names one could expect.
>
> I've added a section to explain that.
Much better!
-------------
PR Review Comment: https://git.openjdk.org/jfx/pull/1977#discussion_r2568651022
More information about the openjfx-dev
mailing list