This applet lets you drag around 4 control points to work with several types of splines. Drag the red dots (control points) around to play with the spline.

Once you're done with the eye-candy, view the java source to really learn something.