CMPT 166 Lecture Notes - Lecture 2: Semicolon, Frame Rate, Elipse

53 views10 pages

Document Summary

Enter and run a simple program in the processing editor: how to draw ellipses and rectangles, how to determine the position of the mouse, how to clear the screen. Processing is a freely available that comes with an easy-to-use programming. It works on mac, linux, and windows systems. You can expect processing to work essentially identically on different systems. Past students have used processing on all these systems with no almost no noticeable differences. This is a pretty impressive technical achievement that is due to java: java designed to make the same java program run identically on any computer. Download and install the most recent version of processing for your computer. We"ll be using the editor that comes with it throughout the course. When you first run it, it should look something like this: Launch processing and type the following into the editor window that appears: void setup() { size(500, 500); void draw() { ellipse(mousex, mousey, 40, 40);

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