Skip to main content

Module ease

Module ease 

Source
Expand description

Ease curves for a skin that works in floats: ease_f32 eases through shuyi_core’s integer curves (shuyi_core::ease), so a curve is the same on every machine.

Functions§

ease_f32
p (0 to 1; clamped, not a number counts as 0) eased by ease: turned into 1/65536, eased by the integer curve and turned back. A curve that overshoots (Back, Elastic) gives values below 0 and above 1.