Posts

Trees

I learnt about recursion.  There are lots of examples of drawing trees using recursion and Python Turtle.  I wanted to try these and also see if I can do something different that wasn't done before.

Checkerboards

Rectangular I wanted to draw checkerboards in Python Turtle.  To get a filled polygon in Turtle, it has to be drawn entirely in one go as a closed shape.  The common type of checkerboards are rectangular (or square).  These are pretty straightforward to draw.

Polygons in Polygons

Simple spirals While playing with Python Turtle, I came across drawing simple spirals with polygons rotating within themselves.  I liked how we could get so many patterns by making small changes to the code.