Dear Keith, I would love to try out your Fractal tree, but I can't work out how I can MicroWorldise your Fractal Tree. What do i do with define? Do I need it? I don't need for it to stay in a one-liner form. I would just like to see it work. Also, what does reset do? Is there an alternative command in MW I could use, or can I do without it? Regards Julie Clune Information Technology Teacher Glenelg Inc South Australia JENEVOLD@aol.com wrote: > > Fractal Tree, 21W > define "t [[x] [if :x > 1 [t :x*.6 rt 60 t :x*.6 fd :x]]] t 300 > > This is the shortest recursive fractal I could devise. > Can anyone make a shorter one? > > Note: If there were a primitive which returned the call depth, > then you could make a fractal tree in 17 words: > define "t [[] [if depth < 11 [t rt 60 t fd 400*power .6 depth]]] t > --------------------------------------------------------------- Please post messages to the Logo forum to logo-l@gsn.org. Mail questions about the list administration to logofdn@gsn.org. To unsubscribe send unsubscribe logo-l to majordomo@gsn.org.
Global SchoolNet Foundation -
Linking Kids Around the World!
Copyright GSN - All Rights Reserved
- Comments
& Questions
Visit GSN's
Global
Schoolhouse for more exciting learning resources!
Search our Site
-
Home