Check out other


 
Other Categories
 

The Java Planet

presents The Tunnel Effect

You need java enabled browser to run this applet.
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.

Click here to download

If you like this site, refer it to your friends


Other Visual Effects
The Lake Effect
The Rain Effect
Explosion

Click here to add "The Java Planet" to your favorites or bookmarks

Jump to:


File Info:

Tunnel.zip
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.

Click here to download


Make Suggestions, Comments, Bug Reports or Ask for Help

Copyright © 2003 Vishal Mamania — All Rights Reserved