CS 111 Code Examples

Fall 2012

Lecture Notes Page

Code Examples:

Picture Manipulation Examples

  • Lect1025a.java: A Template for Pixel Position Manipulation - This just makes a copy of the original picture

  • Lect1025g.java: Repeats a picture horizontally 3 times. The middle duplication is mirrorred.

  • Lect1025i.java: Reduces the size of picture to half its original width and height

  • Lect1025j.java: A failed attempt to double the size of a picture's width and height

  • Lect1101b.java: A chromakey (green screen) program designed to work with this image batmanGreenScreen.jpg

Sound Manipulation Examples

  • Lect1108b.java: Demonstrates "sound clipping" - make the volume too loud

Topic attachments
I Attachment Action Size Date Who Comment
Java source code filejava Lect0906a.java manage 0.8 K 2012-09-06 - 15:59 UnknownUser  
Java source code filejava Lect0911a.java manage 1.0 K 2012-09-11 - 16:07 UnknownUser  
Java source code filejava Lect0911b.java manage 1.2 K 2012-09-11 - 16:08 UnknownUser  
Java source code filejava Lect0911c.java manage 1.2 K 2012-09-11 - 16:07 UnknownUser  
Java source code filejava Lect0913a.java manage 1.0 K 2012-09-13 - 16:10 UnknownUser  
Java source code filejava Lect0913b.java manage 0.6 K 2012-09-13 - 16:10 UnknownUser  
Java source code filejava Lect0913c.java manage 1.2 K 2012-09-13 - 16:11 UnknownUser  
Java source code filejava Lect0913d.java manage 2.1 K 2012-09-13 - 16:11 UnknownUser  
Java source code filejava Lect0918a.java manage 2.6 K 2012-09-18 - 16:07 UnknownUser  
Java source code filejava Lect0920a.java manage 2.9 K 2012-09-20 - 16:20 UnknownUser  
Java source code filejava Lect0920b.java manage 3.0 K 2012-09-20 - 16:20 UnknownUser  
Java source code filejava Lect0920c.java manage 3.1 K 2012-10-09 - 16:28 UnknownUser  
Java source code filejava Lect0920d.java manage 3.6 K 2012-09-20 - 16:20 UnknownUser  
Java source code filejava Lect0920e.java manage 4.3 K 2012-09-20 - 16:20 UnknownUser  
Java source code filejava Lect0925a.java manage 2.6 K 2012-09-25 - 16:47 UnknownUser  
Java source code filejava Lect0925b.java manage 3.0 K 2012-09-25 - 16:47 UnknownUser  
Java source code filejava Lect0925c.java manage 2.9 K 2012-09-25 - 16:47 UnknownUser  
Java source code filejava Lect0927a.java manage 2.9 K 2012-09-27 - 16:07 UnknownUser  
Java source code filejava Lect0927b.java manage 3.0 K 2012-09-27 - 16:17 UnknownUser  
Java source code filejava Lect0927c.java manage 3.5 K 2012-09-27 - 16:17 UnknownUser  
Java source code filejava Lect1009a.java manage 1.8 K 2012-10-09 - 16:28 UnknownUser  
Java source code filejava Lect1009b.java manage 1.3 K 2012-10-09 - 16:28 UnknownUser  
Java source code filejava Lect1009c.java manage 1.7 K 2012-10-09 - 16:28 UnknownUser  
Java source code filejava Lect1009d.java manage 1.7 K 2012-10-09 - 16:29 UnknownUser  
Java source code filejava Lect1011a.java manage 1.7 K 2012-10-11 - 16:30 UnknownUser  
Java source code filejava Lect1011b.java manage 1.6 K 2012-10-11 - 16:31 UnknownUser  
Java source code filejava Lect1011c.java manage 1.6 K 2012-10-11 - 16:31 UnknownUser  
Java source code filejava Lect1011d.java manage 1.7 K 2012-10-11 - 16:31 UnknownUser  
Java source code filejava Lect1011e.java manage 1.6 K 2012-10-11 - 16:31 UnknownUser  
Java source code filejava Lect1011f.java manage 1.7 K 2012-10-11 - 16:31 UnknownUser  
Java source code filejava Lect1011g.java manage 1.9 K 2012-10-11 - 16:32 UnknownUser  
Java source code filejava Lect1016a.java manage 2.4 K 2012-10-16 - 16:24 UnknownUser  
Java source code filejava Lect1016b.java manage 2.4 K 2012-10-16 - 16:24 UnknownUser  
Java source code filejava Lect1018a.java manage 2.0 K 2012-10-18 - 16:15 UnknownUser  
Java source code filejava Lect1018b.java manage 2.0 K 2012-10-18 - 16:15 UnknownUser  
Java source code filejava Lect1018c.java manage 2.1 K 2012-10-18 - 16:16 UnknownUser  
Java source code filejava Lect1018d.java manage 2.1 K 2012-10-18 - 16:16 UnknownUser  
Java source code filejava Lect1018e.java manage 2.0 K 2012-10-18 - 16:16 UnknownUser  
Java source code filejava Lect1018f.java manage 2.4 K 2012-10-18 - 16:16 UnknownUser  
Java source code filejava Lect1023a.java manage 2.1 K 2012-10-23 - 16:04 UnknownUser Code highlighting nest if statements
Java source code filejava Lect1023b.java manage 1.9 K 2012-10-23 - 16:05 UnknownUser Edge detection picture
Java source code filejava Lect1025a.java manage 1.5 K 2012-10-25 - 16:55 UnknownUser A Template for Pixel Position Manipulation - This just makes a copy of the original picture
Java source code filejava Lect1025b.java manage 1.5 K 2012-10-25 - 16:56 UnknownUser Create a mirror image of a picture
Java source code filejava Lect1025c.java manage 1.5 K 2012-10-25 - 16:57 UnknownUser Creates a vertically flipped picture.
Java source code filejava Lect1025d.java manage 1.5 K 2012-10-25 - 16:58 UnknownUser Flips a picture along its main diagonal
Java source code filejava Lect1025e.java manage 1.5 K 2012-10-25 - 16:59 UnknownUser Rotates a picture 90 degrees clockwise
Java source code filejava Lect1025f.java manage 1.7 K 2012-10-25 - 17:00 UnknownUser Duplicates a picture horizontally
Java source code filejava Lect1025g.java manage 1.9 K 2012-10-25 - 17:02 UnknownUser Repeats a picture horizontally 3 times. The middle duplication is mirrorred.
Java source code filejava Lect1025h.java manage 1.9 K 2012-10-25 - 17:02 UnknownUser Repeats a picture horizontally 3 times.
Java source code filejava Lect1025i.java manage 1.6 K 2012-10-25 - 17:03 UnknownUser Reduces the size of picture to half its original width and height
Java source code filejava Lect1025j.java manage 1.6 K 2012-10-25 - 17:04 UnknownUser A failed attempt to double the size of a picture's width and height
Java source code filejava Lect1030a.java manage 1.8 K 2012-10-30 - 18:48 UnknownUser Successful attempt to enlarge a picture
Java source code filejava Lect1030b.java manage 1.7 K 2012-10-30 - 18:49 UnknownUser Another approach to increase the size of a picture
Java source code filejava Lect1030c.java manage 1.7 K 2012-10-31 - 21:22 UnknownUser  
Java source code filejava Lect1030d.java manage 3.0 K 2012-10-31 - 21:23 UnknownUser  
Java source code filejava Lect1030e.java manage 2.4 K 2012-10-31 - 21:24 UnknownUser  
Java source code filejava Lect1101a.java manage 2.9 K 2012-11-01 - 16:18 UnknownUser Creating a collage with hardcoded file names
Java source code filejava Lect1101b.java manage 2.6 K 2012-11-01 - 16:20 UnknownUser A chromakey (green screen) program
Java source code filejava Lect1106a.java manage 2.9 K 2012-11-06 - 17:00 UnknownUser Program to crop a picture
Java source code filejava Lect1106b.java manage 0.9 K 2012-11-06 - 17:01 UnknownUser Open and play a sound file
Java source code filejava Lect1108a.java manage 1.3 K 2012-11-08 - 16:59 UnknownUser "Doubles" a sound's volume
Java source code filejava Lect1108b.java manage 1.5 K 2012-11-08 - 17:00 UnknownUser Demonstrates "sound clipping" - make the volume too loud
Java source code filejava Lect1108c.java manage 1.7 K 2012-11-08 - 17:01 UnknownUser Join two sounds together so they play concurrently
Java source code filejava Lect1120a.java manage 1.5 K 2012-11-20 - 18:05 UnknownUser  
Java source code filejava Lect1120b.java manage 1.6 K 2012-11-20 - 18:05 UnknownUser  
Java source code filejava Lect1120c.java manage 1.7 K 2012-11-20 - 18:06 UnknownUser  
Java source code filejava Lect1120d.java manage 1.6 K 2012-11-20 - 18:21 UnknownUser  
Java source code filejava Lect1120e.java manage 2.3 K 2012-11-20 - 18:06 UnknownUser  
Java source code filejava Lect1120f.java manage 1.8 K 2012-11-20 - 18:21 UnknownUser  
Java source code filejava Lect1120g.java manage 2.3 K 2012-11-20 - 18:21 UnknownUser  
Java source code filejava Lect1127a.java manage 1.5 K 2012-11-27 - 17:11 UnknownUser Starting Point for Project 4 - Note: joinSounds method is not included pending verification that it is correct
Java source code filejava Lect1129a.java manage 1.4 K 2012-11-29 - 19:35 UnknownUser  
Java source code filejava Lect1129b.java manage 1.4 K 2012-11-29 - 19:35 UnknownUser  
Java source code filejava Lect1129c.java manage 1.4 K 2012-11-29 - 19:36 UnknownUser  
Java source code filejava Lect1129d.java manage 1.4 K 2012-11-29 - 19:36 UnknownUser  
Java source code filejava Lect1129e.java manage 1.4 K 2012-11-29 - 19:36 UnknownUser  
Java source code filejava Lect1129f.java manage 1.8 K 2012-11-29 - 19:36 UnknownUser  
Java source code filejava Lect1129g.java manage 1.8 K 2012-11-29 - 19:37 UnknownUser  
Java source code filejava Lect1129h.java manage 1.6 K 2012-11-29 - 19:40 UnknownUser  
Java source code filejava Lect1204a.java manage 1.9 K 2012-12-04 - 17:27 UnknownUser  
Java source code filejava Lect1204b.java manage 1.9 K 2012-12-04 - 17:27 UnknownUser  
Java source code filejava QuickSort.java manage 5.6 K 2012-12-04 - 17:28 UnknownUser  
Java source code filejava SelectionSort.java manage 3.1 K 2012-12-04 - 17:27 UnknownUser  
Java source code filejava Template.java manage 0.6 K 2012-09-06 - 15:59 UnknownUser  
JPEGjpg batmanGreenScreen.jpg manage 12.1 K 2012-11-01 - 16:21 UnknownUser  
Waveform sound filewav preamble.wav manage 822.5 K 2012-11-20 - 18:23 UnknownUser  
Topic revision: r24 - 2012-12-04 - 17:30:33 - Main.troy
 
Copyright 2016 The Board of Trustees
of the University of Illinois.webmaster@cs.uic.edu
WISEST
Helping Women Faculty Advance
Funded by NSF