KTurtle
Jump to navigation
Jump to search
KTurtle is an educational programming environment for turtle graphics.
Painting a flower (flower.logo)
[edit | edit source]![](http://178.128.105.246/cars-http-upload.wikimedia.org/wikipedia/commons/thumb/5/52/KTurtle_flower.logo.png/220px-KTurtle_flower.logo.png)
# flower
reset
canvassize 170, 170
canvascolor 255, 55, 140
go 45, 120
pencolor 160, 0, 255
penwidth 3
repeat 8 [
repeat 4 [
forward 20
turnright 30
]
repeat 7 [
forward 10
turnright 15
]
repeat 9 [
forward 3
turnright 10
]
]
go 145, 145
direction 0