I have just updated the Animate package for j601, which allows to simply create 2D and 3D OpenGL animations.
2D animations can be simple gl2 code or Plot, Viewmat or ISI Graph (high-level 2D). The package also contains the missing routine for OpenGL saving into bitmap, gswritebmp. Download at http://olegykj.sourceforge.net To start, just run demo.ijs. Note the File/Export and Window/Resize menu items. See more at http://www.jsoftware.com/jwiki/Guides/Animation --- June Kim <[EMAIL PROTECTED]> 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 > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
