Expand description
Time-based scroll physics shared by scrollable components.
The primitives in this module keep their state in floating point pixels so sub-pixel input is accumulated until it can be presented by the renderer.
Structsยง
- Exponential
Inertia - Exponentially decaying inertial motion with exact time integration.
- Scroll
Velocity - A two-dimensional velocity in pixels per second.
- Scroll
Velocity Tracker - A bounded, time-weighted velocity estimator for pointer samples.