Collapsed Sierpinski Gasket

My first 3-D fractal produced at Centre College in FYS 108 a course on Chaos theory and fractal geometry. This was produced using some of my code to make an animated Sierpinski Gasket and I figured that the collapsed Sierpinski Gasket would look interesting and novel,so I figured out the dimensions and code to create the 3-D fractal pictured above.