Canvas Logo with Turtle
by G.G.Otto, May 3, 2020, 2:19 AM
I decided to make the Canvas logo with turtle. The hardest part was the not-quite-semicircles near the middle.
Code
Code
import turtle import sys sys.setExecutionLimit(60000) def canvas(t,wn,x,y,size): wn.bgcolor('black') t.color('red','red') t.penup() t.goto(x,y) t.pendown() t.begin_fill() for i in range(4): t.fd(size) t.left(90) t.end_fill() t.color('white','white') t.penup() t.goto(x+size/2,y+size/2) t.left(90) t.fd(size*13/32) t.left(90) size2 = size*3/13 t.fd(size2/2) for i in range(8): t.left(22.5) t.fd(size/10) t.left(22.5) t.begin_fill() t.pendown() t.fd(size2) t.left(90) t.circle(size2/2,180) t.end_fill() t.left(90) t.fd(size2) t.penup() t.color('red') t.bk(size2/2) t.right(90) t.fd(size/26) t.left(90) t.pensize(size/13) t.pendown() t.circle(size*9/20) t.penup() t.color('white') t.goto(x+size/2,y+size/2) t.setheading(0) for i in range(8): t.fd(size*2/9) t.dot(size/32) t.bk(size*2/9) t.left(45) t.hideturtle() canvas(turtle.Turtle(),turtle.Screen(),-100,-100,200)