easeInSine

The gentlest of the classic curves: progress follows a quarter of a sine wave, so speed changes so smoothly you barely notice the ease. An ease-in starts slowly and leaves at full speed. Use it for things exiting the frame or starting a move they will not finish on screen; on an entrance it feels late and sluggish.

Fit cubic-bezier(0.12, 0, 0.39, 0)
0time →1
This curve
Linear
Export finishedlaunch-film.mp4 · 4K
Half way at67 %
90 % at94 %
OvershootNone
Bezier fit error0.8 %

Code

The cubic-bezier is a close fit (up to 0.8 % off). The CSS linear() value and the JavaScript function are exact.

/* Exact curve (all modern browsers): */
transition: transform 600ms linear(0, 0.004 5.3%, 0.014 10.7%, 0.031 16%, 0.056 21.5%, 0.089 27%, 0.128 32.5%, 0.174 38.2%, 0.229 44%, 0.289 49.7%, 0.357 55.5%, 0.434 61.7%, 0.518 68%, 0.713 81.5%, 1);

/* Cubic-bezier approximation: */
transition: transform 600ms cubic-bezier(0.12, 0, 0.39, 0);

Exact CSS

linear() draws any curve with straight segments. This one uses 15 points chosen so the motion never strays more than 0.25 % from the real easeInSine; every current browser supports it.

linear(0, 0.004 5.3%, 0.014 10.7%, 0.031 16%, 0.056 21.5%, 0.089 27%, 0.128 32.5%, 0.174 38.2%, 0.229 44%, 0.289 49.7%, 0.357 55.5%, 0.434 61.7%, 0.518 68%, 0.713 81.5%, 1)

Questions

What is easeInSine as a cubic-bezier?

The usual fit is cubic-bezier(0.12, 0, 0.39, 0). It strays from the true easeInSine by up to 0.8 % of the distance travelled; for the exact curve use the CSS linear() value on this page, which stays within 0.25 %.

When should I use easeInSine?

Ambient motion — breathing glows, slow camera drifts, loops that should never call attention to themselves. An ease-in starts slowly and leaves at full speed. Use it for things exiting the frame or starting a move they will not finish on screen; on an entrance it feels late and sluggish.

The rest of the sine family

Compare with

Animate with easeInSine in Kineform

Pick it from any key, text animator or camera move, or bend it in the graph editor — on a real-time engine with 3D, light, type and video.