Assignment 1: Draw an image in DrRacket
Due: Friday, September 1, 11:59:59 PM EST.
Sign up for Piazza
Our primary means of communication and answering questions will be the course Piazza message board. Sign up.
Download and install DrRacket
DrRacket is the program you’ll use to design and run your programs. You can download it here. It’s available for any platform you might want. If you have trouble installing it, post on Piazza.
Read the website
Read all the pages on this website and familiarize yourself with the course policies.
1 Create a program that produces an image
The following should be completed in cooperation with your assigned partner from lab 1. (Partner assignments are listed on Piazza.)
Open up DrRacket, and choose the "Beginning Student Language".
Start using the 2htdp/image library, as described in the Prologue of the book. Read all the way to where images are discussed!
Using this library, create a program that when you hit the "Run" button, it produces a picture. The picture should represent two of your interests (one for each partner) and include your prefered first name. The composition of the image is otherwise unconstrained and you may be as creative or unimaginative as you’d like, but we may showcase the more interesting images in class. You may use any of the 2htdp/image operations to construct this image and you may use any image you’d like from the internet or any other source (keep it clean!). You should use the head/hands model of pair programming you learned in lab and remember to occasionally switch modes while you work.
Save and submit the file using the submit server for ps1. Only one partner needs to submit on behalf of the pair. You may submit as many times as you’d like (and we recommend submitting early and often). The latest submission before the deadline will be graded. Do not email submissions to course staff.