The Hyperbolic Toolbox: 
Non-Euclidean Constructions in Geometer's Sketchpad

5.  Filling Your Toolbox:  Obtaining, Installing, and Using the Hyperbolic Tools

In this section, we give detailed information on how to obtain and install the tools.  This process essentially consists of the following steps:

  1. Make sure to have a working copy of Geometer's Sketchpad.
  2. Download the desired tools into the proper directory.
  3. Unzip any zipped files in the appropriate directory.
  4. Open the appropriate Sketchpad template file.
  5. Select and run the scripts of choice to perform the desired non-Euclidean constructions.

  1. Make sure to have a working copy of Geometer's Sketchpad. The software can be purchased from Key Curriculum Press. You can download a free demonstration version of Geometer's Sketchpad from the Key Press site. The demo version differs from the full version only in that you cannot save, print, or export your work.  It otherwise allows full use of  Sketchpad capabilities, including its script tools in particular.

  2. Download the desired tools into the proper directory. It is recommended that you create three separate directories where you can store the script tools corresponding to the three different models. For reference, we shall call these directories  "poincare,"  "poinhalf," and "klein."
  3. Unzip any zipped files into the appropriate directory. If you downloaded "" or "," unzip the files in the directory in which you will be storing the tools.  There are several shareware and commercial vendors of unzipping utilities (see WinZip or Pkware, for example), and extensive documentation is available.

  4. Open the appropriate Sketchpad template file.  These templates contain the basic geometric structures associated to each model.  For example, the Klein model template "klnstrt.gsp" contains a template for the Klein disk.  It consists simply of a circle defined by a center point (labeled "K-Disk center") and a point on the circle (labeled "K-Disk radius").  The labelling is important if you wish to use the scripts in an automated setting (see #5 below).  The hyperbolic tools assume those labels as givens for the constructions.  If the center and "radius point" are labeled differently, then the scripts will need to be played manually (see #5 below).   The template for the Poincaré disk (a circle with center "P-Disk center" and point "P-Disk radius") is found in the file "poinstrt.gsp".  The template for the  Poincaré half-plane model (consisting of a horizontal line through two points labeled "A" and "B") can be found in the file "poinhalf.gsp."

  5. Select and run the scripts of choice to perform the desired non-Euclidean constructions.  There are two different ways to run a Sketchpad script:  manually by "playing" an open script, and automatically by using a script tools directory. We will consider each of these in turn, and include a detailed example for less experienced users of Geometer's Sketchpad. In either case, however, Sketchpad has extensive documentation on using scripts. (Note:  The examples and instructions described below were documented using version 3.10 of Geometer's Sketchpad  on a Windows 98-based computer.  On other platforms or different versions of the software, the general steps should still be the same, but the specific keystrokes may be slightly different.)

(The above figure comes from a Windows 98 version of Geometer's Sketchpad; the desktop may appear slightly different on different platforms.)  In this picture, the script file appears on the upper right-hand of the desktop.  Click on the image for an enlarged view.  

  A closeup of an open script file.  

To construct the desired non-Euclidean circle, the script requires four pieces of information:  the two points which define the circle and the two points that define the Klein disk. As a result, the script kcntrpt.gss for a  Klein circle accepts as "Givens" four  different objects:  the point defining the center of the Klein disk (called "K-Disk center"), and a point on the boundary of the disk (abusively called "K-Disk radius"), together with the center O of the circle and a point P on the circle.  To construct the circle, highlight the givens in the appropriate order by holding down the "Shift" key while selecting the givens in your sketch in the correct order: click on the point "K-Disk center," then click on the point "K-Disk radius," then click on your center point O, and finally click on the point P which will lie on the desired circle. (Remember to hold down the "Shift" key while making these selections.)  At this point, all of your givens should be highlighted.  If the script becomes hidden on your desktop because of these actions, you can bring it on top again by selecting it under the "Work" menu option.  Now play the script by clicking on the "Play" button on the tool:

Sketchpad should construct the desired circle, and you should be able to watch the program performing the steps in the construction.  Click on the "Fast" button to have the construction finished more rapidly.  The figure that should result is given in the picture below (click on the figure to see an enlarged view):


will appear on the left side of your Sketchpad desktop, just below the Object Information ("?") tool. 

Next, one needs to open the appropriate template file (klnstrt.gsp in this example), and to make sure that the disk center and "radius point" are labeled properly.  In our particular example, the center must be labeled "K-Disk center" and the point on the boundary of the disk must be labeled  "K-Disk radius."  One can see from script definition for kcntrpt.gss (see the picture above) that the "Givens:" include "Auto-K-Disk center" and Auto-K-Disk radius."  When using automatic scripting, Sketchpad looks for these "Auto" points by name, so if the Klein disk is not labeled in this way, the automatic scripting will fail.

If the script directory has been set up properly and a properly labeled template file has been opened, then automatic scripting is straightforward.  One can select the appropriate hyperbolic tool by clicking on the script tool button, then scrolling down to the desired tool (in our example, this is the tool entitled "Klein Circle by center and point":

  Click on the image for an enlarged view.  

Once the script tool has been selected, the mouse pointer should appear with a small circle at its tip:

Now if one selects the other desired givens for the script by clicking in the sketch, Geometer's Sketchpad should perform the desired construction automatically.  In our Klein-circle example, after selecting the proper script tool, if one clicks on two points in the interior of the Klein disk (corresponding to the two remaining givens, center O and point P on the circle), Geometer's Sketchpad will construct the desired hyperbolic circle.  In fact, after clicking on the center point O, the circle will be generated dynamically; Sketchpad will construct the Klein-circle centered at O and passing through the current location of the pointer, and will continue to do so until the second click:

  Click on the image for an enlarged view.