put in the svg code thingymajig

This commit is contained in:
gsanders
2025-10-16 09:16:06 -04:00
parent aaff08c772
commit 27ee1024c7
2 changed files with 35 additions and 27 deletions

View File

@@ -6,6 +6,9 @@
from turtle import *
from math import sqrt
from superturtle.image import save_svg
def triangle(size):
forward(size)
left(120)
@@ -38,6 +41,9 @@ def triangle(size):
pendown()
width, height = 816, 1056
with save_svg(width, height, "drawing.svg"):
size = 50
right(180)
penup()

2
drawing.svg Normal file

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 12 KiB