JavaFX animation (continued)

Another typical bouncing ball kind of application that I have come up with. Nothing fancy about this application. I have written the application in both JavaFX and Java just to see as to what it takes to come up an application with the same output on both these languages.

Similar to my earlier sample on Solar System simulation, there are a few attributes made configurable with some keypresses. You will find instructions on those at the top left of the application

In order to compare the output, run both the apps from two different terminals. JavaFX script occupies the first half of the screen and the java app occupies the other half. Running both of them simultaneously would occupy the fullscreen.

 Attaching screenshot of the combined application:

 

The script and java program are at:

StarField.fx  and StarField.java


Thanks,

Kannan

 
Comments:

Post a Comment:
  • HTML Syntax: NOT allowed
About

kannan

Search

Categories
Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today