TurtlePaint is a drawing program created with the Python Turtle. It allows you to draw beautiful pictures by intuitively clicking on the screen, moving the turtle around with h, j, k, l or by simply dragging it with your mouse. Choose between different pencolors, fillcolors, pensizes and turtle shapes to get a perfect result! It is great for creating simple shapes or small drawings, but also to let your creativity run free!
Keys | Command |
---|---|
b | begin filling |
c | clear all |
e | end filling |
f | change fillcolor |
h | turn left |
j | move backward |
k | move forward |
l | turn right |
p | pen up / pen down |
s | save |
t | change turtle shape |
u | undo last drawing |
SPACE | change pencolor |
UP | increase pensize |
DOWN | decrease pensize |
? | show instructions |
The following section gives detailed information on all key combinations and explains the program usage in greater detail:
b: Calls turtle.begin_fill()
. Needs to be pressed before drawing the shape that needs filling. Otherwise the filling will be uncomplete.
c: Calls turtle.clear()
. Erases everything that the turtle has drawn so far.
e: Calls turtle.end_fill()
. Needs to be pressed right after the shape is finished. You can still change the fillcolor right before --- even after you called turtle.begin_fill()
.
f: Calls turtle.fillcolor()
with the next fillcolor in line.
h: With turtle.setheading()
it sets the turtle's heading 5 px
to the left.
j: Calls turtle.backward(10)
. The turtle will go 10 px
backward.
k: Calls turle.forward(10)
. The turtle will go 10 px
forward.
l: With turtle.setheading()
it sets the turtle's heading 5 px
to the right.
p: Toggles between turtle.penup()
and turtle.pendown()
. The turtle will only draw if the pen is down.
s: Saves your picture as .pdf
after you entered a name.
t: Calls turtle.shape()
with the next turtle shape in line.
u: Calls turtle.undo()
to erase the last thing the turtle has drawn.
SPACE: Calls turtle.pencolor()
with the next pencolor in line.
UP/DOWN: With turtle.pensize()
it in-/decreases the pensize by +2/-2
.
?: Shows all the instructions above in an additional window.
TODO