From 9b07f1936eaa2ff5a7de13ad39a510339d24f3f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9a=20Saviot?= Date: Thu, 3 Jan 2019 15:28:55 +0100 Subject: [PATCH] [apps/code] Squares script template: start by resetting the turtle --- apps/code/script_template.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/code/script_template.cpp b/apps/code/script_template.cpp index 25eb08b9b..9ccfc6fff 100644 --- a/apps/code/script_template.cpp +++ b/apps/code/script_template.cpp @@ -8,6 +8,7 @@ constexpr ScriptTemplate emptyScriptTemplate(".py", "\x01" R"(from math import * constexpr ScriptTemplate squaresScriptTemplate("squares.py", "\x01" R"(from math import * from turtle import * def squares(angle=0.5): + reset() L=330 speed(10) penup()