Seasonal greetings
Python and the turtle Christmas project
1
Starter: What makes a great seasonal greeting card?
2
Open Trinket
3
Open PyCharm
Click on the search icon
Enter- PyCharm
Create a New turtle project.
Go to FILE
Select New Project… and name it e.g. Ms Quaye’s turtle project
Right click on the folder name
Click File> new Python File
Call it. Seasonal greetings
4
5
Learning Objectives
Success Criteria
Subroutines make it easier to reuse code.
Line 15 allows us to RUN the program
Click here for the source code
6
Using the fill command
7
Lightblue is the fill colour
0- is the X coordinate
0- is the y coordinate
100 is the radius of the circle
Changing the background colour
To change the background colour of the window use the command.
turtle.bgcolor(“color”).
Stuck
8
Adding text to your seasonal greeting card
turtle.write("Season's Greetings", move=False, align="left", font=("arial",20,"bold"))
9
Learning activities
Create your own seasonal greeting card for the festive period.
Extension:
Create a winter wonderland scene of your choice, using all of the skills which we have learnt this term.
10
Understanding the coordinates
print(turtle.pos())
Prints the current location of the turtle
turtle.goto(x, y)
.
11
Plenary- self reflection
Reflect on today’s lesson, what has gone well and what are your areas for improvement.
In your mind answer this question and then share your answer with your neighbour.
12