I've made a Sierpinski pyramid with the help of the macro "Sierpinski Triangle
in 3D by Anders Haglund" and two (haven't tried 4 yet) while loops. Some
overlapping occurs(two pyramids in the exact spot), but its not significant.
The macro is making an iteration 10 pyramid which I use to make bigger pyramids
(ie, I cheat higher iterations).
Each while loop goes from 0 to 4. I use a few thousand of these uber-pyramids,
they only use very little memory.
What I want to know consists of the following:
1) What is the equation for the Cube Menger sponge?
2) If at iteration2 25 pyramids are used in the base pyramid, and 25 of those
are used to create one larger which is used 25 times to make the last pyramid,
what is the equivilent iteration level when I use base pyramid iteration 10?
I'll give my source if it is wanted, but I suspect it is nothing special.