23 lines
363 B
Python
Executable File
23 lines
363 B
Python
Executable File
#
|
|
# Code under the MIT license by Alexander Pruss
|
|
#
|
|
|
|
from mcturtle import *
|
|
|
|
t = Turtle()
|
|
t.pendelay(0)
|
|
radius = 20
|
|
circumference = 2 * radius * pi
|
|
t.penwidth(10)
|
|
t.penblock(GLASS)
|
|
for i in range(90):
|
|
t.go(circumference/90.)
|
|
t.left(4)
|
|
t.penwidth(7)
|
|
t.penblock(GOLD_BLOCK)
|
|
for i in range(90):
|
|
t.go(circumference/90.)
|
|
t.left(4)
|
|
t.penup()
|
|
t.back(20)
|