Page 28 - 2501_KVS_C-6
P. 28
1.12 SMALL PROJECT 2
Lets create one more pattern using loop.
Let us revise what we have learnt:
The Turtle that we see in the middle of screen area (canvas) is actually the PEN. By
Ø
moving this pen in different directions, we can draw rectangles, triangles, squares,
circles, stars, and more.
The CODING AREA is the place where we write the instructions for drawing shapes.
Ø
The SCREEN AREA is the place where we actually see the shape (output) that we
Ø
draw using instructions.
import turtle is used to start the working of turtle.
Ø
scr=turtle.Screen() is used to prepare the screen or canvas for drawing.
Ø
pen=turtle.Turtle() is used to get the pen ready for drawing.
Ø
There are four directions that a turtle can move in that is forward, backward, left,
Ø
and right.
The turtle moves in Forward or Backward direction that it is facing. You may change
Ø
the direction by using Left or Right to an angle degree.
The starting position of the turtle is at (0, 0). It is also known as home position.
Ø
A command tells the turtle to do exactly what we want, so it is an instruction.
Ø
By default, when you open the turtle the background screen is of white colour.
Ø
We can create clone ( similar copy ) of a turtle by using clone() function – it creates
Ø
an exactly same copy of the pen at the same position.
26 KVS DELHI REGION 2025

