CSE 5J Lecture Notes - Lecture 2: Get Myself Back, Pariah Dog, Special Functions

76 views13 pages
School
Course
Professor

Document Summary

[shows all four planes: the coordinate system for pixels in a computer window, however, is reversed along the y-axis (0,0) can be found at the top left with the positive direction to the right horizontally and down vertically. 1-2 simple shapes: a point is the easiest of the shapes and a good place to start, to draw a point, you only need an (x, y) coordinate, a line requires two points. Garcia 2: ellipsemode(center); ellipse (3, 3, 5, 5); [center (3, 3), processing has a built-in methodology for selecting which pixels should be used to create a circular shape. 1-3 grayscale color: to specify a value for grayscale, use the following: 0 means black, 255 means white. In between, every other number is a shade of gray ranging from black to white. 1-5 color transparency: there is an addition optional fourth component, referred to as the color"s alpha.

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