HOME | DD

Theli-at — Open Menger -3 iterations- by-nc-nd

Published: 2010-10-05 23:28:14 +0000 UTC; Views: 792; Favourites: 16; Downloads: 53
Redirect to original
Description A Menger Sponge with some pieces removed.
3 iterations.

Structure Synth and Sunflow.
Related content
Comments: 4

Will3Style [2010-10-25 23:14:38 +0000 UTC]

How did you create this? I'm just wandering as I've had a few ppl ask me on the gfx forum im Admin on. (no its not posted just in my fav section)

👍: 0 ⏩: 1

Theli-at In reply to Will3Style [2010-10-26 09:02:49 +0000 UTC]

It was based on one of the examples that comes with Structure Synth. I added a ground plane and a line of code that randomly moved boxes off camera.

Here's the code:

R1
set maxobjects 200000
set seed 2
{ x 0.55 y 0 z 0 s 0.1 0200 200 color #ddd} box
rule R1 maxdepth 3 > c2 {
{ s 1/3 x -1 y -1 } R1
{ s 1/3 x -1 y -1 z -1 } R1
{ s 1/3 x -1 y -1 z +1 } R1
{ s 1/3 x 1 y -1 } R1
{ s 1/3 x 1 y -1 z -1 } R1
{ s 1/3 x 1 y -1 z +1 } R1
{ s 1/3 y -1 z -1 } R1
{ s 1/3 y -1 z +1 } R1
{ s 1/3 x -1 y 1 } R1
{ s 1/3 x -1 y 1 z -1 } R1
{ s 1/3 x -1 y 1 z +1 } R1
{ s 1/3 x 1 y 1 } R1
{ s 1/3 x 1 y 1 z -1 } R1
{ s 1/3 x 1 y 1 z +1 } R1
{ s 1/3 y 1 z -1 } R1
{ s 1/3 y 1 z +1 } R1
{ s 1/3 x -1 z -1 } R1
{ s 1/3 x -1 z +1 } R1
{ s 1/3 x 1 z -1 } R1
{ s 1/3 x 1 z +1 } R1
{ s 0.5 hue 25 } sphere
}

rule c2 {
{ s 0.9 color #ddd} box
}

rule R1 { { x 100 s 0.01 color white } box }

👍: 0 ⏩: 0

Will3Style [2010-10-06 00:16:39 +0000 UTC]

Wow, that's hard to believe it's a fractal. Really awesome piece of work.

👍: 0 ⏩: 1

Theli-at In reply to Will3Style [2010-10-06 01:15:57 +0000 UTC]

Thank you.

👍: 0 ⏩: 0