As a curriculum developer you can control the range of the x and y variables and the names and ranges of the four parameters. Each parameter is controlled by one of the four vertical controls. The user can use these controls in two different ways to study the effect of the parameters.
To use the Shock Wave Lite Applet -- multiParameterAnimation in your own Web page you must download the file multiParameterAnimate.dcr and put it in the same directory as the html file for your web page. To download a file Option-click the link in MacOS or right-click and choose the appropriate option in Windows. The following paragraphs describe the html code that must be included in your html page. The screen shot below shows the html code for an example. To use this example you would include all the code between the lines open and close body tags.
This Shock Wave Lite Applet uses nine parameters. Because of incompatibilities among different browsers the parameters must be included twice, in two different forms. Each form works on some but not all browsers. You must follow the forms exactly. The two forms are highlighted in red and blue in the screen shot above.
You can graph up to two additional curves. The additional curves are specified in sw7 and separated from each other and the original curve using colons - for example, cos(x):p1 * cos(p2 * (x - p4)) + p3 -- would display two curves. The two curves share the same parameters and are drawn from left-to-right.
xLowLabel:xHighLabel:yLowLabel:yHighLabel:p1Name:p1LowLabel:p1HighLabel:p2Name:p2LowLabel:p2HighLabel:p3Name:p3LowLabel:p3HighLabel:p4Name:p4LowLabel:p4HighLabel
and specifies labels for the low and high end of the x-axis, the y-axis, and the four vertical controls for the parameters. It also specifes label for the four parameters. Note that internally the four parameters are always denoted p1, p2, p3, and p4 but the controls usually have other labels.
[backgroundRed, backgroundGreen, backgroundBlue, gridRed, gridGreen, gridBlue, axesRed, axesGreen, axesBlue, curveRed, curveGreen, curveBlue]
where each entry is an integer between 0 and 255. The default colors are shown in the example. If additional curves are drawn their colors are specified in the same way and added at the end of this list.