[sugar] turtleart documentation? recursion?

Daniel Drucker dmd
Sun Oct 7 20:21:29 EDT 2007


Is there documentation for Turtleart anywhere?

I'm trying to construct the equivalent of this:

to koch :size [
  if :size < 10 [
    fd :size
  ] [
    koch :size/3
    lt 60
    koch :size/3
    rt 120
    koch :size/3
    lt 60
    koch :size/3
  ]
]

but can't figure out how to pass an argument.

Daniel Drucker




More information about the Sugar-devel mailing list