Search |
||
Interactive splined animation: first examplePosted by pepe on March 2, 2008 at 9:45 PM PST
In a previous blog, Tim Bourdreau asked for the difference between splines project and java.awt.GeneralPath. Here i show some of the main reasons why generalPath could not be used:
Demo consists of a gear that can be thrown to the wall when pressing a button. Gear bounces on bottom of the zone then on the wall and bounces back. Wall position can be changed anytime (even when animation is running, which can be funny on some cases when the gear bounces two times on wall :) ) and you will see splines being adapted in realtime. There are two goals in this demo; show why splines project is done like that and show how to animate within swash. Kudos go to the java2D and swing teams. While the animation runs at 50fps, there are no hiccups and cpu used is at 0%. Antialias is at max, and the gear rotates so it ought to take power from my old prescott and my even older ATI 9600.
»
Related Topics >>
Swing Comments
Comments are listed in date ascending order (oldest first)
Submitted by seetaram on Mon, 2008-06-09 05:05.
I could not open the forums...
wht is the way to that?
|
||
|
|
i would be happy to discuss this with you.
Please meet at the project forums.