A program is a process, not a thing. This also applies to life, the universe, and everything.


Declarative animation with SVG

One of the things which has been taking up my time from releasing Drawing Board is that I've been writing another guest edition of my friend David Mertz's XML Matters column for IBM developerWorks. The latest, SVG and the Scriptless Script went live yesterday.

My last article, on using the DOM, was something I know well and have used for years. This one was on a subject I've wanted to learn more about, so getting the examples all working the way I wanted was challenging, but I'm really happy with the result.

<teaser>Another reason I haven't released Drawing Board yet is that I want to put up a screencast of it in use, but there doesn't appear to be a good solution for creating screencasts on OS X. I think I've got a solution for that.</teaser>


PySight Preview

Awhile back I promised a bunch of posts, but delays were made (including a month of vacation travelling around BC which I won't apologize for). One of the promised projects I was going to talk about was PySight, which ought to be simple, since it's just a trivial wrapper around Tim Omernick's CocoaSequenceGrabber (used with his permission). But I wanted to package it nicely, write more example code, maybe some documentation.

So instead of a polished project I have no project, and finishing it is pretty low on my priorities right now, sad to say.

Fortunately, Robbie Tingey came to the rescue and prompted me about it. I put a zip file together with Tim's code to create a framework, his example program to use the framework, my simple wrapper, and my re-write of Tim's example program in python using PyObjC to show how to use this. There's a README, but not much else. I sent Robbie the URL and he tried it out successfully, so I thought I'd toss it out to the rest of the world. Caveat emptor, this is pre-alpha, no guarantees, no promises, but hey, it "Works for me™."

So if you're feeling adventurous, go ahead and try out PySight (74K Zip) and start grabbing data from your iSight camera from Python. Contributions to packaging it nicely, documenting it, or adding examples are gratefully accepted. Or, just bug me about it and I'll see what I can do to move it up my priority list.

Python, meet iSight. iSight, meet Python. Play nice together now.

Update: I forgot the link. Thanks, Marcia!

This page is powered by Blogger. Isn't yours?