Programming for Interactive Digital Arts
CS 2, Fall 2023

SA 1, Due Wed Mar 30

This short assignment is to help you install and run, the Processing environment on your own laptop.

DUE: uploaded to canvas by start of class, Wednesday, March 30th

  1. download and install Processing
    When you click the download link (choose the one that matches your system OSX/Windows) you will be asked to choose a location to save the file. Save to a convenient location, such as your desktop or downloads folder, and double click the file to "unzip" it.
  2. Once installed, launch Processing -- (look for the logo with a "P", below).

    (Hint: to launch Processing, double click on the unzipped directory to enter it then double click the Processing icon).
  3. Use Processing to create a sketch, any sketch. This can just be copied from somewhere, but be sure to acknowledge that, as outlined in the honor code guidelines for the course.
  4. The following is the code we co-wrote in first class:

    size(200,200); // Sets the canvas size
    background(255); // Sets the background color to white (255)
    strokeWeight(10); // sets the pen thickness to 10 pixels
    stroke(255,0,0); // sets RGB pen color to R=255,G=0,B=0
    point(100,100); // Draw middle
    point(50,50); // Draw top left
    point(50,150); // Draw bottom left
    point(150,150); // Draw bottom right
    point(150,50); // Draw top right
  5. Produce a zipfile of the "sketch:, using menu option "Tools" | "Archive Sketch".
  6. Turn in the zipfile on Canvas. Go to the Assignments tab, select , and then use the "complete assignment" option. (Do not use the digital dropbox.) In the field where you can type in some information, YOU MUST indicate that you have read and will follow the Honor Code on the CS 2 home page. Your work will not be graded if you failure to indicate that you have read the policy.
  7. Also in the text field, give me a few sentences about yourself to help me get to know you--your background, interests, etc., along with why you're taking this class and what you hope to gain from it.