## Monday, 26 February 2018

### Owuo Atwedee

Owuo Atwedee means “the ladder of death”. It is the symbol of mortality a reminder of the transitory nature of existence in this world and of the imperative to live a good life to be a worthy soul in the afterlife.

We will use the 5 pixel grid to trace out this image. The image of this is shown below:

The plan to draw this shape is given below:
1. Lift up the pen
2. Set the pen size to 50 pixels
3. Change the heading of the pen to 90 degrees
4. Move the pen to the position (-85, -165)
5. Place the pen down
6. Move forward by 330 pixels
7. Lift up the pen
8. Move the pen to the position (85, -165)
9. Repeat steps 5 to 8
10. Lift up the pen
11. Draw the first rung of the ladder at (-85, -135)
12. Draw the second rung of the ladder at (-85, -135)
13. Draw the third rung of the ladder at (-85, -135)
14. Draw the fourth rung of the ladder at (-85, -135)
Using Turtle Graphics

We will use the template.py file and rename it to owuo.py.

The code for the first six steps is shown below:

turtle.penup()
turtle.pensize(50)
turtle.setposition(-85, -165)
turtle.pendown()
turtle.forward(330)

The generated image is shown below:

For steps 7 to 9, we simply need to lift up the pen, move it to the position of the next vertical lines and draw. The code to do this is shown below:

turtle.penup()
turtle.pensize(50)
turtle.setposition(85, -165)
turtle.pendown()
turtle.forward(330)

Draw the rungs means finding the distance from (-85, -135) to (85, 135). There is no need to use the coordinateDistance function as the distance between the two points is 170 pixels.

Since steps 11 to 14 are essentially the same with only the points changing, it makes a great candidate for a function. We shall create a function called drawRung which will draw the rungs of the symbol. The code for this function is given below:

def drawRung(x1, y1, distance):
turtle.penup()
turtle.setposition(x1, y1)
turtle.pendown()
turtle.forward(distance)
All we have to do now is to call the function in our code 4 times as shown below:

drawRung(-85, -135, 170)
drawRung(-85, -45, 170)
drawRung(-85, 45, 170)
drawRung(-85, 135, 170)

The image generated is shown below:

Conclusion

This symbol was one of the easiest symbols to draw. At last we are gradually approaching the end of this series.