Constructing a Cantor set
Click
here
to see the source.