MeasingsSee, tune and export easings

Spring default ease

Spring default is a spring: a damped oscillation tied to real time, described by bounce and a perceived duration. This preset uses bounce 0.5 with a perceived duration of 628 ms. GSAP has no built-in ease with this exact shape, so the code uses CustomEase.

Measings shows it on real UI animations and lets you fine-tune the curve before you copy the code.

Code

GSAP CustomEase

gsap.registerPlugin(CustomEase);
CustomEase.create("springDefault", "M0,0 C0.0104,0 0.0208,0.0502 0.0313,0.124 C0.0417,0.1978 0.0521,0.2949 0.0625,0.3945 C0.0729,0.4941 0.0833,0.5961 0.0938,0.688 C0.1042,0.7798 0.1146,0.8616 0.125,0.9281 C0.1458,1.0612 0.1667,1.1308 0.1875,1.1534 C0.2083,1.1761 0.2292,1.1556 0.25,1.1264 C0.2708,1.0973 0.2917,1.0604 0.3125,1.0334 C0.3333,1.0064 0.3542,0.9886 0.375,0.9803 C0.4167,0.9636 0.4583,0.9802 0.5,0.9903 C0.5417,1.0004 0.5833,1.0047 0.625,1.0043 C0.6667,1.0039 0.7083,1.0012 0.75,1.0001 C0.7917,0.9991 0.8333,0.9992 0.875,0.9995 C0.8958,0.9996 0.9167,0.9998 0.9375,0.9999 C0.9479,0.9999 0.9583,1 0.9688,1 C0.974,1 0.9792,1.0001 0.9844,1.0001 C0.987,1.0001 0.9896,1.0001 0.9922,1.0001 C0.9935,1.0001 0.9948,1.0001 0.9961,1.0001 C0.9967,1.0001 0.9974,1.0001 0.998,1.0001 C0.9984,1.0001 0.9987,1.0001 0.999,1.0001 C0.9992,1.0001 0.9993,1.0001 0.9995,1.0001 C0.9996,1.0001 0.9997,1.0001 0.9998,1.0001 C0.9998,1.0001 0.9998,1.0001 0.9999,1.0001 C0.9999,1.0001 0.9999,1.0001 0.9999,1.0001 C1,1.0001 1,1.0032 1,1");

gsap.to(".box", { x: 200, duration: 1.76, ease: "springDefault" });

CSS linear()

transition-timing-function: linear(0, 0.0017 0.33%, 0.008 0.73%, 0.0186 1.13%, 0.0332 1.53%, 0.0514 1.93%, 0.0768 2.4%, 0.1062 2.87%, 0.1391 3.33%, 0.2021 4.13%, 0.2776 5%, 0.358 5.87%, 0.5933 8.33%, 0.7249 9.8%, 0.7911 10.6%, 0.8476 11.33%, 0.8996 12.07%, 0.9469 12.8%, 0.9893 13.53%, 1.0267 14.27%, 1.0591 15%, 1.0868 15.73%, 1.1097 16.47%, 1.1295 17.27%, 1.1444 18.07%, 1.1547 18.87%, 1.161 19.73%, 1.163 20.67%, 1.1603 21.67%, 1.153 22.73%, 1.1292 24.8%, 1.0486 30.13%, 1.0142 32.87%, 0.9994 34.4%, 0.9882 35.93%, 0.9801 37.53%, 0.9753 39.2%, 0.9734 41.13%, 0.9751 43.33%, 0.9973 53.27%, 1.0039 59.33%, 0.9994 79%, 1);
transition-duration: 1.76s;

CSS has no built-in curve of this shape, so it is sampled into linear(), which works in all current browsers.

Tailwind

ease-[linear(0,0.0017_0.33%,0.008_0.73%,0.0186_1.13%,0.0332_1.53%,0.0514_1.93%,0.0768_2.4%,0.1062_2.87%,0.1391_3.33%,0.2021_4.13%,0.2776_5%,0.358_5.87%,0.5933_8.33%,0.7249_9.8%,0.7911_10.6%,0.8476_11.33%,0.8996_12.07%,0.9469_12.8%,0.9893_13.53%,1.0267_14.27%,1.0591_15%,1.0868_15.73%,1.1097_16.47%,1.1295_17.27%,1.1444_18.07%,1.1547_18.87%,1.161_19.73%,1.163_20.67%,1.1603_21.67%,1.153_22.73%,1.1292_24.8%,1.0486_30.13%,1.0142_32.87%,0.9994_34.4%,0.9882_35.93%,0.9801_37.53%,0.9753_39.2%,0.9734_41.13%,0.9751_43.33%,0.9973_53.27%,1.0039_59.33%,0.9994_79%,1)]

Webflow

In Interactions, choose a custom ease and paste this path:

M0,0 C0.0104,0 0.0208,0.0502 0.0313,0.124 C0.0417,0.1978 0.0521,0.2949 0.0625,0.3945 C0.0729,0.4941 0.0833,0.5961 0.0938,0.688 C0.1042,0.7798 0.1146,0.8616 0.125,0.9281 C0.1458,1.0612 0.1667,1.1308 0.1875,1.1534 C0.2083,1.1761 0.2292,1.1556 0.25,1.1264 C0.2708,1.0973 0.2917,1.0604 0.3125,1.0334 C0.3333,1.0064 0.3542,0.9886 0.375,0.9803 C0.4167,0.9636 0.4583,0.9802 0.5,0.9903 C0.5417,1.0004 0.5833,1.0047 0.625,1.0043 C0.6667,1.0039 0.7083,1.0012 0.75,1.0001 C0.7917,0.9991 0.8333,0.9992 0.875,0.9995 C0.8958,0.9996 0.9167,0.9998 0.9375,0.9999 C0.9479,0.9999 0.9583,1 0.9688,1 C0.974,1 0.9792,1.0001 0.9844,1.0001 C0.987,1.0001 0.9896,1.0001 0.9922,1.0001 C0.9935,1.0001 0.9948,1.0001 0.9961,1.0001 C0.9967,1.0001 0.9974,1.0001 0.998,1.0001 C0.9984,1.0001 0.9987,1.0001 0.999,1.0001 C0.9992,1.0001 0.9993,1.0001 0.9995,1.0001 C0.9996,1.0001 0.9997,1.0001 0.9998,1.0001 C0.9998,1.0001 0.9998,1.0001 0.9999,1.0001 C0.9999,1.0001 0.9999,1.0001 0.9999,1.0001 C1,1.0001 1,1.0032 1,1

Related easings

See how Spring default measures up against all 91 easings in the easing comparison: progress over time, overshoot and peak speed.

Browse all 91 easings in Measings