ScratchData LogoScratchData
Back to boaz4's profile

Epic 3D Sponge Fractal!

BOboaz4•Created November 9, 2013
Epic 3D Sponge Fractal!
462
335
8664 views
View on Scratch

Instructions

Welcome to a simulation of one of my favorite fractals: ~~~~~THE MENGER SPONGE~~~~~ The controls are explained in the project. ______________________________________________________ LINKS FOR MORE INFO: What Wolfram|Alpha has to say about the Menger Sponge: http://www.wolframalpha.com/input/?i=Menger+sponge Wikipedia: (has a nice "formal definition") :D http://en.wikipedia.org/wiki/Menger_sponge

Description

HOW THIS WORKS: I defined a block to draw a menger sponge of iteration A centered at (X, Y, Z). The block uses recursion. It draws menger sponges of iteration A-1 in the places needed to create the fractal. In a way, this project draws the fractal using its own definition. :D The program can create any iteration of the fractal, but when you put too many iterations it lags a ton, so I blocked any renderings of iterations which are too high.

Project Details

Project ID14098004
CreatedNovember 9, 2013
Last ModifiedDecember 4, 2014
SharedNovember 14, 2013
Visibilityvisible
CommentsAllowed