Chapter 3

Trigonometry for Animation

What we'll cover in this chapter:

  • What is trigonometry?
  • Angles
  • Trigonometry functions
  • Rotation
  • Waves
  • Circles and ellipses
  • Pythagorean Theorem
  • Distance between two points

This chapter is near the beginning of the book because trigonometry is used extensively for animation techniques, starting with the examples in Chapter 5. And in fact, we'll even touch on it in Chapter 4 on rendering techniques. However, feel free to jump ahead if you already know basic trigonometry or are just anxious to animate things. You can always come back here when you come across something you don't understand.

Many people shy away ...

Get Foundation HTML5 Animation with JavaScript now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.