You may recall that I've featured some of Sven Drieling's work previously in this blog, for example in the JavaFX Animation - Some of Sven's Canvas Tricks post. Well, Sven has updated his animation examples and added to the collection to help us prepare for the JavaFX SDK. Here's a screenshot of Sven's AnimationRadar example, in which he animates an arc-shaped clip of an image to look like the sweep of a radar. Because it's an animation, the running program looks cooler than the static screenshot. :-)
In another example, Sven uses nested Timelines to progressively start three blocks animating. Here's a screenshot:
Take a look at the page in which Sven stashes his many animation examples, and try out the examples via Java Web Start links on that page while studying his great code.
Thanks Sven!
Jim Weaver
JavaFX Script: Dynamic Java Scripting for Rich Internet/Client-side Applications
coffeejolts writes: "I notice quite a bit of tearing in the animations. Does javafx have mechanisms for handling this? I know that I could draw to a back buffer in Swing and then display the frame all at once."
I'm posting your question to the
[email protected]
mailing list. Please feel free to subscribe to that list (from the following page:
https://openjfx-compiler.dev.java.net/servlets/ProjectMailingListList
to see any responses from the JavaFX GUI team.
Thanks, Jim Weaver
Posted by: Jim Weaver | July 12, 2008 at 01:33 PM
Thanks Kirk,
Please be sure to thank Sven Drieling for these particular examples.
Jim Weaver
Posted by: Jim Weaver | July 12, 2008 at 01:30 AM
Jim,
Thanks for all of the great examples. They've been really helpful.
Posted by: Kirk | July 12, 2008 at 01:25 AM
Jim,
I notice quite a bit of tearing in the animations. Does javafx have mechanisms for handling this? I know that I could draw to a back buffer in Swing and then display the frame all at once.
Posted by: coffeejolts | July 11, 2008 at 09:33 AM