Coded as described in the Construction section (square based part) in Wikipedia. SVG export requires pySVG.
Occationally Stumple Upon gives me nice pages that i didn’t know anything about before.
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 old abandoned lib for representing natural phenomena.
24.01.2010 by azarai in python
Some time ago while going to work one of those silly ideas sneaked into my mind. I started wondering how it would look like if i take a picture, grayscale it and replace ranges of gray with a color. I’d image something like popart, you know. But i got more curious about the result if only the computer did the work.
I know it sounds trivial but as usual the trivial things are those that are most annoying. Running through the harddrive of my notebook i came accross way to much garbage manifesting itself through empty directories.
From time to time i stumble across map editors for 2D games, sometimes useable, sometimes just demos and of course the occasional jewel. I finally decided to maintain a list post of my findings.
27.12.2009 by azarai in python
For a new project of mine i needed to get the game data from mochimedia. As they provide an useful api i searched for an existing and easy to use solution, but besides django-arcade, a full arcade site, i didn’t find anything. As the design of django arcade did not fit my needs, i rolled my own. So python mochi was born.
In Animating a Scene with pyglet - first version i said my wind effect did not look natural. Luckily Casey Duncan, the developer of [py-lepton] (http://code.google.com/p/py-lepton/ “link to py-lepton site”), dropped in and gave me the tip to use the drag controller instead of the magnet. Drag is designed for simulating particles moving through fluids such as air or water. Too bad it’s not in the docs and i overlooked it in the demos. Anyways, i switched the particle controller, tweaked it a bit and now my animated scene does look much better. Hurray and a big thank you.