Posts

Auto Generated Mandalas

In the previous post on Interactive Mandalas , we could easily draw beautiful Mandalas with simple strokes across the screen.  Given that even simple strokes generated beautiful patterns, I wondered if we could auto generate them without us manually drawing the same.

Interactive Mandalas

In a previous post on Interactive Voronoi , we duplicated points by rotating them around the center as part of the Voronoi Kaleidoscope.  I learnt that this is quite similar to how Mandalas  are drawn and hence wanted to try drawing them using Python Turtle.

Interactive Voronoi

I learnt about Voronoi diagrams while working on a previous post .  In that post, all the seeds were generated randomly.  I wanted to try something a bit more interactive so I have more control over how the Voronoi are generated.

Voronoi Whirls

Towards the end of previous posts on Sliders and Bézier Curve Animations , we could draw Polygon Whirls for any regular or irregular convex polygon using a recursive method.  I wanted to see if I could tile many convex polygons with whirls to fill an area.

Sliders

In a previous post on Polygon Stacks , I wanted to use sliders similar to Spiral Stack to make them interactive.  However, at that point, I did not know how to create such sliders in Python Turtle. While working on the previous post on Bézier Curve Animations , I learnt how to click and drag control points (which are individual Turtles) across the screen.  I thought we could use the same principle to implement sliders.  In this post, I describe how I implemented the basic slider in Python Turtle and applied it to some examples in my previous posts to make them interactive.

Bézier Curve Animations

In a previous post about Trees, I used straight lines and parts of circles to create curves.  Since then, I am learning more about curves and came across Bézier curves.  I liked the animations shown in the Wikipedia link and wondered if I could draw them using Python Turtle. I also wanted to make this interactive where I could pause and resume the animations, add more control points, move them anywhere on the screen, etc.

Polygon Stacks

While searching for interesting patterns with polygons, I came across Spiral Triangle and Spiral Stack by Mike Bostock that I really liked.  I wanted to reproduce these in Python Turtle and see if I can add more variations.  In particular, I wanted to see how these look if we could use different polygons for the inner and outer shapes.

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.