today:
- looping graphics – add this line just above calling a function:
for loop in range (25): - plotting graphics – follow this outline for successfully plotting graphics
- any good program starts with a solid plan – use the provided graph paper to plot your design
- each thick line is 100 pixels, each thin line is 25 pixels
Your custom graphic must use:
1. comments (put a hashtag in front of comment) to tell what is happening in that section of code
2. functions
3. multiple colors
4. your own work
Want to add more? – add a background gif
import turtle
screen=turtle.Screen()
screen.setup(500,500)
screen.bgpic(“sky.gif”)#this is the name of your file – mine was called sky.gif
line1=turtle.Turtle()