Activities/Turtle Art: Difference between revisions
Tonyforster (talk | contribs) |
Tonyforster (talk | contribs) →Internals: make purpose more clear |
||
| Line 446: | Line 446: | ||
Alternatively, you can open the logosession in 'Write', copy the Logo code to the clipboard, and then paste it into the UCB Logo Activity. | Alternatively, you can open the logosession in 'Write', copy the Logo code to the clipboard, and then paste it into the UCB Logo Activity. | ||
===Internals=== | ===Internals, how a Turtle Art project is converted to Logo=== | ||
Shown here is the Logo code generated from the Turtle Art project shown above. | |||
Firstly the Logo code contains procedures for setting up the palette and the shade functionality: | |||
to tasetpalette :i :r :g :b :myshade | to tasetpalette :i :r :g :b :myshade | ||
| Line 514: | Line 516: | ||
end | end | ||
Then the Logo code contains the project: | |||
to ta | to ta | ||