Difference between revisions of "CSC212 Lab 11 Optional 2014"

From dftwiki3
Jump to: navigation, search
Line 27: Line 27:
 
: Take a snapshot of your applet and store it to a .jpg or .pdf file.  Make sure your name is on it.
 
: 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.
 
: Upload the snapshot to Moodle before the deadline.
 +
: P.S. There are plenty of recipes on the Web regarding taking screenshots in Windows and on Macs.  Feel free to share your discoveries on piazza.  Some utilities are better than others.  Olso, jpg and pdfs are preferred.
 
<br />
 
<br />
 
;Step 5
 
;Step 5

Revision as of 18:24, 1 November 2014

--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.
P.S. There are plenty of recipes on the Web regarding taking screenshots in Windows and on Macs. Feel free to share your discoveries on piazza. Some utilities are better than others. Olso, jpg and pdfs are preferred.


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.