Skip to main content

CONSTANT_DECELERATION_FAST

Constant CONSTANT_DECELERATION_FAST 

Source
pub const CONSTANT_DECELERATION_FAST: f32 = 1400.0 /* 1400f32 */;
Expand description

The constant deceleration the fast profile adds on top of the drag, in px·s⁻² — the reference’s own figure.

Drag alone is geometric: the velocity is multiplied down each second and reaches nought only at infinity, which is exactly right for a surface that was thrown. A trackpad gesture is not a throw, and a motion that never quite settles under one reads as the content drifting. This term is what gives it an end.