All projects were compiled with Java
1.5. I suggest using Netbeans or Eclipse.
Eight Queens
Date : October 2005
Source available : YES
Description :
The eight queens
puzzle is the problem of putting eight chess queens on an 8?8
chessboard such that none of them is able to capture any other
using the standard chess queen's moves. This applet gives you the
possibility to find a solution yourself, or it calculates all
solutions, for the general case of putting n queens on a nxn
chessboard.
Description :
Some time ago I
dealt with 2D collisions of balls. So why not share what I have
thought of :-) Here are some notes concerning simple 1D/2D
collision of balls and two applets showing this stuff in action.
Source included in the zip file.
Description :
This applet calculates your blood alcohol concentration based on
the drinks you had. You can choose which approximation formula
should be used. View applet in German View applet in English
Click image for larger screenshot
Sudoku
Solver
Date : November 2006
Source available : YES
Description :
Solves sudoku
puzzles with Algorithm X and Dancing Links.
Description :
A card game I
played as little child. Now YOU can play it as
applet. Check the 'Hexen hexen'
Site...(about 200KB so loading
site may take a bit...)
Download whole package(includes applet,
backtracking tool and of course all sources; 790KB)
Click image for larger screenshot
Curves
Applets
Date : July 2007
Source available : YES
Description :
Here you find
some applets (with sources) and comments about Bezier Curves to
understand them better. I coded them for myself but decided to
publish them, perhaps they help also someone else. Note that this
page will be slowly updated with new stuff.
Existing topics
till now:
Linear Interpolation of two points;
Quadratic & Cubic Bezier Curves;
The Bernstein Form of a B?zier Curve;
The de Casteljau Algorithm;
Degree Elevation
Date : September 2007 Update : July 2010 (bug in polygon filling)
Source available : YES
Description :
In some spare
time, I delved into some polygon problems I have always been
interested in and of course into the corresponding algorithms to
solve them. So here are some small articles with my own notes about
them :-)
Description :
This is a little
game you find in a few magazines. It's a logic-based number
placement puzzle similar to sudoku. I coded a nice little applet
with 30 quests waiting for you to be solved!
Also my own solver is now waiting to be downloaded, a
straighforward backtracking approach.
But read more about it.. Skyscrapers Quest Page (with Applet)
Date : November 2010 Source available : YES Description :
This applet
demonstrates various plotting ("rasterising") algorithms to draw
lines, circles and ellipses. Following algorithms are
included:
Description :
My own notes
about the Cohen-Sutherland-Algorithm for clipping 2D lines against
a rectangle.
As always with a nice applet and its source...
Description :
My own notes
about the Sutherland-Hodgman-Algorithm for clipping a polygon
against a rectangle.
As always with a nice applet and its source...
Description :
My own notes
about Welzl's algorithm for calculating a smallest enclosing disk
(minimal enclosing circle) of a set of points in the plane. It's a
interesting & surprisingly quite simple algorithm with linear
execution time.
As always with a nice applet and its source...
Description :
My Online
Calculator can evaluate mathematical expressions in various
numerical systems. Quite handy when you have no hand calculator at
your fingertips. Has even a autocomplete feature.
Description :
My first coding
attempt in JavaFX - a little applet that calculates the resistance
of an electronic resistor given the colors of the bands and also
the other way round (enter a resistance value and it calculates the
color code).
Description :
This applet is
the implementation of the famous 14-15 puzzle game. Not only you
can play it online here, it also contains an automatic solver that
solves each solvable puzzle in front of your eyes. Moreover, random
puzzles can be generated using two different algorithms. Finally,
the site contains also some theory of the puzzlee.g. when is a
puzzle sovalbe or not, how does the automatic solver works, how to
generate random (solvable) puzzles... Interested? Go and check it
out now :)
Description :
Here I present an article including full source code about parsing
simple mathematical expressions. The theory behind each approach is
highlighed without going too much into detail, but enough for
understanding and useful as a starting point for diving into this
topic. More emphasis is taken on the practical side. Three
approaches are handled:
Recursive parsing of infix expressions
Creating & evaluation of postfix notations using
stacks
Source available : YES
The source code of the leveleditor is also available and coded in C.
Description :
This is my own Breakout clone written in Java. Main Features are:
- Written in Java - no images used, all graphics done by code using Graphics2D!
- Comes with ten levels, but...
- a leveleditor (with free source) is included!
- 5 special effects that drop randomly
Description :
This article explains two algorithms about how to detect if a point is inside a traingle.
One algorithm uses the so-called perpDotProduct to check the point againt the three edges of the triangle. The second one uses barycentric coordinates for triangle representation and evaluates the final equations using Cramer's Rule.