|
This page contains some of the code I've written over the years. Actually, this is REALLY out of
date. Most of this stuff hasn't been touched in years. Really this page is just here because it
has always been here. So if you want to look at some old code, I've picked some of the more
interesting pieces to post directly on this page. There are also some links to directories with
a more extensive collection. Some of the code in the directories goes all the way back to my
High School programming classes, so don't expect that stuff to be perfect.
IMPORTANT: Some of the code I have written was done for classes. Because of this, some
of the code may legally belong to professors, or authors of books that sample code was taken from.
But for the most part, the code is mine. So don't steal it.
|
JImage Mosaic
JImage Mosaic is one of my larger programming projects. It creates photomosaics, which are those posters you
sometimes see, which are large images made up of a bunch of smaller pictures, usually themed towards the large
image. JImage Mosaic is written entirely in Java, utilizing Sun's JAI (Java Advanced Imaging) API. There
is much more information on the JImage Mosaic website (another one of my projects), and the downloads are
there as well.
   OpenGL Image Warper
This program was written in C++, using the OpenGL libraries. This was done as somewhat of an experiment,
so there isn't a fancy GUI, and the image needs to be changed via hard-coding. What this program does, is
it loads an image and displays it on the screen. The user can then start drawing control lines on the image
with the mouse - left clicking once to start a line, and again to end a line. When the user is done drawing
control lines, they right click. Then, the user RE-draws the same number of control lines, in the same order,
but this time drawing them where he wants the lines moved to. Based on the changes in the control lines, the
program warps the image accordingly.
Note: To compile, you need the GLUT32 libraries and toolkit, and possibly additional headers out of
my OpenGL code directory.
   Sierpinski Gasket Animation
Using C++ and OpenGL, I wrote this little program that generates and animates a Sierpinski Gasket. The gasket
rotates, bounces off the walls, grows and shrinks, and changes color based on its location.
Note: To compile, you need the GLUT32 libraries and toolkit, and possibly additional headers out of
my OpenGL code directory.
   Visual Hailstone Sequence Demonstration
This program graphically demonstrates the hailstone sequence. Just enter a number, and this program
graphs out a scaled representation of the hailstone sequence from that value. Its interesting to see
the results.
Note: To compile, you need the GLUT32 libraries and toolkit, and possibly additional headers out of
my OpenGL code directory.
   Polygon Tweening Example
Read the top comments of this .cpp file for instructions on how to use the program. Basically, this
code allows the user to draw two polygons on the screen. After the second polygon has been drawn, the
two figures are morphed into one another in a double-buffered animation.
Note: To compile, you need the GLUT32 libraries and toolkit, and possibly additional headers out of
my OpenGL code directory.
   Java Blackjack
A simple blackjack game, implemented in Java. Its pretty basic - doubling down, splitting, and multi-deck
shoes aren't features in this game. Special thanks to professor John Erhart from
Truman State University for the strategy classes.
   Beer Caps
This is a fun game that I wrote in Java, although there is no one-player support yet. Its based on this old
arcade game I used to play, that I think was called "Anthrax." Basically, you move your piece on this board
either one or two spaces. If you move one, your piece copies itself into the space you are moving into. If you
move two spaces, it jumps. If your piece lands so that it is touching an enemy piece, all enemy pieces touching
yours will turn to your piece.
- caps.zip (.ZIP file. Email me for other formats.)
   Here is all my additional code that I have online.
|
|
Other Stuff
The Players
 Jim Drewes (1439)
 Stu Belden (643)
 Kurt Hoeman (591)
 Woody (560)
 John Ebel (472)
 Mike Brinker (389)
 dan (338)
 Kevin (187)
 Big Booty Ho (130)
 Tim Brinker (114)
 Ryan (53)
 skip (49)
 Shawnee (46)
 Mally (34)
 Kim (12)
 Left Foot (3)
 J. Schirmer (2)
|