Self-Affine Variants of the Sierpinski Carpet

Initializing live version
Download to Desktop

Requires a Wolfram Notebook System

Interact on desktop, mobile and cloud with the free Wolfram Player or other Wolfram Language products.

Variants of several classic fractals can be generated by applying scaling factors in each dimension. This produces polygon-shaped holes in the figure. This Demonstration shows the results of affine transformations on the Sierpinski carpet.

Contributed by: Robert Dickau (September 2018)
Open content licensed under CC BY-NC-SA


Snapshot 1: moving the controller changes the shape of the interior hole from a square to a rectangle.

Snapshot 2: further iterations are constructed from affine transformations of the initial shape.

Snapshot 3: with the scaling factors and , the figure is the classic Sierpinski gasket.


[1] G. A. Edgar, Measure, Topology, and Fractal Geometry, New York: Springer-Verlag, 1990 p. 187.


Feedback (field required)
Email (field required) Name
Occupation Organization
Note: Your message & contact information may be shared with the author of any specific Demonstration for which you give feedback.