CSC212 Lab 11 Optional 2014

From dftwiki3
Revision as of 19:18, 1 November 2014 by Thiebaut (talk | contribs)
Jump to: navigation, search

--D. Thiebaut (talk) 19:14, 1 November 2014 (EDT)


This lab is optional, and given on Otelia Cromwell Day, at Smith College. Not doing the lab will not penalize you regarding the class material we cover in this class. I am releasing it as a fun lab that will teach you how to create Processing Applets from within Eclipse.
If you do this lab and submit the answer to the last "challenging" question, the grade you get will replace the lowest lab grade you will have received so far.
The deadline for submitting your lab work to Moodle is Saturday, November 8, at 11:55 p.m.


Step 1
Do this Tutorial, and setup Eclipse to work with Processing


Step 2
Go through Exercises 1 through 8.


Step 3
Generate the solution to Challenging Exercise 9.
Add this code at the end of your setup() function to display your name on the screen (replace Mickey Mouse by your name, of course!)


		text( "Mickey Mouse", MAXWIDTH/2+10, MAXHEIGHT-50 );


Step 4
Take a snapshot of your applet and store it to a .jpg or .pdf file. Make sure your name is on it.
Upload the snapshot to Moodle before the deadline.


Step 5
Submit your java file to Moodle as well. Submitting only the image or only the code will result in a grade of 0. Both files are required for a grade.