I took my last processing sketch to the next level and instead of making the pendulum swing on a plane using polar coordinates i made it swing on the surface of a sphere by keeping the radius fixed and changing the two angles of a spherical coordinate set. Then I created a curve out of the last view points and rotated the whole construct a little bit to make the 3D effect more obvious.
click here to start the sketch or download the sourcecode.
customized coffe mug with processing
processing sound visualizer