Place mouse pointer at any
point in the tunnel
to change the motion of tunnel
Click
here to see another example.(non interactive, fast)
This classic applet displays
tunnel like effect for any image passed as parameter. You can control
the motion of the tunnel with your mouse. Simply place your mouse
pointer at any point inside the rectangular window & the tunnel's
motion will change accordingly.
You can change various parameters
with the help of param tags.
Sample Code
<applet code="tunnel.class" archive="tunnel.jar"
width=300 height=200>
<param name=image value="texture.jpg">
<param name=speed value="2">
<param name=direction value="forward">
<param name=rotdir value="clockwise">
<param name=interactive value="yes">
</applet>
You will find more information
in the readme file in the download file.
Download File Info:
Size: 26 KB
The zip file contains the class
file & an html file. You can use the html file to view the effect
if you have Java Enabled Browser. The readme files giving all information
the program & it's usage is also included in the zip file.
|