4. 4
Agenda
• Field of animations
• Open Source @ Animations
• JAVAFX
• Some Eye Catchers
• Key Features
• Small Demo
5. 5
Animations
• Animation is the rapid display of a sequence of images of
2-D or 3-D artwork or model positions in order to create
an illusion of movement.
Don't get frightened!I took it from wikipedia
6. 6
World of Animations
• Adobe Flash-The leading tool
• Blender-Open Source Equvalent
• GIMP-to some extent
• JAVAFX-The new technology
7. 7
JAVA FX
• Rich Internet Applications
• Web Services
• User Friendly
8. 8
Unique Selling Points of JAVAFX
• Runs in Browser,Mobile,and at PC
• Bind Operators
• Extensive Animation Support
10. 10
Extensive Animation Support
• Timelines handles the animation in JavaFX
• They can have one or more KeyFrames
• Animation controls
• play(), stop(), pause(), playFromStart()
• Some properties
• autoReverse, repeatCount, rate
• Timelines are nestable
11. 11
Transistions
• Predefined animations to perform a specific task
> Position, rotation, opacity, etc.
• Out of the box transitions
> RotateTranstion – rotation
> FadeTransition – opacity
> TranslateTransition – move a node along a
• straight line
> PathTransition – move an object along a defined
• path
> ScaleTranstion – grows or shrinks a node
14. 14
Example of Data Binding
• Binding variables
var r = 10;
var a = bind r;
r = 5;
FX.println(“a = {a}”); //Displays 5
• Binding object literal
var radius = 10;
def circle = bind Circle {
centerX: 100 centerY: 100
radius: radius //FX can figure this out!
fill: Color.RED
}
radius = 100; //circle's radius is now 100
Slide 1: title and presenter's name
Slide 2: topic intro - what product/technology is
Slide 3: topic intro - who is the target market (be very as
specific
as possible: e.g. geo, developer type, etc.)
Slide 4: demo
Slide 5: certification
Slide 6: call-to-action
Slide 7: resources: (URLs, where to go/who to call for more
information, etc.)