Welcome to Fractal Forums

Fractal Software => 3D Fractal Generation => Topic started by: Max Sinister on April 30, 2016, 08:18:33 PM




Title: Some experiments with the Menger sponge
Post by: Max Sinister on April 30, 2016, 08:18:33 PM
After learning a bit about 3D printing and the STL file format, I decided to write a program from scratch to create STL files. First, I used it to make a simple cube, then I added recursion to create a Menger sponge.

After this, I did the math to make a "Menger roof" and a "Menger star slice":


(Pictures are screenshots from STL Viewer.)

More pictures will be coming...


Title: Re: Some experiments with the Menger sponge
Post by: Max Sinister on May 02, 2016, 03:59:26 PM
Now I'm trying different proportions.

First, 1-2-1:

Second, 2-1-2:

Next challenge: More irregular proportions.


Title: Re: Some experiments with the Menger sponge
Post by: Max Sinister on May 06, 2016, 09:31:36 PM
OK, this one was broken:



Title: Re: Some experiments with the Menger sponge
Post by: Max Sinister on May 06, 2016, 10:45:04 PM
The "Menger roof" and "Menger star slice", this time dividing the sides 1:2:3 instead of 1:1:1.



Title: Re: Some experiments with the Menger sponge
Post by: Max Sinister on May 09, 2016, 11:27:08 PM
Now I'm adding even more variables: Along the x-axis, the proportions are 1-2-1; along the y-axis, 2-1-2; and along the z-axis, 1-2-3.

Gives a very strange effect - a mixture of order and chaos. Not to say, uncanny.



Title: Re: Some experiments with the Menger sponge
Post by: cKleinhuis on May 10, 2016, 12:01:29 AM
i played around with the obvious back then like this:

define a 3x3x3 boolean array and define the cut out areas by true/false

then next step is to use hybridisation, you can exchange the 3x3x3 array at every following iteration,

and can create some fancy rules for what 3x3x3 array should be taken in next iteration, e.g. fill the 3x3x3 array with indexes to another array, every non zero indes is a "cube" in an iteration

... just my 5 cents ;)


Title: Re: Some experiments with the Menger sponge
Post by: Max Sinister on May 10, 2016, 08:57:59 PM
Of course... and that way you could also create, let's say, the Menger Cross. Just by inverting the booleans.

Which software did you use for that? And how did it create graphics, and how did they look like? Are they somewhere here in the forum?


Title: Re: Some experiments with the Menger sponge
Post by: cKleinhuis on May 11, 2016, 12:21:01 PM
no, it was an opengl realtime app, and was used in a pc intro i made 10 years ago ;)


Title: Re: Some experiments with the Menger sponge
Post by: Max Sinister on May 12, 2016, 09:41:31 PM
Ah, OK.

(Thinking about the last picture: It looks as if the sponge was melting or withering. Bad material? :dink:)