The current form of animation in JavaFX Script (i.e. using the dur operator) has been a temporary measure until something more elegant, usable, and powerful was created. Chris Oliver has unveiled his vision for the future of JavaFX Script animation, which employs the key-frame animation model used in traditional animation and visual design tools.
Please take a look at Chris's explanation, and demos, of key-frame animation implemented in JavaFX Script. One of the examples is a video poker game (see screenshot below), in which you can try your skill/luck at five card draw.
Be sure to try out the other four demos, and then experiment with the special version of JavaFXPad that lets you play around with the planned features of the key-frame animation model.
JavaFX Script: Dynamic Java Scripting for Rich Internet/Client-side Applications
Immediate eBook (PDF) download available at the book's Apress site