Starting With an Iterated Shape
I learned the basics of how to program the screen turtle in Python from this blog post. From there I went to coding many shapes (flowers) randomly distributed to make a garden.
Here is the source code.
Columns and Rows
I decided I wanted a more orderly display of shapes, and after tinkering started thinking of Islamic tile mosaics and gradually came up with this.
Uniform Grid
From there I moved on to thinking of streets, grids, and light posts. There was not much to change but changing the base shape from 8 sides to 4, and to add a dot on a second pass over the grid.
Off Kilter Grid
Finally, I felt like throwing the balance of the perfect grid off a bit by turning the turtle a slight random heading at the beginning of each section of the grid.
Enough thinking for one plane ride...
No comments :
Post a Comment