Intelligent Twitter Avatar

A very clever man, Matthew Knight (@webponce), has written a brilliant article about how he has dynamically connected his Gmail and Twitter avatar so that the picture changes to match the number of emails in his inbox.

The code he’s put together is actually quite simple. Definitely innovative. I’m planning on replicating this mechanic, but instead of counting unread emails, I’m going to attempt to match my photo to the time of day.