Sierpinski Carpet
Beginning with the unit square each iteration of the Sierpinski Carpet's contractions yeilds a region in the plane thus the SC function requires only the level and the number of refinements:
[p,t,v,l]=SC(Level,# of Refinements);
Home