Bump Map Applet Demo


Move your mouse pointer over the picture!

The code to include this applet looks as follows:

<APPLET CODE="Bumps.class" WIDTH=200 HEIGHT=100>
 <PARAM NAME=image VALUE="height.gif">
 <PARAM NAME=radius VALUE=50>
 <PARAM NAME=bumpHeight VALUE=30>
</APPLET>

The image tag defines what image to use. The brightness of each pixel in the image is used to determine the height of the bumps - white is highest, and black is lowest. The radius tag defines the size of the spotlight, and the bumpHeight tag specifies how high the bumps stick up.

To download the bump map applet, to use it on your own web page, click here.


Back to Jason's spacedock

Hosted by www.Geocities.ws

1