Chapter 6

Moving Things Around: Affine Maps in 2D

Imagine playing a video game. As you press a button, figures and objects on the screen start moving around; they shift their positions, they rotate, they zoom in or out. As you see this kind of motion, the game software must carry out quite a few transformations. In Figure 6.1, they have been applied to a familiar face in gaming. These computations are implementations of affine maps, the subject of this chapter.

Figure 6.1

Figure showing moving things around: affine maps in 2D applied to an old and familiar video game character.

Moving things around: affine maps in 2D applied to an old and familiar video game character.

6.1 Coordinate Transformations

In Section 4.1 the focus was on constructing a linear ...

Get Practical Linear Algebra, 3rd Edition 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.