By Rakesh Menon on Mar 17, 2009
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!
<script src="http://dl.javafx.com/1.2/dtfx.js"></script><script src="/rakeshmenonp/resource/LightEffect/LightEffect.js"></script>
For Applet mode, click on above image
Now you too can enjoy using light effects in your application! Simple?!