Axum Graphics Notes

Guide 7 of 7 · Practice

How to Animate a Bouncing Ball: A Beginner's Step-by-Step

The classic first exercise, broken into keys, timing, spacing and squash, with numbers to start from.

Short answer

Key the ball at the top and at each floor contact, give every bounce fewer frames and less height than the one before, bunch the spacing near the top of each arc, and add a short squash on contact.

Key takeaways

  • A bouncing ball needs only a few keys: the start, each top of an arc, and each floor contact.
  • Speed comes from spacing: positions sit close together near the top of an arc and far apart near the floor.
  • Each bounce is lower and shorter than the last; at 24 fps a first drop from table height takes roughly 8 to 10 frames.
  • Squash on contact and a little stretch on the fastest frames sell the weight, but keep the volume the same.

The bouncing ball is the first assignment in almost every animation course, and for good reason. It has no arms, no face and no acting to worry about, so every problem you see is a timing or spacing problem. Once a ball drops, hits and rebounds convincingly, you understand the mechanics behind most of the motion you will animate later.

This guide walks through the exercise in the order animators usually tackle it. You can follow along with pencil and paper, any 2D animation program, or the keyframe and easing playground on this site.

What makes a bouncing ball look real?

A ball looks real when its spacing matches gravity: slow near the top of each arc, fast near the floor, and each bounce lower and shorter than the one before.

Gravity pulls at a steady rate, so a falling ball keeps picking up speed until it hits something. On the way up it loses speed until it stops for an instant at the top. That gives you a simple pattern to copy. Near the top of an arc, the drawings sit close together. Near the floor, they spread far apart.

The second rule is energy loss. A real ball never bounces back to the height it fell from. Each arc is lower than the last, each one takes less time, and eventually the ball rolls or settles.

Which keyframes do you set first?

Set the starting position, every floor contact, and the top of every arc, then fill in the rest.

Plan the path before you animate anything. Draw a line for the floor and sketch the arcs as a row of shrinking humps moving from left to right. Mark these points:

  1. The start, high on the left.
  2. The first contact with the floor.
  3. The top of the first rebound, lower than the start.
  4. The second contact, a bit further along.
  5. The top of the second rebound, lower again.
  6. The final contact, then a short roll to a stop.

In keyframe software, these become your keys. In the playground you get up to four keyframes, which is enough for a drop, a contact and one rebound. Set the Y value of the contact key near the bottom of the 360-pixel stage and the start a little above the top third.

How much timing should each bounce get?

At 24 fps, give the first drop roughly 8 to 10 frames and make every later bounce a few frames shorter.

Timing is the number of frames between keys. A rough starting chart for a rubber ball dropped from table height looks like this:

Segment Frames at 24 fps Height compared with the drop
First fall to the floor 8 to 10 Full height
First rebound, up and down 14 to 16 About half
Second rebound 10 to 12 About a quarter
Third rebound 6 to 8 Small hop
Roll to a stop 12 or more On the floor

Treat these numbers as first guesses. A heavier ball loses more height on each bounce and stops sooner. A very bouncy ball keeps more of its height and bounces more times. Play the sequence back, then add or remove a frame at a time until it feels right. The frame rates and timing guide explains how to convert frames to seconds.

How do you get the spacing right?

Use ease-out on the way up and ease-in on the way down, so the ball slows into the top of each arc and speeds into the floor.

Spacing is where the drawings fall between the keys. If you split each segment evenly, the ball moves at a constant speed and looks like it is sliding along an invisible track. Instead:

  • Going up from the floor, start with big gaps and finish with small ones. That is ease-out.
  • Coming down from the top, start with small gaps and finish with big ones. That is ease-in.
  • At the floor contact, use no easing at all. The ball should hit at full speed and leave at full speed.

That last point is the most common beginner mistake. If the ball slows down as it reaches the floor, it looks like it is landing on a cushion. In the playground, this is why the Bounce easing preset accelerates into each contact. The easing guide covers the curves in more detail.

The horizontal motion is different. Forward speed stays roughly constant through the air, so the ball travels about the same distance sideways on every frame within a bounce and slows only through the roll at the end.

When should you add squash and stretch?

Add squash for one or two frames at each contact and a slight stretch on the fastest falling frames, keeping the ball's volume the same.

Squash and stretch is one of the 12 principles of animation, and the bouncing ball is where most people learn it. On the contact frame, flatten the ball against the floor and widen it so it keeps the same overall volume. On the frames just before and after contact, where the ball moves fastest, stretch it slightly along the direction of travel.

Keep it subtle. A tennis ball squashes a little. A water balloon squashes a lot. A bowling ball barely changes shape. The shape change tells the viewer what the object is made of, so decide that first and stay consistent.

Stretch is optional. At low frame rates it helps fast motion read as continuous, which is why it appears in hand-drawn work. Many animators skip it and only squash.

What are the most common bouncing ball mistakes?

The usual problems are a slow contact, even spacing, bounces that do not lose height, and squash that changes the ball's size.

Check your animation against this list:

  • If the ball eases into the floor, remove the easing at the contact so it hits hard.
  • If the spacing looks even with onion skin on, rework it. You should see tight clusters near the tops of the arcs and wide gaps near the floor.
  • If every bounce reaches the same height, lower each peak and shorten each segment.
  • Pointed or lopsided arcs need smoothing. Each arc should be roughly symmetrical around its peak.
  • A squash that makes the ball bigger is wrong. The ball gets wider as it gets flatter, so its area stays about the same.
  • A ball that stops dead needs a few more frames to roll, wobble or settle.

How do you practise once the basic bounce works?

Change one variable at a time: weight, then size, then direction, so you can see what each change does.

Try a bowling ball next. It falls the same way but barely rebounds and hardly squashes. Then try a ping-pong ball, which loses little height and bounces many times. After that, animate the ball bouncing toward the camera, so it gets bigger with each bounce. Each version teaches a separate idea, and together they cover most of what you need for weight and timing in character work later.

Questions

How many frames should a bouncing ball take?
At 24 fps, a ball dropped from about table height reaches the floor in roughly 8 to 10 frames. Each following bounce is shorter. A full sequence of three or four bounces before the ball rolls away usually fits in one and a half to two and a half seconds.
Should the ball squash when it hits the ground?
A rubber ball should, for one or two frames. A bowling ball barely squashes at all. The amount of squash is how you tell the viewer what the ball is made of, so pick the material before you animate.
Why does my bouncing ball look floaty?
Usually the spacing is too even or the ball hangs too long at the top. Bunch the positions near the top, spread them out near the floor, and cut a frame or two from the hang time until it drops with some weight.
Can I do this exercise without drawing?
Yes. Any tool with keyframes and easing works, including the playground on this site. Set the keys, use ease-out going up and ease-in coming down, and judge the result with onion skin.

Sources