Sample Code Page
- Code from Lecture 11/19/09
- Code from Lecture 11/17/09
- Code from Lecture 11/12/09
- Code from Lecture 11/5/09
- Lect115a.java Increade the volume of a sound file by 6 times. The code keeps the samples values in the range of valid sound
values.
- Code from Lecture 11/3/09
- Special Code for Project 3 posted on 10/30/09
- Lect1030a.java Code to open multiple pictures
from the same directory using a single "PickAFile ()" call.
- Code from Lecture 10/29/09
- Code from Lecture 10/27/09
- Code from Lecture 10/22/09
- Code from Lecture 10/20/09
- Lect1020a.java Copies the left half of an image
- Lect1020b.java Copies the left half of an image and mirrors it onto the right half
- Lect1020c.java Copies the right half of an image and mirrors it onto the left half
- Lect1020d.java Copies the bottom half of an image and mirrors it onto the top half
- Lect1020e.java Copies the left half of an image twice (once onto the left half and once onto the right half)
- Code from Lecture 10/15/09
- Code from Lecture 10/13/09
- Lect1013a.java Showing a return value and
creating a copy of an image
- Lect1013b.java Copying the red and green values from one image to a new image
- Code from Lecture 10/8/09
- Lect108a.java Checking out the pixel values of a picture
- Lect108b.java Faking a sunset by increasing the amount of red at each pixel
- Lect108c.java Faking a sunset by decreasing the amount of green and blue at each pixel
- Lect108d.java Creating a color negative
- Lect108e.java Creating a Black & White Picture using an average
- Lect108f.java Creating a Black & White Picture using a weighted calculation
- Lect108g.java Putting the code for Black and White into a method
- Lect108h.java Creating a washed out version of a Black & White Picture
- Lect108i.java Another method to create a washed out Black and White Picture
- Code from Lecture 10/6/09
- Lect106a.java Modifying the color green at
every pixel in a picture
- Lect106b.java Modifying the color green at
every pixel in a picture
- Code from Lecture 9/24/09
- Lect924a.java Example of turtle drawings using different methods.
- Lect924b.java Example of turtle drawings using different methods.
- Lect924c.java Example of turtle drawings using different methods.
- Lect924d.java Example of turtle drawings using different methods.
- Lect924e.java Example of turtle drawings using different methods.
- Code from Lecture 9/22/09
- Code from Lecture 9/17/09
- Code from Lecture 9/15/09
- Code from Lecture 9/10/09
- Code from Lecture 9/8/09
- Code from Lecture 9/3/09