CMPT 166 Lecture Notes - Lecture 34: Ellipse, Complete Control, Moon

100 views16 pages

Document Summary

These notes introduce two very useful geometric transformations: rotation and translation. Recall that processing treats the screen as a rectangular array of pixels. By default, processing labels each pixel in (column, row) form, starting at 0 in both the rows and columns. Thus, on the screen, the pixel in the upper-left corner is (0, 0), because it is in row 0 and column 0. In other words, we can say that the default coordinate system for processing puts the origin point (0: in the upper-left corner of the screen, and the x-axis and y-axis are parallel to the sides of the screen. As we will see, processing lets you move the origin, and also rotate the entire coordinate system around the origin. By combining sequences of rotations and translations, you have complete control over the location and orientation of any object. Translation is a geometric term that means move .

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents