liveBook · Manning

Animation

Animation is the presentation of changing visual states over time to create the appearance of motion or change.

How 6 Manning books explain it

Design for Developers

The use of changing visual states over time to communicate movement, activity, or interaction in an interface.

How it is used
Uses animation to guide interaction, communicate feedback and status, and add delight when appropriate.
How deep it goes
Develops purposes, touchpoint decisions, storyboard steps, and performance tradeoffs without providing implementation code.
Examples
Illustrates feedback with a shaking login form and loading status with spinners, skeleton content, and progress bars.
What you can do after
Practice/perform low-fidelity storyboarding and user testing to plan useful motion before coding.

Read how Design for Developers explains animation →

Classic Game Programming on the NES: Make your own retro video game

Animation is the presentation of changing visual states over time to create motion or visual activity in a game.

How it is used
Adds visual activity to a space shooter’s enemies, background, explosions, and game-state presentation.
How deep it goes
Works through timed sprite-pattern cycling, NMI tile updates, palette swaps, and NES video-memory constraints.
Examples
Uses cycling meteor enemies, randomly placed twinkling stars, palette-swapped scenery, and explosion effects.
What you can do after
Build it from scratch by cycling sprite patterns, updating background tiles, and swapping palette colors on timed intervals.

Read how Classic Game Programming on the NES: Make your own retro video game explains animation →

Math for Web Design

A web animation is the programmed or styled change of visual properties over time in a web interface.

How it is used
Uses calculated changes over time or scroll position to create motion, interactive feedback, and progress indicators in web interfaces.
How deep it goes
Works through frame-by-frame motion, easing, bouncing, and scroll calculations, alongside CSS transitions and a CSS orbit.
Examples
Demonstrates an entering dialog, hover tooltip, circular orbit, bouncing ball, reading progress indicator, and confetti shower.
What you can do after
Build it from scratch using CSS or JavaScript calculations to control timing, position, feedback, and scroll-driven visual changes.

Read how Math for Web Design explains animation →

HTML5 in Action

An animation is a sequence of visual changes displayed over time to create an impression of movement.

How it is used
Uses animation to make Canvas games and interactive pages respond visually over time.
How deep it goes
Explains frame scheduling, fluctuating frame rates, and one way to separate movement updates from drawing.
Examples
Uses a ball-and-paddle Canvas game and a per-frame position increment to illustrate animation and uneven movement.
What you can do after
Apply it via requestAnimationFrame() to schedule Canvas drawing and separate movement updates when frame rates fluctuate.

Read how HTML5 in Action explains animation →

CSS in Depth, Second Edition

Animation is a time-varying visual change in a user interface that can communicate information or significance to the user.

How it is used
Uses animation to communicate interaction feedback, loading progress, and other meaningful changes in an interface.
How deep it goes
Explains animation through a working form example and rendering internals, including layers, GPU acceleration, and will-change.
Examples
Demonstrates a Save-button spinner, an is-loading class, a rotating pseudo-element, and a form-submission feedback state.
What you can do after
Build it from scratch using CSS keyframes, pseudo-elements, transforms, and JavaScript-triggered loading states.

Read how CSS in Depth, Second Edition explains animation →

Everyday Data Visualization

Animation is the presentation of visual changes through a sequence of displayed states over time.

How it is used
Uses motion to attract attention, show changing data, and confirm successful chart interactions.
How deep it goes
Explains purposes, examples, and cautions about distraction and performance, but stops short of implementation steps.
Examples
Uses racing bar charts, Gapminder’s World Health Chart, loading spinners, growing bars, and rearranging visual elements.
What you can do after
Apply animation to emphasize changing data or provide timely interaction feedback without harming clarity or performance.

Read how Everyday Data Visualization explains animation →

Also covered in

What to know first

Related concepts

Questions about animation

What is animation?

Animation is the presentation of changing visual states over time to create the appearance of motion or change.

Which Manning books explain animation?

Design for Developers, Classic Game Programming on the NES: Make your own retro video game, Math for Web Design, HTML5 in Action, CSS in Depth, Second Edition and Everyday Data Visualization.

What should I know before learning animation?

Manning books that teach animation usually introduce CSS, button, canvas element and coordinate first.

What kinds of animation are there?

Kinds of animation include experience-blocking animation.

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.