Coded as described in the Construction section (square based part) in Wikipedia. SVG export requires pySVG.
#!/usr/bin/env python # -*- coding: utf-8 -*- """ License: Copyright (c) 2007-2010 Kerim Mansour All rights reserved. Redistribution and use in so
My python pySVG just got a mate named Trundle the turtle (named after a turtle in my kids english school book). For a while now I haven't coded much for pySVG. I had a lot of requests and emails though and one of those involves resurrecting parts of my ol
A few days ago i posted some code to create screens with stars and galaxies. Today i introduce a new part usable for creating Lindenmayer Systems.
Here the rendering of a penrose tiling using my module:
Just a short introduction:
A Lindenmayer System i
A long time ago i spend a lot of my resources programming fractals and "natural" phenomenons. Since my last adventure with pygame i was playing around with the idea of implementing some algorithms of old times in python anew and use pygame to test them. A