Tag Archives: programming

PyPlants — Now with added dimensions

PyPlants has come on in leaps and bounds over the past few days (well, even­ings), and now from its new home as PyPlants on bit­bucket sports a com­pletely rewrit­ten ren­der­ing backend which is more mod­u­lar, should be really easy to plug into, and now sup­ports POV-Ray out of the box.
What’s that you say? A 3-D ray-tracer?

Procedural Plants in Python — Part 2

In the pre­vi­ous part of this art­icle we looked at the back­ground to L-Systems, and how they could be used for describ­ing self-similar bio­lo­gical sys­tems. In this part we’ll look at a sample imple­ment­a­tion of a very basic 2D L-System in Python, together with a basic PNG ren­derer using PyCairo.
This is an imple­ment­a­tion of a

Procedural Plants in Python — Part 1

For a fledgling pro­ject idea, I’ve recently needed to work out how to draw plants pro­ced­ur­ally, and of course Python is my lan­guage of choice for some rapid pro­to­typ­ing. Whilst some richly-featured pro­fes­sional applic­a­tions exist for gen­er­at­ing flora in a pro­ced­ural fash­ion for high-end ren­der­ing, there are pre­cious few sys­tems avail­able for the kind of

Tactile Computing

Every now and then someone at TED presents a tech­no­logy or an idea that’s so utterly amaz­ing, or ridicu­lously simple that it can’t help but change the world. David Merrill shows off an MIT pro­ject called Siftables in this talk, and even though I’ve been mess­ing around with com­put­ing for 25 years my jaw is

Notes From a Small Internet

Beautiful Soup is a great little Python mod­ule that will read just about any HTML page and give you back a struc­tured parsed tree. It’s awe­some because you can pass it just about any mangled markup — I’ve never known it to choke on any­thing. For some web ser­vice con­sumers I’ve had to write over