Kids and teens can learn to program using Scratch, the free online tool from MIT. In this video, a pinwheel animation is made. When the user clicks a pinwheel, the rotation accelerates and then slows down over time.
Each step from start to finish is explained. Once you learn how to make this program, you can move on to other tutorials or create your own games.