Activities/Turtle Art: Difference between revisions
Tonyforster (talk | contribs) |
Tonyforster (talk | contribs) |
||
| Line 705: | Line 705: | ||
The following feature—a block that can be programmed by the Pippy activity—is available in versions 44+ of Turtle Art. | The following feature—a block that can be programmed by the Pippy activity—is available in versions 44+ of Turtle Art. | ||
A copy of the tamyblock.py module is stored in the Journal when you first launch Turtle Art. You can edit the module in Pippy | ===Version 44 to ??=== | ||
A copy of the tamyblock.py module is stored in the Journal when you first launch Turtle Art. All the sample modules are in one file but all except one is commented out with # | |||
You can edit the module in Pippy. Load the Python block using the Pippy button on the Project toolbar. You can only have one type of Python block in your Turtle Art program. | |||
[[Image:TAPippyButton.svg]] | [[Image:TAPippyButton.svg]] | ||
| Line 711: | Line 714: | ||
[[Image:TA-pippy.png|300px]] | [[Image:TA-pippy.png|300px]] | ||
To | To load the customized block, select the "Pippy" block found on the the Extras palette. | ||
===Version ?? onwards=== | |||
A number of different sample programs are provided. Using them is a 2 step process. First copy the sample to the Journal, then load the Python block. Click the Load Python Block button | |||
===Sample code=== | |||
[[Image:TA-dotted-line.png]] | [[Image:TA-dotted-line.png]] | ||