Spring bouncy ease
Spring bouncy is a spring: a damped oscillation tied to real time, described by bounce and a perceived duration. This preset uses bounce 0.4 with a perceived duration of 500 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("springBouncy", "M0,0 C0.0104,0 0.0208,0.0391 0.0313,0.0966 C0.0417,0.1542 0.0521,0.2301 0.0625,0.3096 C0.0729,0.389 0.0833,0.4721 0.0938,0.5498 C0.1042,0.6275 0.1146,0.7 0.125,0.763 C0.1458,0.8891 0.1667,0.9759 0.1875,1.0266 C0.2083,1.0772 0.2292,1.0937 0.25,1.0947 C0.2708,1.0957 0.2917,1.0818 0.3125,1.0669 C0.3333,1.0519 0.3542,1.0358 0.375,1.0236 C0.4167,0.9993 0.4583,0.9914 0.5,0.991 C0.5417,0.9907 0.5833,0.9953 0.625,0.9976 C0.6667,1 0.7083,1.0008 0.75,1.0008 C0.7917,1.0009 0.8333,1.0005 0.875,1.0002 C0.8958,1.0001 0.9167,1 0.9375,1 C0.9479,1 0.9583,0.9999 0.9688,0.9999 C0.974,0.9999 0.9792,0.9999 0.9844,0.9999 C0.987,0.9999 0.9896,0.9999 0.9922,0.9999 C0.9935,0.9999 0.9948,0.9999 0.9961,0.9999 C0.9967,0.9999 0.9974,0.9999 0.998,0.9999 C0.9984,0.9999 0.9987,0.9999 0.999,0.9999 C0.9992,0.9999 0.9993,0.9999 0.9995,0.9999 C0.9996,0.9999 0.9997,0.9999 0.9998,0.9999 C0.9998,0.9999 0.9998,0.9999 0.9999,0.9999 C0.9999,0.9999 0.9999,0.9999 0.9999,0.9999 C1,0.9999 1,0.9973 1,1");
gsap.to(".box", { x: 200, duration: 1.24, ease: "springBouncy" });
CSS linear()
transition-timing-function: linear(0, 0.0019 0.4%, 0.0074 0.8%, 0.0162 1.2%, 0.0303 1.67%, 0.0481 2.13%, 0.0693 2.6%, 0.1241 3.6%, 0.1798 4.47%, 0.2458 5.4%, 0.5317 9.13%, 0.6571 10.87%, 0.7193 11.8%, 0.773 12.67%, 0.8225 13.53%, 0.8676 14.4%, 0.9082 15.27%, 0.9468 16.2%, 0.978 17.07%, 1.0069 18%, 1.0309 18.93%, 1.0518 19.93%, 1.068 20.93%, 1.0799 21.93%, 1.0888 23.07%, 1.0937 24.27%, 1.0946 25.6%, 1.0915 27%, 1.0786 29.53%, 1.0343 35.8%, 1.0148 39.13%, 1.0003 42.87%, 0.9926 46.93%, 0.9913 52.2%, 1.0006 71%, 1);
transition-duration: 1.24s;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.0019_0.4%,0.0074_0.8%,0.0162_1.2%,0.0303_1.67%,0.0481_2.13%,0.0693_2.6%,0.1241_3.6%,0.1798_4.47%,0.2458_5.4%,0.5317_9.13%,0.6571_10.87%,0.7193_11.8%,0.773_12.67%,0.8225_13.53%,0.8676_14.4%,0.9082_15.27%,0.9468_16.2%,0.978_17.07%,1.0069_18%,1.0309_18.93%,1.0518_19.93%,1.068_20.93%,1.0799_21.93%,1.0888_23.07%,1.0937_24.27%,1.0946_25.6%,1.0915_27%,1.0786_29.53%,1.0343_35.8%,1.0148_39.13%,1.0003_42.87%,0.9926_46.93%,0.9913_52.2%,1.0006_71%,1)]
Webflow
In Interactions, choose a custom ease and paste this path:
M0,0 C0.0104,0 0.0208,0.0391 0.0313,0.0966 C0.0417,0.1542 0.0521,0.2301 0.0625,0.3096 C0.0729,0.389 0.0833,0.4721 0.0938,0.5498 C0.1042,0.6275 0.1146,0.7 0.125,0.763 C0.1458,0.8891 0.1667,0.9759 0.1875,1.0266 C0.2083,1.0772 0.2292,1.0937 0.25,1.0947 C0.2708,1.0957 0.2917,1.0818 0.3125,1.0669 C0.3333,1.0519 0.3542,1.0358 0.375,1.0236 C0.4167,0.9993 0.4583,0.9914 0.5,0.991 C0.5417,0.9907 0.5833,0.9953 0.625,0.9976 C0.6667,1 0.7083,1.0008 0.75,1.0008 C0.7917,1.0009 0.8333,1.0005 0.875,1.0002 C0.8958,1.0001 0.9167,1 0.9375,1 C0.9479,1 0.9583,0.9999 0.9688,0.9999 C0.974,0.9999 0.9792,0.9999 0.9844,0.9999 C0.987,0.9999 0.9896,0.9999 0.9922,0.9999 C0.9935,0.9999 0.9948,0.9999 0.9961,0.9999 C0.9967,0.9999 0.9974,0.9999 0.998,0.9999 C0.9984,0.9999 0.9987,0.9999 0.999,0.9999 C0.9992,0.9999 0.9993,0.9999 0.9995,0.9999 C0.9996,0.9999 0.9997,0.9999 0.9998,0.9999 C0.9998,0.9999 0.9998,0.9999 0.9999,0.9999 C0.9999,0.9999 0.9999,0.9999 0.9999,0.9999 C1,0.9999 1,0.9973 1,1
Related easings
See how Spring bouncy measures up against all 91 easings in the easing comparison: progress over time, overshoot and peak speed.
