More Trident demos
February 28th, 2009 | 5 Comments »The work on Trident project announced in the previous post continues, and here are a few demos that my Twitter followers might have seen during this week:
Simple demo recreating the fireworks from this JavaFX implementation. The source is available in the SVN test/Firework.java class and shows the usage of parallel scenarios. Each volley explosion is a separate Trident timeline, and there are 270 of those running at the same time. The CPU usage is about 8-10% as compared to the 25-30% usage of the JavaFX example (on my machine).
Another simple demo recreating the Groovy GraphicsBuilder snake. The source is available in the SVN test/Snake.java class and shows the new Timeline.replay() method.
The last two videos show the work in progress on a larger demo. The full source code will be available in the next few weeks, but in the meantime you can see some of the animations. The first one shows sliding images, with usage of timeline scenarios, each comprising multiple sequenced and branching timelines, swing workers and runnables with futures:
And the second one shows the usage frequency of specific words, using the new interpolator capabilities of the Timeline class:
Related posts:
- Trident progress The work on Trident animation library continues, and over the last couple of weeks the...
Cool!
[...] Malenkov has posted a demo that creates a fireworks display (which Kirill Grouchnikov (@kirillcool) recreated in his Trident animation framework), and Santiago Pericas-Geertsen has created a Space Invaders-esque game for [...]
Excellent looking, keep up the good work! Btw, is Trident far enough along to be used yet?
Great work! Just the weapons of war Java needs in this RIA era.
Adam,
Trident is right now under heavy development, but you are more than welcome to take a look at the APIs / test applications, and try them in your own code.
Thanks
Kirill