Animating with sprite sheets

Source: www.oreilly.com