4. More Transformations and Basic Animation

Chapter Overview:

In this chapter, you explore further transformations and begin to combine transformations

into animations. You: (1) are introduced to a matrix transformation library that hides the

mathematical details of matrix operations; (2) use the library to quickly and easily combine

multiple transformations; and (3) explore animation and how the library helps you

animate simple shapes. These techniques provide the basics to construct quite complex

WebGL programs and will be used in the sample programs in the following chapters.

1. RotatedTriangle_Matrix4

2. RotatedTranslatedTriangle

3. RotatingTriangle

4. RotatingTranslatedTriangle

5. RotatingTriangle_withButtons