IAT 265 Lecture Notes - Ellipse, Frame Rate, Cyan

56 views3 pages

Document Summary

Processing s coordinate system is in quadrant one except y values are reflected across y axis. Positive y values are increasing down the window. The top left corner of the sketch is (0, 0) The center of the sketch is (width/2, height/2) The bottom right corner of the sketch is (width, height) void setup-run only once in the beginning void draw-method called 60fps which draws current frame on screen over and over frame rate-used to control an application. Shapes point (x, y); line(x1, y1, x2, y2); X1, y1 arguments are the location of the start point of the line. X2, y2 arguments are the location of the endpoint of the line ellipse(x, y, width, height); X, y arguments are the location of the center of the ellipse. Width, height arguments are how wide and tall the ellipse will be around the center however, if ellipsemode(corner); is specified before drawing ellipse, properties will be the same as rect.

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

Related Questions