This series of lessons originated as a coorporation between the Drawing Station and Interaction Station. It gives the student an introduction to conditional design drawing technique, and programming fundemantals. The underlying theme is Analog & Digital. What is the essential difference between giving an assignment to a human, as opposed to a computer? See also: Jam Sandwich Algorithm . And we start by using analog tehcniques (pen, paper, geo triangles), then step by step move to the computer, and end where we begun, in the analog domain, by using a pen plotter.
For the four weeks open aanbod, the lessons schedule was:
- Week 1: First do some existing conditional design assignments, then make your own, and execute each other's. Discuss the results.
- Week 2: Create algortihms using the analog puzzle pieces, and execute each other's. Discuss the results.
- Week 3: Program the algorithm in python
- Week 4: Finish the program and plot it with a pen plotter. End presentation.
For a workshop, this can be pressure-cooked into 2 hours:
- 10 minutes [doing] conditional design assignment
- 5 minutes discussion
- 15 minutes [instruction] turtleblocks introduction
- 20 minutes [doing] create an algorithm
- 10 minutes [instruction] converting it to python
- 60 minutes [doing] python programming, meanwhile plottingh out the results.
Here's the Lesbrief (in Dutch).
1: Conditional design
- A nice reference is the "Workbook Conditional Design" that's available in the mediatheque.
- Here are some assignments that can be used for the short workshop: Conditional Design assignments
- For the long lesson series: Instructions .
- Results can differ, although nobody is "wrong"! Discuss this. Difference between programming a human and a computer.
- Basically an analog version of scratch.
- Make sure every student has 2 duplicates of every different puzzle piece.
- The transparent version can be used for explaining the blocks with an overhead projector, which can be drawn upon too, using an overhead projector. We can simulate the whole turtle program in an analogue way. (You can also have a little paper triangle that can be moved around representing the turtle)
- Let students draw their own and each others program, so they understand what's happening, executing the code line by line. They "play" the programmer, and "play" the turtle.
You can find the laser cut file here: Laser-cut Turtleblocks. The cheatsheet on how to convert in to python code is there too.
3: Python plotterturtle
- Some good python turtle examples are to easy to find on the web.
- Using the plotterturtle library, we make the code as clean and easy as possible (for instance, no need to create a turtle object)
- Introduce indentation and basic error handling (see if you can spot the mistake)
For info on how to install and run the python code Python plotterturtle module
Some example scripts (click to enlarge, click again to enlarge more):
4: Pen plotter
- Every time a student runs is program , a .plt file is generated. Collect the files using a USB stick, and plot them out on a computer that's connected to a plotter, using Chiplotle.
- For info on how to use the plotter, see the plotterlibrary github, and google for HP7475A plotter. Felt-tip pens can be inserted by making them a bit thicker with tape.