Algorithms
- Ananagrams.java
- calculate ananagrams from file input
- BigRoots.java
- calculate big integer square roots
- BinarySearch.java
- implementation of a binary search
- FibonacciSequence.java
- output parts of Fibonnaci sequence
- LastTerm.java
- calculate 'last term' from coding challenge
- Playfair.java
- perform the Playfair Cipher via command line input
- RomanPalindromes.java
- get the palindrome of a roman numeral
- Searching.java
- implementation of several search algorithms
Data Structures
- Date.java
- format the input of a string to a date format, using Java objects and exceptions
- DaytimeProtocolClient.java
- grab the date from the internet
Graphics
- CityScape.java
- cute 2D changing city environment
- Clipping.java
- implementation of the Sutherland-Hodgman clipping algorithm
- several files in the Clipping/ folder are NOT covered by the sample code's license
- Faces.java
- draw some 2D faces
- Fractals.java
- implementation of the Mandelbrot set
- Heartbeat.java
- animation of a moving ball with a slider to change frequency
- Simple.java
- some simple java 2D graphics, several examples
- Tetrahedron.java
- 3D rotating tetrahedron in a scene graph, requires Java 3D
- Torus.java
- several rotating 3D toruses inside of each other, requires Java 3D
Language
- DNA.java
- GUI for coding DNA or translating to RNA
- Heights.java
- combine the height of two people
- LexicalAnalyzer.java
- simple lexical analyzer interpretation
- Means.java
- calculate the mean of two numbers multiple ways
- Nbits.java
- calculates how many N bits exist in two's complement
System
- ImageReadWrite.java
- input an image into Java
- inputOutput.java
- takes basic input (integers, line-by-line) to output sums
- UDPPingServer.java
- open a server for pinging via UDP
- WebServer.java
- serve some files to the web
For Linux, you can use the provided bash script:
e.g. for program: Fractals.java
cd Fractals/
./../run Fractals
Please note that some programs require Java 3D.
Leon Tabak for inspiring most of the sample files here.
Tony deLaubenfels for inspiring UDPPingServer.java.
Adam Reed for assisting with Ananagrams.java.
JHAVE project for the backbone of Clipping/.