3D Dreidel?
Posted: Fri May 06, 2005 4:14 pm
Just playing around a bit with it.. I used my eyes (instead of math) to adjust some of the distances which should be better tweaked. Wanted to see if I caould create some kind of triangle with the polygons... Then turn that into Sierpensky's Sieve... Ended up with Sierpensky's Dreidel?
Playing around with this is very addictive...
Playing around with this is very addictive...
Code: Select all
startshape seed
include i_polygon.cfdg
rule seed {
meta_triangle {}
go_up {}
}
rule go_up {
meta_triangle { y 1.7 }
go_left { r -5 }
go_right { r 5 }
go_up { b 0.01 y 1.9 s .8 }
}
rule go_left {
meta_triangle { x -1.9 }
go_left { b 0.1 x -1.9 r -15 s .77 }
}
rule go_right {
meta_triangle { x 1.9 }
go_right { b 0.1 x 1.9 r 15 s .77 }
}
rule meta_triangle {
triangle { y .48 }
triangle { x .5 y -.4 }
triangle { x -.5 y -.4 }
}
rule triangle {
polygon6sided { s .55 y .22 }
polygon6sided { s .55 x -.25 y -.22 }
polygon6sided { s .55 x .25 y -.22 }
}