This morning I was reading this tutorial on Chaco, a 2-D visualisation toolkit for Python (it’s part of the enthought python distribution), and I wanted a toy project to get a feel for it.

I decided to put together a very quick model of amplitude modulation, the kind of thing elec-eng students cover early in their degrees.

I came up with this:

It’s very heavily based on the code in the tutorial above, but it works well, and it looks and feels pretty cool.

I find this kind of app very useful for helping me get a feel for how something works, and using something like chaco in this way makes it very easy to throw quick models together to play with.

My next challenge to to find something useful to do with it!

Here’s the code: