A well-commented example of animating some simple shapes, and inheriting from the Shape class in CreateJS.