Home > javafx > JavaFX – Light Effect

JavaFX – Light Effect


JavaFX provides many APIs for Lighting effects.

There are also different light types such as

As you might have noted, there are many attributes available in each of these classes to control the light. To be frank, I’m not really familiar with the details of those attributes. But I still would like to use the APIs to generate light effects.

For this I have written a program which will generate the source code for the light effect. The user just needs to change the slider and monitor the changes in light. Once the user is happy about the effect, he can just copy the code that is shown and use it in his application!

For Applet mode, click on above image

For standalone mode

Now you too can enjoy using light effects in your application! Simple?!


var dzone_url = “http://blogs.sun.com/rakeshmenonp/entry/javafx_light_effect”;
var dzone_style = ‘2’;

Advertisements
Categories: javafx Tags: ,
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: