{
  "section0Title": "Overview",
  "section1Title": "Introduction: TurtleStitch",
  "section2Title": "Repetitions with Limit",
  "section3Title": "Custom Blocks",
  "section4Title": "Repetitions with Counter",
  "section5Title": "Conditional Statements",
  "section6Title": "Recursion",
  "section7Title": "Conclusion",
  "RecreateShape": "Open the editor and recreate the pattern in the turtle preview using Snap blocks or Python. The comparison shows matching, missing and extra lines. Positions and lengths are part of the task; pen-up movements are not stitches.",
  "RecreateShapeWithBlocks": "Recreate the turtle preview using your own blocks or functions in the editor.",
  "RecreateShapeWithCounting": "Recreate the turtle preview using your own blocks and counting loops in the editor.",
  "AnalyzeProgram": "Download the program shown and run it in <a target=\"_blank\" href=\"https://www.turtlestitch.org/run\"> TurtleStitch </a>",
  "ConfirmSteps": "Task completed.",
  "workbookTitle": "Learn programming with the embroidery machine – turtle previews",
  "S0E1Title": "Aim of the workshop",
  "S0E1I1": "Our goal is to decorate a shopping bag with embroidery ourselves. The workshop is divided into two parts.",
  "S0E1I2": "Sections 1–6 cover patterns, loops, custom blocks, counters, conditionals and recursion. Programming tasks have an interactive turtle preview and are completed directly in this workbook. Existing TurtleStitch projects remain available for download and exploration.",
  "S0E1I3": "In the second part we create a pattern ourselves that we embroider into the bag. Here we use the techniques we learned before. You have the last hour of the workshop to do this!",
  "Ex1Title": "A simple program to start with",
  "Ex1Instr1": "Read the commands in the following program and guess what the figure this will create looks like.",
  "Ex1Instr1Scaff": "The exercise also showns an image of code blocks in snap with turtle-like movement commants. The goal of this exercise is that the learner understand that the program describes the movement of a figure. This first program is very simple (the result is a line) but please do not give the result to the student!",
  "Ex1Instr2": "Describe what the character created by the program probably looks like.",
  "Ex1Instr3": "Check your guess. <br> <br> First download the program using the button above and open it in <a target=\"_blank\" href=\"https://www.turtlestitch.org/run\"> TurtleStitch </a> by clicking on the file icon (📝) and selecting 'Open...'. Then run the program by pressing the green flag.",
  "Ex1Instr4": "Information is displayed below the result. How many stitches and how much space are needed for the figure?",
  "Ex1Instr5": "Run the program again and then again. Describe what happens.",
  "Ex2Title": "A second program for diversity",
  "Ex2Instr1": "Download the following program and run it several times.",
  "Ex2Instr2": "Describe what happened and especially what was different.",
  "Ex2Instr3": "Change the number in the green Run command to different values ​​and describe how this changes the result.",
  "Ex2Instr4": "Remove the Run Stitch command and replace it with a Cross Stitch command. Change the numbers in this command too and describe how this changes the result.",
  "Ex3Title": "All good things come in threes",
  "Ex3Instr1": "Download the following program and run it (once).",
  "Ex3Instr2": "Describe what the pen up and pen down commands do.",
  "Ex3Instr3": "Change the numbers in the 'Go To' command. Describe what happens and what the variables x and y are for.",
  "S2E1Title": "Repeat the code, not yourself!",
  "S2E1I0": "Describe how you could draw a pentagon using what you know so far. Why does this approach become inconvenient as the number of corners increases?",
  "S2E1I1": "Describe the shape created by the program",
  "S2E1I2": "Change the number in the 'Repeat' block to 3 and describe what comes out.",
  "S2E1I3": "Change the number in the 'Repeat' block to 6 and describe what comes out.",
  "S2E1I4": "Describe in your own words what the 'Repeat' block does.",
  "S2E2Title": "A more difficult example",
  "S2E2I1": "Change the numbers in the outer and inner 'Repeat' blocks.",
  "S2E2I2": "What happens if you change the numbers in the outer repeat block?",
  "S2E2I3": "What happens if you change the numbers in the inner 'Repeat' block?",
  "S2E2I4": "What would you have to adjust to get a meaningful program if the number in the inner 'repeat' block is always 6?",
  "S2E3Title": "Programming repetitions",
  "S2E4Title": "Further exercises (voluntary)",
  "S2E4I1": "These exercises are a little harder. You can leave them out if you like. Then just jump to the next section.",
  "S3E1Title": "Create and use your own blocks",
  "S3E1I1": "Open <a target=\"_blank\" href=\"https://www.turtlestitch.org/run\"> TurtleStitch </a> and click 'New Block' in the 'Other' section. Call him 'Square'",
  "S3E1I2": "Fill the new block with the following content:",
  "S3E1I3": "Then call the block as follows:",
  "S3E1I4": "Describe what you notice.",
  "S3E2Title": "Use your own blocks",
  "S3E2I1": "Describe the names of the blocks you used and how they work",
  "S3E3Title": "Own blocks with data",
  "S3E3I1": "Your own blocks can also receive data.\nTo change the block, right-click on it to open the context menu and then click “edit” as shown here.",
  "S3E3I2": "Then click on the “+” to the right of the block name and enter a name. This is the name of the data that goes into the block. You can use this data in the block. One also speaks of a “parameter”:",
  "S3E3I3": "What is the name of the parameter in the picture?",
  "S4E1Title": "Analyze repetitions with counters",
  "S4E1I1": "When doing repetitions, you can also count how many times the repetition has already been carried out.",
  "S4E1I2": "The program 'counts' the repetitions. Describe which blocks it does this with and how counting is used",
  "S4E1I3": "The program still doesn't do what it's supposed to do. Describe the error.",
  "S4E1I4": "Fix the error.",
  "S4E1I5": "Explain what the green part of the program does.",
  "S4E1I6": "Describe why you can write the program more beautifully by counting than if you don't count.",
  "S4E2Title": "Use repetitions with counters",
  "S5E1Title": "5a · Division with a remainder",
  "S6E1Title": "6a · A block calls itself",
  "S7E1Title": "Your masterpiece",
  "S7E1I1": "Now use your creativity (PDF task 6): design your own single-colour pattern in the editor. Use loops, functions, parameters and, where helpful, conditions or recursion. This task has no prescribed target pattern.",
  "S7E1I2": "In order for the pattern to be embroidered, it must meet the following properties:",
  "S7E1I3": "<ol><li>At most 20 × 20 cm on the fabric.</li><li>One colour only (black, red, green or blue).</li><li>Suitable stitch spacing; the turtle preview checks geometry, not embroidery suitability.</li></ol>",
  "S7E1I4": "Your program is saved in the workbook. For production, transfer it to TurtleStitch and save the project there. Check scale, stitch spacing and the machine format with a supervisor before embroidering.",
  "S5Modulo": "`i modulo 2` (in Python: `i % 2`) is the remainder when dividing i by 2. Enter the remainder for i = 1 through 7. Which remainders occur for even and odd numbers?",
  "S5E2Title": "5b–c · Explore conditionals",
  "S5Predict": "Predict before running: a program counts i from 1 to 6. If `i % 2 == 0`, it draws a triangle; otherwise it draws a square. It then moves to the next position with the pen up. What sequence do you expect?",
  "S5Example": "Open the editor and inspect the supplied program. It draws six shapes with side length 40, with starting points 80 steps apart. Change the condition to `i % 2 == 1`. What changes? Then restore the original pattern.",
  "S5Explain": "Explain what `if … else …` does and why `i % 2 == 0` recognizes even numbers. Compare the result with your prediction.",
  "S5E3Title": "5e–f · Use conditions in patterns",
  "S5Alternate": "Draw eleven shapes: odd positions contain a house (square and roof, both side length 30); even positions contain an upward-pointing equilateral triangle of side length 60. Starting points are x = 0, 80, …, 800 at y = 0. Use a loop and a condition.",
  "S5EveryFourth": "Change the pattern: only every fourth shape is a large triangle; the others are small houses. Use `i % 4`. Keep the same sizes and starting points.",
  "S5Reflect": "Which condition did you choose? What would you change so that only every third shape is a triangle?",
  "S6Introduction": "Recursion means that a function calls itself. The Koch function from PDF task 5a draws a 50-step line at level 0. Otherwise it calls itself four times with `level - 1`, turning left 60°, right 120° and left 60° between calls. Negative `turn` angles turn left; positive angles turn right.",
  "S6Run": "Open the editor, read the supplied `koch(level)` function and run it at level 0. Find the base case and recursive calls.",
  "S6Predict": "Predict how the number of segments and overall width change at levels 1, 2 and 3. Why does the function terminate?",
  "S6E2Title": "6b · Koch curves at levels 0–3",
  "S6Levels": "Recreate the four previews using the function from 6a (PDF task 5b). The smallest segment always remains 50 steps long, so the widths are 50, 150, 450 and 1350 steps. Each curve starts at (0, 0), facing right. Compare the results with your prediction.",
  "S6E3Title": "6c · Same width at every level",
  "S6Length": "Add a `length` parameter (PDF task 5c). All curves should be 270 steps wide. Hint: divide the length by 3 at each recursive call. The base case moves forward by the supplied length.",
  "S6LengthExplain": "Explain why you divide by 3 even though there are four recursive calls. How long is the smallest segment at level 3?",
  "S6E4Title": "6d · The Koch snowflake",
  "S6Snowflake": "Extend your program to a snowflake (PDF task 5d). Draw three Koch curves of overall length 270, turning right 120° between them. Start at (0, 0), facing right. Create snowflakes at levels 0 through 3.",
  "S6E5Title": "6e · A recursive branching star",
  "S6Branches": "Recreate the branching star from PDF task 5e. Draw six branches from the origin, turning 60° between them. A branch moves forward 90 steps; at its tip, three smaller branches turn left 60°, go straight and turn right 60°. Divide length by 3 each time and branch until level 0 (start level 2). Return to the start of each branch with the pen up so no segment is stitched twice.",
  "S6Termination": "Describe your star’s base case. What happens without a base case? Explain how your program restores position and direction after each branch.",
  "S7DesignReflection": "Which techniques did you use? Describe how to adjust the size and spacing of your pattern.",
  "S7Ready": "Scale, colour and stitch spacing checked with a supervisor.",
  "modulo1": "1 modulo 2 =",
  "modulo2": "2 modulo 2 =",
  "modulo3": "3 modulo 2 =",
  "modulo4": "4 modulo 2 =",
  "modulo5": "5 modulo 2 =",
  "modulo6": "6 modulo 2 =",
  "modulo7": "7 modulo 2 =",
  "level0": "Recursion level 0",
  "level1": "Recursion level 1",
  "level2": "Recursion level 2",
  "level3": "Recursion level 3",
  "downloadButton": "Download workbook",
  "S5NestedTitle": "5d · Nested conditionals",
  "S5NestedPredict": "The next program counts i from 0 to 10 and checks i modulo 3. Remainder 0 draws a triangle; otherwise a second condition checks for remainder 1 to draw a square, or a triangle for other remainders. Predict the sequence before running it.",
  "S5NestedRun": "Inspect the supplied program from PDF task 4d in the editor. Shapes have side length 25; starting points are 50 steps apart. Compare the result with your prediction.",
  "S5NestedExplain": "Why is the second condition checked only inside the else branch? Which remainders can i modulo 3 have, and when does each branch run?"
}
