I wrote a tutorial a while ago for building a cocoa app that will enable you to control Quartz Composer with Phidgets sensors. Now there’s a LOT easier way to achieve this. Just use the new QC patches from fdiv.net.