easeInCubic
Progress grows with the cube of time. Clearly eased, still neutral — the workhorse of product motion. 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.
Code
The cubic-bezier is a close fit (up to 0.3 % off). The CSS linear() value and the JavaScript function are exact.
/* Exact curve (all modern browsers): */
transition: transform 600ms linear(0, 0.001 11%, 0.007 19.2%, 0.019 26.5%, 0.037 33.3%, 0.063 39.8%, 0.097 46%, 0.141 52%, 0.192 57.7%, 0.256 63.5%, 0.329 69%, 0.413 74.5%, 0.509 79.8%, 0.614 85%, 0.733 90.2%, 0.862 95.2%, 1);
/* Cubic-bezier approximation: */
transition: transform 600ms cubic-bezier(0.32, 0, 0.67, 0);Exact CSS
linear() draws any curve with straight segments. This one uses 17 points chosen so the motion never strays more than 0.25 % from the real easeInCubic; every current browser supports it.
linear(0, 0.001 11%, 0.007 19.2%, 0.019 26.5%, 0.037 33.3%, 0.063 39.8%, 0.097 46%, 0.141 52%, 0.192 57.7%, 0.256 63.5%, 0.329 69%, 0.413 74.5%, 0.509 79.8%, 0.614 85%, 0.733 90.2%, 0.862 95.2%, 1)
Questions
What is easeInCubic as a cubic-bezier?
The usual fit is cubic-bezier(0.32, 0, 0.67, 0). It strays from the true easeInCubic by up to 0.3 % 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 easeInCubic?
Panels, cards, page transitions and most product-film moves. Most motion systems' default sits close to it. 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 cubic family
Compare with
Animate with easeInCubic 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.