Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

Chapter 6. Making Things Move > Animating along a circle

6.6. Animating along a circle

There is absolutely no reason why you should be limited to moving shapes in straight lines. What if you want to animate something to move around a circle, like an orbit (see Figure 6-7)? The good news is that it's completely possible, and it doesn't use much code; the bad news is that it uses trigonometry, which might take a little while to get your head around.

Figure 6.7. Animating a shape in a circular orbit



  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial