From a248e84fc38a4f57cfdb6e46cc0336e67808c24d Mon Sep 17 00:00:00 2001 From: lee2sman Date: Sun, 14 Feb 2021 02:42:19 -0500 Subject: [PATCH] update example turtle.js --- turtle.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/turtle.js b/turtle.js index 0cc7928..576b38c 100644 --- a/turtle.js +++ b/turtle.js @@ -1,11 +1,12 @@ function turtle(){ - bg('blue') - penColor('pink') penSize(12) - forward(randint()) + back(200) + right(90) + + penColor('blue') for (let i = 0; i < 13; i++){ forward(170) @@ -16,6 +17,7 @@ function turtle(){ right(10) back(18) + } }