Lesson 4, Topic 4
In Progress

Multiple transformations

John May 21, 2019
Lesson Progress
0% Complete

Now that you’ve seen the basics of translation, rotation, and scaling, let’s talk about using all of them together, and some of the complexities we brushed over at the beginning.

Order matters

When you do multiple transformations, the order makes a difference. A rotation followed by a translate followed by a scale will not give the same results as a translate followed by a rotate by a scale. Here is an example program that demonstrates that:

Which order you use depends on what your desired effect is. Just keep in mind that you’re moving the graph paper, not the object itself, and you should find an order that works for you.