Thursday 16 November 2017

Kuntinkantan


Kuntinkantan means “puffed up extravagance”. It is the symbol of arrogance.

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


This shape is easy to draw. It consists only of circles. It is a made up of a central circle that encloses the other 4 circles.

The plan to draw this shape is shown below:
  1. Lift the turtle
  2. Set the pen size to 20 pixels
  3. Move the turtle to the position (0, -90)
  4. Place the pen down
  5. Draw a circle of radius 90 pixels
  6. Lift up the pen
  7. Move the turtle to the position (-90, 10)
  8. Place the pen down
  9. Draw a circle of radius 80 pixels
  10. Lift up the pen
  11. Move the turtle to the position (90, 10)
  12. Place the pen down
  13. Draw a circle of radius 80 pixels
  14. Lift up the pen
  15. Move the turtle to the position (-90, -170)
  16. Place the pen down
  17. Draw a circle of radius 80 pixels
  18. Lift up the pen
  19. Move the turtle to the position (90, -170)
  20. Place the pen down
  21. Draw a circle of radius 80 pixels

Using Turtle Graphics

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

The code for steps 1 to 5 is shown below:

turtle.penup()
turtle.pensize(20)
turtle.setposition(0, -90)
turtle.pendown()
turtle.circle(90)

The generated image is shown below:


The code for steps 6 to 9 is given below:

turtle.penup()
turtle.setposition(-90, 10)
turtle.pendown()
turtle.circle(80)

The generated image is shown below:


The code for steps 10 to 13 is given below:

turtle.penup()
turtle.setposition(90, 10)
turtle.pendown()
turtle.circle(80)

The generated image is shown below:


The code for steps 14 to 17 is shown below:

turtle.penup()
turtle.setposition(-90, -170)
turtle.pendown()
turtle.circle(80)

The generated image is shown below:


The code for steps 18 to 21

turtle.penup()
turtle.setposition(90, -170)
turtle.pendown()
turtle.circle(80)

The generated image is shown below:


Conclusion

At the end of this section, we have successfully used Python turtle to draw the Kuntinkantan symbol.

If you look critically at this symbol, you would see a possible inspiration for the Olympics symbol.








No comments:

Post a Comment