This applet explain about Ray tracing (polygon: range from 3-32 faces) created by prof Hwang
Modified by Ahmed
Original project [url=http://www.phy.ntnu.edu.tw/ntnujava/index.php?topic=1434.0]Ray tracing (polygon: range from 3-32 faces)[/url]


The intensity was calculated for s-wave.
The subroutine for p-wave is also available in the xml source.
Click [b]show all[/b] chekbox to show all the rays with equal intensity. (Maximum number of trace can be changed with right slider 3-20)
If the [b]drag mode[/b] 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 "[b]check[/b]" if you want to created inward type polygon shape.

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

/htdocs/ntnujava/ejsuser/37048/users/br/ahmed/users_ntnu_fkh_polygonrays_pkg/users_ntnu_fkh_polygonrays.propertiesFull screen applet or Problem viewing java?Add http://www.phy.ntnu.edu.tw/ to exception site list
Press the Alt key and the left mouse button to drag the applet off the browser and onto the desktop. This work is licensed under a Creative Commons Attribution 2.5 Taiwan License
Download EJS jar file(1366.3kB):double click downloaded file to run it. (11 times by 9 users) , Download EJS source (3 times by 2 users) View EJS source