CS 111 - Program Design I

Code Samples: Fall 2013

Sound Examples - Most recent examples at the top Picture Examples - Most recent examples at the top

  • Lect1105a.java: Code to open up multiple picture files using only a single pickAFile() call as needed for Project 3
  • Lect1031e.java: Green-screen chromakey designed to work with batmanGreenScreen.jpg
  • Lect1031d.java: Blue-screen chromakey designed to work with blue-mark.jpg
  • Lect1031c.java: Crop a picture
  • Lect1031b.java: Call the make collage method twice
  • Lect1031a.java: Make a collage of two pictures
  • Lect1029f.java: Change a pictures size by a given percent
  • Lect1029e.java: Enlarge a picture by two times
  • Lect1029d.java: Reduce the size of a picture by half
  • Lect1029c.java: Rotate a picture 90 degrees clockwise
  • Lect1029b.java: Flip a mirror image from top to bottom
  • Lect1029a.java: Flip a picture from top to bottom
  • Lect1024g.java: Duplicate side-by-side, first mirrored, second same as original
  • Lect1024f.java: Create a mirror image of a picture
  • Lect1024e.java: Flip a picture and duplicate side-by-side
  • Lect1024d.java: Flip a picture along its main diagonal
  • Lect1024c.java: Duplicate side-by-side-by-side
  • Lect1024b.java: Duplicate side-by-side
  • Lect1024a.java: Edge Detection
  • Lect1022c.java: Removing red eye from picture jenny-red.jpgjenny-red.jpg
  • Lect1022b.java: Creata a 4 color posterized picture using only if-then clauses with complex conditions
  • Lect1022a.java: Create a 4 color posterized picture "inverting" the conditions used from Lect1017f.java
  • Lect1017f.java: Create a 4 color posterized picture: black, green, blue cyan
  • Lect1017e.java: Create a two color posterized picture: pink and orchid
  • Lect1017d.java: Create a posterized picture: Black or White
  • Lect1017c.java: Creating a Black "through Green" to White picture using one if-else statement
  • Lect1017b.java: Creating a Black "through Green" to White picture using two if statements
  • Lect1017a.java: Merge two pictures together into one. The first picture fades out from left to right. The second picture fades in from left to right.
  • Lect1015a.java: Merge two pictures together into one. Each pixel contains equal amounts of information from each original pixel
  • Lect1010f.java: Creating a Black and White picture using the weighted average calculations
  • Lect1010e.java: Creating a Black and White picture using a corrected average calculation
  • Lect1010d.java: Attempting to create a Black and White image but using a flawed average calculation
  • Lect1010c.java: Create a Fake Sunset by decreasing the Green and Blue amounts at each pixel
  • Lect1010b.java: Create a Fake Sunset by increasing the Red amount of each pixel
  • Lect1010a.java: Creating a color negative with code in a method
  • Lect1008f.java: Creating a color negative
  • Lect1008e.java: Example removing the green color from all pixels in a picture
  • Lect1008d.java: Example darkening all pixels in a picture - This uses FOR loops
  • Lect1008c.java: Example brightening all pixels in a picture
  • Lect1008b.java: Example showing nested loops to allow access to all "pixel" coordinates
  • Lect1008a.java: Example showing width access, height access and adding a message
  • Lect0926a.java: Selecting and Exploring a picture
Simple Java Examples

Turtle Examples
Topic attachments
I Attachment Action Size Date Who Comment
Java source code filejava Lect0905a.java manage 1.0 K 2013-09-05 - 16:02 UnknownUser  
Java source code filejava Lect0905b.java manage 1.0 K 2013-09-10 - 16:11 UnknownUser  
Java source code filejava Lect0910a.java manage 0.7 K 2013-09-10 - 16:11 UnknownUser  
Java source code filejava Lect0910b.java manage 0.9 K 2013-09-10 - 16:11 UnknownUser  
Java source code filejava Lect0912a.java manage 1.4 K 2013-09-12 - 16:27 UnknownUser  
Java source code filejava Lect0912b.java manage 1.5 K 2013-09-12 - 16:27 UnknownUser  
Java source code filejava Lect0917a.java manage 0.9 K 2013-09-17 - 17:58 UnknownUser  
Java source code filejava Lect0917b.java manage 1.7 K 2013-09-17 - 17:58 UnknownUser  
Java source code filejava Lect0917c.java manage 2.1 K 2013-09-17 - 17:58 UnknownUser  
Java source code filejava Lect0917d.java manage 2.2 K 2013-09-17 - 17:58 UnknownUser  
Java source code filejava Lect0917e.java manage 1.8 K 2013-09-17 - 17:58 UnknownUser  
Java source code filejava Lect0919a.java manage 1.9 K 2013-09-19 - 15:57 UnknownUser  
Java source code filejava Lect0919b.java manage 2.0 K 2013-09-19 - 15:57 UnknownUser  
Java source code filejava Lect0919c.java manage 3.1 K 2013-09-19 - 15:57 UnknownUser  
Java source code filejava Lect0919d.java manage 2.9 K 2013-09-19 - 15:57 UnknownUser  
Java source code filejava Lect0924a.java manage 3.5 K 2013-09-24 - 16:14 UnknownUser  
Java source code filejava Lect0924b.java manage 3.2 K 2013-09-24 - 16:14 UnknownUser  
Java source code filejava Lect0924c.java manage 3.0 K 2013-09-24 - 16:15 UnknownUser  
Java source code filejava Lect0924d.java manage 4.1 K 2013-09-26 - 17:23 UnknownUser  
Java source code filejava Lect0926a.java manage 3.7 K 2013-09-26 - 17:24 UnknownUser  
Java source code filejava Lect1008a.java manage 1.2 K 2013-10-08 - 16:33 UnknownUser  
Java source code filejava Lect1008b.java manage 0.9 K 2013-10-08 - 16:33 UnknownUser  
Java source code filejava Lect1008c.java manage 1.7 K 2013-10-08 - 16:33 UnknownUser  
Java source code filejava Lect1008d.java manage 1.7 K 2013-10-08 - 16:33 UnknownUser  
Java source code filejava Lect1008e.java manage 1.8 K 2013-10-08 - 16:33 UnknownUser  
Java source code filejava Lect1008f.java manage 1.9 K 2013-10-08 - 16:33 UnknownUser  
Java source code filejava Lect1010a.java manage 1.8 K 2013-10-10 - 16:19 UnknownUser  
Java source code filejava Lect1010b.java manage 1.8 K 2013-10-10 - 16:19 UnknownUser  
Java source code filejava Lect1010c.java manage 1.8 K 2013-10-10 - 16:19 UnknownUser  
Java source code filejava Lect1010d.java manage 1.9 K 2013-10-10 - 16:20 UnknownUser  
Java source code filejava Lect1010e.java manage 1.9 K 2013-10-10 - 16:20 UnknownUser  
Java source code filejava Lect1010f.java manage 3.0 K 2013-10-10 - 16:20 UnknownUser  
Java source code filejava Lect1015a.java manage 4.0 K 2013-10-15 - 16:08 UnknownUser  
Java source code filejava Lect1017a.java manage 4.2 K 2013-10-17 - 16:18 UnknownUser  
Java source code filejava Lect1017b.java manage 3.3 K 2013-10-17 - 16:18 UnknownUser  
Java source code filejava Lect1017c.java manage 3.3 K 2013-10-17 - 16:18 UnknownUser  
Java source code filejava Lect1017d.java manage 3.1 K 2013-10-17 - 16:18 UnknownUser  
Java source code filejava Lect1017e.java manage 3.2 K 2013-10-17 - 16:19 UnknownUser  
Java source code filejava Lect1017f.java manage 3.4 K 2013-10-17 - 16:20 UnknownUser  
Java source code filejava Lect1022a.java manage 3.4 K 2013-10-22 - 18:28 UnknownUser  
Java source code filejava Lect1022b.java manage 3.5 K 2013-10-22 - 18:28 UnknownUser  
Java source code filejava Lect1022c.java manage 2.8 K 2013-10-22 - 18:28 UnknownUser  
Java source code filejava Lect1024a.java manage 3.1 K 2013-10-24 - 17:34 UnknownUser  
Java source code filejava Lect1024b.java manage 2.7 K 2013-10-24 - 17:34 UnknownUser  
Java source code filejava Lect1024c.java manage 2.8 K 2013-10-24 - 17:34 UnknownUser  
Java source code filejava Lect1024d.java manage 2.7 K 2013-10-24 - 17:35 UnknownUser  
Java source code filejava Lect1024e.java manage 2.8 K 2013-10-24 - 17:35 UnknownUser  
Java source code filejava Lect1024f.java manage 2.7 K 2013-10-24 - 17:35 UnknownUser  
Java source code filejava Lect1024g.java manage 2.9 K 2013-10-24 - 17:35 UnknownUser  
Java source code filejava Lect1029a.java manage 2.7 K 2013-10-31 - 16:42 UnknownUser  
Java source code filejava Lect1029b.java manage 2.7 K 2013-10-31 - 16:42 UnknownUser  
Java source code filejava Lect1029c.java manage 2.7 K 2013-10-31 - 16:43 UnknownUser  
Java source code filejava Lect1029d.java manage 2.7 K 2013-10-31 - 16:43 UnknownUser  
Java source code fileclass Lect1029e.class manage 2.5 K 2013-10-31 - 16:43 UnknownUser  
Java source code filejava Lect1029e.java manage 3.3 K 2013-10-31 - 16:45 UnknownUser  
Java source code filejava Lect1029f.java manage 1.8 K 2013-10-31 - 16:43 UnknownUser  
Java source code filejava Lect1031a.java manage 3.6 K 2013-10-31 - 16:43 UnknownUser  
Java source code filejava Lect1031b.java manage 3.7 K 2013-10-31 - 16:43 UnknownUser  
Java source code filejava Lect1031c.java manage 2.9 K 2013-10-31 - 16:44 UnknownUser  
Java source code filejava Lect1031d.java manage 3.6 K 2013-10-31 - 16:44 UnknownUser  
Java source code filejava Lect1031e.java manage 3.9 K 2013-10-31 - 16:44 UnknownUser  
Java source code filejava Lect1105a.java manage 4.2 K 2013-11-05 - 17:07 UnknownUser  
Java source code filejava Lect1107a.java manage 0.9 K 2013-11-07 - 17:07 UnknownUser  
Java source code filejava Lect1107b.java manage 1.1 K 2013-11-07 - 17:07 UnknownUser  
Java source code filejava Lect1107c.java manage 1.2 K 2013-11-07 - 17:08 UnknownUser  
Java source code filejava Lect11126a.java manage 1.6 K 2013-11-26 - 19:21 UnknownUser  
Java source code filejava Lect1118a.java manage 1.5 K 2013-11-21 - 17:06 UnknownUser  
Java source code filejava Lect1118b.java manage 1.8 K 2013-11-21 - 17:08 UnknownUser  
Java source code filejava Lect1118c.java manage 1.8 K 2013-11-21 - 17:08 UnknownUser  
Java source code filejava Lect1119a.java manage 1.0 K 2013-11-19 - 19:41 UnknownUser  
Java source code filejava Lect1119b.java manage 1.7 K 2013-11-19 - 19:41 UnknownUser  
Java source code filejava Lect1119c.java manage 1.5 K 2013-11-19 - 19:42 UnknownUser  
Java source code filejava Lect1119d.java manage 1.2 K 2013-11-19 - 19:42 UnknownUser  
Java source code filejava Lect1121a.java manage 1.2 K 2013-11-21 - 17:10 UnknownUser  
Java source code filejava Lect1121b.java manage 1.7 K 2013-11-21 - 17:10 UnknownUser  
Java source code filejava Lect1121c.java manage 1.3 K 2013-11-21 - 17:28 UnknownUser  
Java source code filejava Lect1126a.java manage 1.6 K 2013-11-26 - 19:20 UnknownUser  
Java source code filejava Lect1126b.java manage 1.7 K 2013-11-26 - 19:23 UnknownUser  
Java source code filejava Lect1203a.java manage 1.2 K 2013-12-03 - 20:02 UnknownUser  
Java source code filejava Lect1203b.java manage 1.2 K 2013-12-03 - 20:03 UnknownUser  
Java source code filejava Lect1203c.java manage 1.3 K 2013-12-03 - 20:03 UnknownUser  
Java source code filejava Lect1203d.java manage 1.3 K 2013-12-03 - 20:03 UnknownUser  
Java source code filejava Lect1203e.java manage 1.2 K 2013-12-03 - 20:03 UnknownUser  
Java source code filejava Lect1203f.java manage 1.2 K 2013-12-03 - 20:04 UnknownUser  
Java source code filejava QuickSort.java manage 5.5 K 2013-11-26 - 19:20 UnknownUser  
Java source code filejava SelectionSort.java manage 3.1 K 2013-11-26 - 19:21 UnknownUser  
Java source code filejava Template.java manage 0.6 K 2013-09-05 - 14:28 UnknownUser  
JPEGjpg batmanGreenScreen.jpg manage 12.1 K 2013-10-31 - 16:57 UnknownUser  
JPEGjpg blue-mark.jpg manage 59.7 K 2013-10-31 - 16:57 UnknownUser  
JPEGjpg jenny-red.jpg manage 94.4 K 2013-10-22 - 18:32 UnknownUser  
Topic revision: r23 - 2013-12-03 - 20:07:51 - 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