SVG Sierpinski Carpet Generator

by By: Kerim in natural | pysvg | python

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 source and binary forms, with ...

pySVG meets Trundle, the turtle

by By: Kerim in natural | pysvg | python

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 ...

Lindenmayer Systems using Python

by By: Kerim in natural | python

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 ...

Starfields and Galaxies with Python

by By: Kerim in natural | pygame | python | tutorial

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 ...