I created this for a showcase at the end of camp to present the best programs made by each team.
https://trinket.io/python/1d7aab60e8?runOption=run
This is the final product…
This is the code used…
import turtle
tina = turtle.Turtle()
tina.shape(‘turtle’)
tina.speed(0)
TS=turtle.Screen()
TS.bgcolor(“light grey”)
tina.penup()
tina.goto(-100,-150)
tina.color(“black”)
def MakeSnowman(Size):
tina.color(“white”)
tina.pendown()
tina.begin_fill()
tina.circle(Size*2)
tina.penup()
tina.left(90)
tina.forward(50)
tina.right(90)
tina.pendown()
tina.circle(Size*1.5)
tina.end_fill()
tina.penup()
tina.color(“black”)
def SnowGround():
tina.begin_fill()
tina.pendown()
tina.color(“white”)
tina.right(90)
tina.circle(10)
tina.left(90)
tina.forward(20)
tina.end_fill()
tina.penup()
tina.color(“black”)
def MakeMount(side):
tina.pendown()
tina.begin_fill()
tina.left(60)
tina.forward(side)
tina.right(120)
tina.forward(side)
tina.right(120)
tina.forward(side)
tina.end_fill()
tina.penup()
MakeSnowman(15)
tina.color(“black”)
tina.goto(15,-140)
MakeMount(130)
tina.right(180)
tina.color(“white”)
tina.goto(50,-79)
MakeMount(60)
tina.left(180)
tina.color(“dark grey”)
tina.goto(40,-140)
MakeMount(200)
tina.left(180)
tina.color(“white”)
tina.goto(95,-45)
MakeMount(90)
tina.left(180)
tina.goto(-205,-150)
for Ground in range(23):
SnowGround()
tina.goto(-207,-160)
for Ground in range(23):
SnowGround()
tina.goto(-203,-170)
for Ground in range(23):
SnowGround()
tina.goto(-201,-180)
for Ground in range(23):
SnowGround()
tina.goto(-200,-190)
for Ground in range(23):
SnowGround()
tina.goto(-205,-200)
for Ground in range(23):
SnowGround()
tina.goto(-210,-170)
for Ground in range(23):
SnowGround()
tina.goto(-100,-135)
for Ground in range(6):
SnowGround()
tina.goto(-105,-139)
for Ground in range(20):
SnowGround()
tina.goto(-30,-133)
MakeSnowman(Size=15)
def Cloud(size):
tina.color(“white”)
tina.begin_fill()
tina.pendown()
tina.circle(size*2)
tina.end_fill()
tina.color(“light grey”)
tina.forward(size*3.5)
tina.color(“white”)
tina.begin_fill()
tina.circle(size*2.6)
tina.end_fill()
tina.color(“light grey”)
tina.forward(size*3.5)
tina.color(“white”)
tina.begin_fill()
tina.circle(size*2)
tina.end_fill()
tina.penup()
tina.color(“black”)
tina.goto(0,100)
Cloud(10)
tina.goto(-80,130)
Cloud(12)
tina.goto(-180,60)
Cloud(10)
tina.goto(180,55)
Cloud(14)
def Rainbow(Radius):
tina.left(180)
tina.pendown()
tina.circle(Radius,180)
tina.goto(70,70)
tina.right(90)
tina.color(238,130,238)
tina.begin_fill()
Rainbow(Radius=50)
tina.end_fill()
tina.goto(65,70)
tina.color(160,32,240)
tina.begin_fill()
Rainbow(Radius=45)
tina.end_fill()
tina.goto(60,70)
tina.color(0,0,255)
tina.begin_fill()
Rainbow(Radius=40)
tina.end_fill()
tina.goto(55,70)
tina.color(0,255,0)
tina.begin_fill()
Rainbow(Radius=35)
tina.end_fill()
tina.goto(50,70)
tina.color(255,255,0)
tina.begin_fill()
Rainbow(Radius=30)
tina.end_fill()
tina.goto(45,70)
tina.color(255,165,0)
tina.begin_fill()
Rainbow(Radius=25)
tina.end_fill()
tina.goto(40,70)
tina.color(255,0,0)
tina.begin_fill()
Rainbow(Radius=20)
tina.end_fill()
tina.goto(35,70)
tina.color(“light grey”)
tina.begin_fill()
Rainbow(Radius=15)
tina.goto(70,70)
tina.goto(-35,70)
tina.goto(-35,65)
tina.goto(70,65)
tina.goto(70,70)
tina.end_fill()
tina.forward(12.5)
tina.color(“light grey”)
tina.left(90)
tina.goto(-80,45)
Cloud(10)
tina.goto(50,45)
Cloud(10)
tina.goto(190,155)
tina.pendown()
tina.color(“orange”)
tina.begin_fill()
tina.circle(50)
tina.penup()
tina.end_fill()
tina.color(“black”)
tina.goto(215,100)
tina.left(180)
tina.shape(“triangle”)
tina.speed(1)
tina.goto(-300,100)