O'Reilly logo

The Essential Guide to Physics for Flash Games, Animation, and Simulations by Adrian Dobre, Dev Ramtal

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Basic trigonometry

Trigonometry is a branch of math that technically deals with the properties of triangles and the relationships between the lengths of their sides and their angles. Put this way, trigonometry may not sound very special, but it is, in fact, an indispensable part of your toolset as an animation or game programmer. For example, we used trigonometric functions previously in the parametric equations that produced uniform motion around a circle.

You probably remember the basics from your school days, such as the theorem that the sum of interior angles in a triangle is 180 degrees. But perhaps you may not remember what a sine function is. This section will review the essentials of the subject.

Degrees and radians

Everyone knows that ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required