Tutorial on Java Sketchpad
- Make a sketch modeled after the one in the Japanese geometry lesson
in the TIMSS video. It shows that triangles with the same base and height
have the same area.
- Download the Java Sketchpad package from the
Java
Sketchpad Center
- Start up Geometer's Sketchpad with an "untitled" window.
- Construct a segment AB with the line tool.
- Construct a point C not on AB with the point tool.
- With the selection tool, select AB and C with the shift key pressed
down. Choose Parallel on the Construction menu.
- Select the point C, and choose Hide Point on the Display menu.
- Construct a new point E on the parallel line.
- Construct segments AE and BE.
- Select A, B, and E with shift down. Choose Polygon Interior
on the Construct menu.
- With the triangle interior selected, choose Area from the Measure menu.
- Save your sketch with the name triangle.
- Convert your sketch to HTML.
- Start up GSP HTML Converter.
- Open the file triangle.
- Adjust the size of the window as you want
- Adjust the size of the window as you want it on your web page.
- Save as HTML in the same place as the JSP folder
that came with the Java Sketchpad package. This will produce a file triangle.html.
- Check your HTML page.
- Start up a web browser.
- Choose Open File, then open triangle.html.
- If it isn't quite right, edit it with a text editing program.
- Edit your HTML page.
- Start up a text editing program.
- Open the file triangle.html.
The part of the file between <APPLET> and </APPLET> is
your sketch; don't mess with this part until you're more experienced. Put
any text you want before and/or after the applet. A big heading is surrounded
by
<H1> and </H1>
For a paragraph break, put <P>.
- Save your file.