7AFFINE TRANSFORMATIONS

Image

If I had to choose my favorite topic from this book, it would be affine transformations. There’s something oddly beautiful about affine transformations, as you’ll see for yourself in Chapter 12 when we animate them.

Affine transformations are crucial to 2D graphic applications; they determine how to pan, zoom, and rotate what you see on the screen. If you’ve used AutoCAD, you’re pretty much used to zooming in to a portion of the drawing, which is done with an affine transformation. Whenever you scale and rotate your pics in Instagram, an affine transformation does the trick. Mastering this topic is essential for writing ...

Get Hardcore Programming for Mechanical Engineers 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.