I don't like having a bunch of different versioned files cluttering up my thing, so I made a derivative with a new feature. This version can make triangular based pyramids. I haven't fully wrapped my head around Openscad polyhedrons, so I stole some code from Revar's comment here. Like the original sierpinski pyramid, this can only be compiled in openscadpy; an unfortunately strict requirement but it IS parametric and it IS fractal.
Do not attempt to print unless you have Chuck Norris's skeinforge profile.