CMPT 166 Lecture 4: Coordinates and Modes

25 views8 pages

Document Summary

In these notes you will learn: how screen resolutions are specified, how to change processing s drawing modes, how to specify the coordinates of points on the screen. In processing, the graphical output window screen is treated as a rectangular grid of pixels. A pixel is the smallest region of color that we can change. When we talk about a point on the screen, we usually mean a pixel. The width and height of the screen in pixels is known as its resolution. For example, an ordinary monitor for a desktop computer might have a resolution of 1920 x 1200 pixels, i. e. the screen has 1920 columns of pixels, and 1200 rows of pixels (for a total of 1920 1200=2,304,0001920 1200=2,304,000). In contrast, an iphone 5 has a resolution of 750 x. 1344 pixels, while earlier iphones have resolutions as low as 320 x 480.

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