NTNUJAVA Virtual Physics Laboratory
Enjoy the fun of physics with simulations!
Backup site http://enjoy.phy.ntnu.edu.tw/ntnujava/

Easy Java Simulations (2001- ) => optics => Topic started by: ahmedelshfie on April 26, 2010, 05:51:44 pm



Title: Ray tracing (polygon: range from 3-32 faces)
Post by: ahmedelshfie on April 26, 2010, 05:51:44 pm
This applet explain about Ray tracing (polygon: range from 3-32 faces) created by prof Hwang
Modified by Ahmed
Original project Ray tracing (polygon: range from 3-32 faces) (http://www.phy.ntnu.edu.tw/ntnujava/index.php?topic=1434.0)


The intensity was calculated for s-wave.
The subroutine for p-wave is also available in the xml source.
Click show all chekbox to show all the rays with equal intensity. (Maximum number of trace can be changed with right slider 3-20)
If the drag mode is checked, you can drag the whole polygin.
otherwise, you can drag each corner to change the shape of the polygon (with restrictions).

You can dray the arrow to change it's location or direction (depends on where you drag).
It can be drag inside the polygon,too!

un-check the checkbox labeled "check" if you want to created inward type polygon shape.

The following simulation assume the ray will not enter the polygon more than once.


Title: Re: Ray tracing (polygon: range from 3-32 faces)
Post by: ahmedelshfie on April 26, 2010, 06:31:13 pm
This applet is Ray tracing for laser light created by prof Hwang
Modified by Ahmed
Original project Ray tracing for laser light (http://www.phy.ntnu.edu.tw/ntnujava/index.php?topic=1445.msg5475#msg5475)
The slider at the top can be used to adjust minimum intensity ray to be drawn/calculated in the simulation.