3D Dreidel?

If you have a design you're proud of, share the cfdg file here. It's also a good place to ask for feedback and collaborate.

Moderators: MtnViewJohn, chris, mtnviewmark

Post Reply
globalreset
Posts: 4
Joined: Fri May 06, 2005 4:07 pm

3D Dreidel?

Post by globalreset »

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...


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 }
}
Image

User avatar
chris
Site Admin
Posts: 72
Joined: Wed May 04, 2005 10:57 am
Location: New York, NY
Contact:

great!

Post by chris »

love it...
Current Project: I'm creative director of OKCUPID at http://www.okcupid.com

User avatar
mtnviewmark
Site Admin
Posts: 81
Joined: Wed May 04, 2005 12:46 pm
Location: Mountain View, CA
Contact:

Re: 3D Dreidel?

Post by mtnviewmark »

globalreset wrote:I used my eyes (instead of math) to adjust some of the distances
I do this quite a bit, and find it works great. I also frees me from the strictures of algebraic geometry: I like to tweak shapes so they aren't nice perfect shapes - and in that case the math would be way too hard to compute...
I'm the "m" in "mtree.cfdg"

Post Reply