a 3d Shapes using math object
(Popularity: ) : This code generats nice 3d shapes using the Math.cos and Math.sin objects. i think every programmer should play with those, i tell my students to try and make a char like '*' go in circles around the screen.
Bounce Ball - Project2
(Popularity: ) : Bounces 2 balls around the screen. Can be easily modified to allow more than 2 balls. The user can adjust the speed of the balls seperately while the program is running. Billiard Balls
(Popularity: ) : Any number of balls (specified by a constant) will bounce around the screen, bouncing off of each other and the walls with perfectly elastic collisions. Uses a thread to control the balls and double buffering to repaint without flickering. The ... Soothing Rain
(Popularity: ) : Soothing Rain Drops. Includes three classes. SRainDrop, SRainPanel, and SRainFrame. All classes are commented, but the code is simple enough. The Rain Drops fall into a pond and leave a circle. See screen shot. Please leave comments. Thank you.