Cantor

Cantor is a 2-dimensional Cantor set, a square divided into nine parts with the middle rectangle removed, and the same process applied to the other eight rectangles, ad infinitum. The black region is the Cantor set; the gaps are decorated. A version where all the rectangles are identical squares can be described mathematically as the set of (x, y) such that x and y lie between 0 and 1 and contain no 1s in their base 3 representation (e.g. 0.02202 would be in the set), repeatedly excluding the middle third of both coordinates.




Almost valid HTML Valid CSS
Applets Gallery / Cantor / created Sunday, 5 July 1998
If you link to this page, please use this URL: http://www.gregegan.net/APPLETS/03/03.html
Copyright © Greg Egan, 1998. All rights reserved.