liveBook · Manning

Easing

Easing is a function or timing technique that varies an animation or transition’s rate of change over its duration.

How 2 Manning books explain it

Math for Web Design

An easing function maps animation progress or elapsed time to a non-linear value progression that controls perceived acceleration and deceleration.

How it is used
Shapes CSS and JavaScript animation timing so interface transitions accelerate and decelerate naturally.
How deep it goes
Explains cubic-Bézier control points and JavaScript progress remapping, then defers actual physics principles and formulas.
Examples
Uses a mobile menu, an entering page title, and a dialog animated with linear and cubic ease-out motion.
What you can do after
Apply it via CSS timing functions or JavaScript easing formulas to produce less abrupt animated motion.

Read how Math for Web Design explains easing →

D3.js in Action, Third Edition

An easing function controls the rate at which an animated interpolation progresses over time.

How it is used
Controls the perceived motion of D3 chart updates so changing visual properties feel smoother and more natural.
How deep it goes
Compares easing curves and demonstrates duration, delay, and ease configuration, without developing their mathematical formulas.
Examples
Uses an updating histogram, comparative easing graphs, and D3 examples including d3.easeCubicOut.
What you can do after
Apply easing via D3’s ease() method when building animated data visualizations.

Read how D3.js in Action, Third Edition explains easing →

Related concepts

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.