I made a couple simple demos for the VIS145A students at UCSD to show how we can use an iPhone as the interface to Processing sketches.
(download text or HTML formatted source)
This sketch allows the user to draw using the iPhone’s multitouch screen. Each finger is a separate brush and a new color. The brush size changes depending on the speed of finger swipes.