Animation basics

1 project
1 article
2 challenges
3 talkthroughs
Learn how to animate your drawings.

Making animations

Pamela shows how to program animations, using the draw() function.

Challenge: Exploding Sun

Make the sun get bigger and BIGGER!

Incrementing shortcuts

Pamela shares tips on how to change variables (like incrementing or multiplying them) with less code.

A shorter shortcut

Pamela shows how to use the ++ operator to add one to a variable.

Challenge: Parting Clouds

Animate clouds moving away from a growing sun!

Project: Shooting star

Now that you've learnt the basics of animation with variables, make a shooting star! We've started off this program with just a star positioned using 2 variables, and it's up to you to decide how to animate it. Here are the steps we ...