CMPT 166 Lecture Notes - Lecture 2: Semicolon, Frame Rate, Elipse
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);