ai / easings.net

Easing Functions Cheat Sheet
https://easings.net
GNU General Public License v3.0
8.04k stars 673 forks source link

Exponential functions not accurate #160

Open isXander opened 2 years ago

isXander commented 2 years ago

image

ease in exp is the red line. as you can see, the line does not actually cross 0,0.

With the (x === 0 ? 0 : ...) this would make a noticeable jump

Futhermore, ease out exp also has the issue on the other end. image the blue line being ease out exp

isXander commented 2 years ago

as you can see with the if, there is a noticeable jump image