BlackBody may be embedded into an HTML page using the following syntax:
<APPLET code="blackbody.BlackBody.class"
CODEBASE="Classes" align="middle" width="500"
height="400"
ARCHIVE="BlackBody.jar" name="BlackBody">
<PARAM name="Temp" value="5321">
sets the initial
temperature, in this case 5,321 Kelvin.
<PARAM name="showControls" value=true> for a value of
true, slider and autoscale controls are shown. For 0, they aren't.
<PARAM name="colorSwatch" value="1">
for a value of 1, the color swatches are shown.
For 0, they aren't. Saves screen space without it.
<PARAM name="enableCursor" value="1">
for a value of 1, the cursor is enabled
(allowing changes in peak wavelength to be made right on the graph). For 0, the cursor
isn't enabled.
</APPLET>
Public Methods:
You may download the BlackBody.jar file and use it to develop NON-COMMERCIAL curricular material for use at accredited educational institutions. Jar files are referenced using the HTML Archive tag. This applet was written by Wolfgang Christian, Mike Lee, and Ansel Singer-Barnum at Davidson College.
| Visit the Physlets Page or contact Wolfgang Christian . |
|