I believe a certain scotland-based cleaning device wrote a php file that did exactly this for brainstorming ideas for timed sketching on the IRC channel
I made the mistake of asking about this in pretty programmer-centric irc channel, and got a link to this: http://www.harmware.net/stile_examp/examples_1.htm That's... frightening.