From 7e7e75b91afa16fd087e62a6c5aba2cba396e02d Mon Sep 17 00:00:00 2001 From: monishka Date: Wed, 3 Dec 2025 19:21:15 -0800 Subject: [PATCH] made spiral smaller since it was too big --- lec40_git/Spiral.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lec40_git/Spiral.java b/lec40_git/Spiral.java index 8c6669a..fecd6b4 100644 --- a/lec40_git/Spiral.java +++ b/lec40_git/Spiral.java @@ -10,12 +10,12 @@ public class Spiral implements PartyShape { @Override public void draw(Turtle t) { t.setColor(Color.BLUE); + double step = 0.2; - int step = 1; for (int i = 0; i < 200; i++) { t.forward(step); t.turnRight(10); - step += 1; + step += 0.2; } } }