Easing
Easing is a function or timing technique that varies an animation or transition’s rate of change over its duration.
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 the perceived speed of CSS transitions and JavaScript animations so interface movement feels less mechanical.
- How deep it goes
- Explains timing-curve slopes and Bézier control points, then works through CSS keywords, custom curves, and JavaScript easing formulas.
- Examples
- Contrasts a linear dialog entrance with cubic ease-out and animates a page title using selectable JavaScript easing functions.
- What you can do after
- Build it from scratch with JavaScript easing formulas or apply CSS timing keywords and cubic-bezier() to animations.
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.
Also covered in
What to know first
- animationAnimation is the presentation of changing visual states over time to create the appearance of motion or change.
- CSSCSS (Cascading Style Sheets) is a stylesheet language for specifying the presentation and layout of structured documents.
Related concepts
- transitionused by · A CSS transition interpolates changes in a CSS property’s value over time when that value changes.
- curvekind of · A curve is a continuous or piecewise-continuous geometric path or representation of a relationship between variables.
- progressuses · Progress is the degree to which an ongoing task, operation, or process has advanced toward completion or a desired outcome.
- transition()configures · The D3 selection transition() method starts an animated transition on a selection and returns a transition for configuring interpolated changes.
Questions about easing
What is easing?
Easing is a function or timing technique that varies an animation or transition’s rate of change over its duration.
Which Manning books explain easing?
Math for Web Design and D3.js in Action, Third Edition.
What should I know before learning easing?
Manning books that teach easing usually introduce animation and CSS first.
What kinds of easing are there?
Kinds of easing include ease-in-out and symmetrical easing.
What is easing a kind of?
Easing is a kind of curve. A curve is a continuous or piecewise-continuous geometric path or representation of a relationship between variables.
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.

