Otolith Threshold and GUI

Winston and I made progress on thresholding the images and getting user input. The currently committed version takes in a (hard coded) image path and displays the image with a binary threshold, with a check value of 90. In the GUI, there is a slider that allows the user to change the check value to […]

CS 145 Lecture 20 – Midterm 2 Review

Things to know The test is hand-written. You may write SOP instead of System.out.println. You need not import any classes. One page of handwritten notes is allowed. The front page of the exam will contain compact documentation for the Scanner, Random, and String classes. A strategy: on questions where you are asked to write a […]

Final Project – Brian Kendzior – Cribbage Statician V1.0 (bringing it out of beta)

For my final project, I plan on fully implementing Cribbage Statician (my database project). Because of scope problems I was never able to fully implement multiplayer statistic tracking, which would be first on my wish-list. I would also like to be able to track players scores throughout the game on a graphical representation of a […]

Final Project Design Synopsis : Vampire

For my final project, I will be developing a client-server based iOS game, which I will also release on the iTunes store for 0.99 for Barrage Software LLC… :P Each user will be able to create their own character (a vampire) and accomplish missions each day for experience points and blood to level up their character, […]

Final Project Design Document – Rock Paper Scissors – meierdg

For my final project I wanted to incorporate gestures, as  haven’t made a program with them so I figured it’d be a good experience, as well as make something that people could have fun with.  To this end, I decided to make a Rock Paper Scissors app.  I’ve always loved the game, yet there isn’t […]

CS491 – Final Project Design Document – Cricket ScoreIt

For the final project I wanted to do two things.  One, I wanted to create an app that I would actually use a lot and two, create something that was visually appealing and didn’t just contain the built in controls.  My room mates and I play the dart game cricket very often and the worst […]

CS 145 Lab 9

Reminder Show your completed lab 8 checkpoints to your TA or instructor in the first 20 minutes of this lab. Checkpoint 1 One of the steps to mastery of a subject is to formulate your own questions. So, for your first checkpoint, please write three questions, one on each of the following topics: logical operators […]

CS 145 Lecture 19 – 2-D arrays

Agenda What does this do? Code Imager.java package lecture; import java.awt.Color; import java.awt.image.BufferedImage; import java.io.File; import java.io.IOException; import java.util.Random; import javax.imageio.ImageIO; public class Imager { public static void main(String[] args) throws IOException { int width = 512; int height = 256; int[][] pixels = new int[height][width]; // noisify(pixels); stripes(pixels); writeToFile(pixels); } private static void noisify(int[][] […]

CS 145 Lecture 18 – Searching arrays

Agenda linear search the truth behind objects: references stack vs. heap null Code States.java package lecture; import java.util.Scanner; public class States { private static String[] states = { “Alabama”, “Alaska”, “Arizona”, “Arkansas”, “California”, “Colorado”, “Connecticut”, “Delaware”, “Florida”, “Georgia”, “Hawaii”, “Idaho”, “Illinois”, “Indiana”, “Iowa”, “Kansas”, “Kentucky”, “Louisiana”, “Maine”, “Maryland”, “Massachusetts”, “Michigan”, “Minnesota”, “Mississippi”, “Missouri”, “Montana”, “Nebraska”, […]

CS 491 Lecture 19 – Smile and Wave

Agenda mixing widgets and SurfaceView write a custom camera app enhancing the camera preview Mixing widgets and SurfaceView An unfortunate consequence of switching to a SurfaceView is that our gestures no longer get recognized. GestureOverlayView and SurfaceView do not play well together. No documentation I can find details their incompatibility, but gesture recognition simply doesn’t […]