JavaFX animation

I am writing a blog after quite a long time now and wanted to share a simple FX animation that I wrote as a learning step.

The script attempts to simulate a Solar System in fullscreen mode, though I haven't really followed the exact behaviour of a solar system yet. It uses simple 2D graphics through javafx.ui and javafx.ui.canvas package.

Attaching a screenshot of the application



 

 There are a few configurable keys provided for playing with the application like pressing left/right arrow to increase/decrease stars count. You will find them on the top left of the application.

 

The script source code is at:

Solar.fx

 

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