If you're seeing this message, it means we're having trouble loading external resources on our website.

If you're behind a web filter, please make sure that the domains *.kastatic.org and *.kasandbox.org are unblocked.

Main content

Save your animation

Make and save your own animation!

Your turn!

Use the program below to build your animation. Now you can move the ball anywhere as well as rotate it. Use the x and y avars to position the ball. Use the s avar to control the stretch and squash, and use the r avar to control the rotation of the ball.
  • When you're happy with your animation press the Save button; this will bring up a black box containing the code for your animation.
  • Copy all the text in the box and paste it here to create a new program.
  • Then save that program.
Note: If you see an X and several A's on the last two lines, delete those.


  • Can you make the ball look heavy?
  • Can you make it look like a water balloon?
  • Can you make it look happy?

Want to join the conversation?