How to Run the Cantor's Comb Activity

How Do I Run This Applet?

This java applet requires a java-capable browser. If you don't see the applet, Java may not be functional in your browser or on your machine.

Object of the activity

This activity allows the user to step through the process of building Cantor's comb.

Controls and Output

  • The rectangular area at the top of the applet shows the fractal, which consists of a number of red lines.
  • The Previous Step and Next Step buttons move you forward and backward one step in the drawing process.
  • This label tells you how long each of the red lines that make up the fractal are (as a fraction of the total width) and what step of the fractal iteration you are on.
  • In the boxes marked Fraction Removed, enter fraction of each line segment you want removed at each step. Enter the numerator in the first box and the denominator in the second box. 1/3 is the default. Press the Set button to restart with a new value for Fraction Removed.



Please direct questions and comments about this page to
interactivate@shodor.org
© Copyright 1997-2000 The Shodor Education Foundation, Inc.