• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Summary

This was a pretty fun (triple) workshop that extended the use of our getTimer() function. You lucked out in the analog timer section; calculating the angles for the Hand instances was fairly straightforward. In Workshop Chapter 11, “Using Math to Create a Circular Slider,” and to a lesser degree in Workshop Chapter 12, “Developing Time-Based Animations,” you’ll have to calculate angles based on trigonometry and the related issues of degrees versus radians—which are discussed in Chapter 5, “Programming Structures.”

Naturally, there’s a ton more you can do with getTimer().


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint