From the blog entry:
We're calling the Twitter API from Yahoo! Query Language, receiving an image URL for your avatar, converting it to a data:uri, and returning its base64-encoded value as JSON with a callback.
Then we create an image on the client, load it with the data YQL gave us, and stretch it to fit our (comparatively very large) canvas tag.
Since we've created the image locally, the usual canvas security restrictions don't apply and we're free to sample pixels. We do this, collecting color values and positions, and then we start drawing circles with random sizes and tiny random offsets from where each color sample was taken.
We let this run for about 20 seconds; this is long enough to develop most of what you're going to get, while leaving some of the interesting batik/pastel texture intact.
|Back to Basics: Retro Electronics Made of Paper by Zim and Zou|
|The Windows of Apathy|
|Paris versus New York City|
|“A driverless electric truck began daily freight deliveries on a public road.”|
|CaptchaTweet: Write Tweets in Captcha Form|
|U.S.S. Enterprise Owner's Manual|
|Fake Name Generator|
|Naked Preacher Lady [NSFW]|
|Recycled Vacuum Lamps|
|The (Very Scary) People of Public Transit|
|Creepstream: Looking at Insecure Camera Feeds From Around the World|
|iPhone 6, the First Smartphone to Disrupt NSA's Spying|
|“A new residential building under construction will feature a flying car skyport on the roof.”|
|“Earth will always be unique and living here prized.”|
|“You can often hide from an AI video system with the aid of a simple color printout.”|