Have you looked at the solar opengl demo? It is 3D but is an animation. Also if you look at almost any opengl demo, by pressing certain keys while the graphic window is in focus, you get animation: x,y,z i,o arrows pageup,pagedown j,k,l.
On Fri, 29 Sep 2006, June Kim wrote: + Hi + + Do you have sample code for simple 2D animation? I don't need to make + it as a movie file(avi or gif); I just want to watch it as the code + runs. I tried to find such an example in the Demo menu but couldn't + find it there. + + For example, a bouncing ball inside a 2D rectangle would do. Something + like http://www.csc.calpoly.edu/~mliu/csc101/labs/programs/ball.java + (one ball) or even + http://www.faqs.org/docs/javap/c8/ex-8-4-answer.html (multiple balls) + + Simple and short code preferred -- I don't quite worry about the speed. + ---------------------------------------------------------------------- + For information about J forums see http://www.jsoftware.com/forums.htm + (B=) <----------my "sig" Brian Schott Atlanta, GA, USA schott DOT bee are eye eh en AT gee em ae eye el DOT com http://schott.selfip.net/~brian/ ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
