3 ways of Creating the Sierpinski Carpet
Developed by Roger Bagula
C Source and images by Paul Bourke
July 2004
Hadamard matrix
Basic source
C source
IFS (Iterated Function System
Basic source
C source

100,000 points

1,000,000 points

10,000,000 points
Pascals triangle
Basic source
C source

Rendered as a "island"