From 43c7eb4cd3531ee6bc8dcbfc75aee91adb9ef948 Mon Sep 17 00:00:00 2001 From: Mike Lynch Date: Sun, 4 Jan 2026 16:50:33 +1100 Subject: [PATCH] Hacked fibomod to generate a big example --- 03/fibomod.py | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/03/fibomod.py b/03/fibomod.py index cb76728..c939dad 100755 --- a/03/fibomod.py +++ b/03/fibomod.py @@ -21,7 +21,7 @@ def svgpoly(points): return f'' def svgline(p1, p2): - return f'\n' + return f'\n' def svglines(points): lines = "" @@ -32,16 +32,20 @@ def svglines(points): lines += svgline(points[-1], points[0]) return lines -print('') +print('') -n = 2 -for j in range(11): - for i in range(7): - cx = 50 + i * 100 - cy = 50 + j * 100 - r = 40 - print(svglines(fibopoly(cx, cy, r, n))) - n += 1 +# n = 2 +# for j in range(11): +# for i in range(7): +# cx = 50 + i * 100 +# cy = 50 + j * 100 +# r = 40 +# print(svglines(fibopoly(cx, cy, r, n))) +# n += 1 + +print(svglines(fibopoly(200, 200, 160, 50))) print('') + +