from turtle import *
import turtle as t
def my_turtle():
# Choices
sides = str(3)
loops = str(450)
pen = 1
for i in range(int(loops)):
forward(i * 2/int(sides) + i)
left(360/int(sides) + .350)
hideturtle()
pensize(pen)
speed(30)
my_turtle()
t.done()
import turtle as t
def my_turtle():
# Choices
sides = str(3)
loops = str(450)
pen = 1
for i in range(int(loops)):
forward(i * 2/int(sides) + i)
left(360/int(sides) + .350)
hideturtle()
pensize(pen)
speed(30)
my_turtle()
t.done()
from sketchpy import canvas
import turtle
obj = canvas.sketch_from_svg("PathToImage.svg")
t = turtle.Turtle()
t.penup()
t.pendown()
obj.draw()
import turtle
obj = canvas.sketch_from_svg("PathToImage.svg")
t = turtle.Turtle()
t.penup()
t.pendown()
obj.draw()
PythonHub
https://svgconvert.com/
Use this URL to convert images to svg
Note- Use small images
Note- Use small images