barcode

shades of darkness barcode

On the weekend I created the following black and white barcode for Michael Kalus, which I call "shades of darkness":

shades of darkness

all of michael kalus's black and white photos >= 720 px high as of April 20, 2011 tagged "blackwhite" in ascending chronological order and then squished to 2px wide * 720 px high and then concatenated together. The image should be 990 pictures * 2 px wide = 1980 pixels wide but it is only 1974 pixels wide due to either a programming error or the photo missing from flickr (or my script couldn't download it from flickr)

partial colophon:

penmachine dodging buses barcode video & HTML5 Web App

in response to air's comment, here's a video version (select the HD version if your screen is big enough!) of the penmachine barcode which hopefully is more fun and more self-explanatory:

If you can't play the above YouTube video e.g. perhaps because your platform doesn't support flash, try the original quicktime version of the penmachine dodging buses barcode video

What the video displays

Boring tech stuff:

  1. In the middle, 4616 of derek's photos (75x75 pixel thumbnails of all photos >= 720 pixels high from flickr) are displayed
  2. while at the bottom their 1 pixel wide by 720 pixel high "barcode slice" is displayed.
  3. Finally at the top, a red dot shows where the latest 1 pixel slice is being displayed.

 All three lines wrap-around after 900 pixels.

Cool People in the video:

  • miller family-o-sphere
  • vancouver tech-o-sphere (if you are in Vancouver and you are in tech, you probably are in the video!)
  • gnomedex-o-sphere (chris, ponzi, etc)
  • northernvoice-o-sphere

Their is also a webapp version but due the network not being infinitely fast and zero latency it falls behind and out of sync

Here's the webapp version: http://dl.dropbox.com/u/361757/pm-bc-video/html5-barcode/drawbarcode.html

It's a pity zero latency and infinite bandwidth networks don't exist :-)

In order to create the video, I ran the webapp on my localhost to eliminate bandwith and latency problems!

Colophon:

photos by derek k miller:
http://www.flickr.com/photos/penmachine
music "dodging buses by derek k miller:
http://www.penmachine.com/podcast/2009/06/dodging-buses.html
4616 barcode images of derek's flickr photos generated by:
https://github.com/rtanglao/barcode
html5 web app code to generate the video :
https://github.com/rtanglao/html5-barcode/blob/master/drawbarcode.html

video made using: Snapz Pro X from ambrosia software

Known Bugs:

(tested on Mac OS X Safari,  Chrome 12 and Firefox Aurora and Firefox Mobile on Nexus S)

  1. the white space on the right side of the video
  2. The red dot should skip by 75pixels instead of 1pixel or perhaps we need a separate indicator pointing from the slice to the 75x75 thumbnail
  3. The red dot should be erased when it wraps around

Lessons Learned

I need to work more with cool music from people like Derek. Music + code indeed music + anything is fantastic

Penmachine barcode 1.1

Musicians make music, software geeks make buggy software, it goes without saying!

Herewith the correct, revised penmachine barcode in ascending chronological order courtesy of a new mass file rename script:

 

Penmachine barcode 1.1

Penmachine barcode

Derek and Air, I have no words. But musicians make music and software geeks make software. I wrote some software to make a chronologically ordered barcode of all of Derek's flickr photos 720 pixels high or greater, 4616 to be exact.

Penmachine barcode

Geeky yak-shaving-details and open source code:
github.com/rtanglao/barcode

UPDATE

ImageMagick montage on 4600 photos running for 36 hours! Alternatives?

I am trying to create a barcode like the barcode I did for Gastown out of 4600 1 pixel by 720 pixel jpeg photos using the ImageMagick montage command as follows:

montage -geometry +0+0 -tile x1 *.jpg foobarcode.png

It's been running for 36 hours and still hasn't finished, anybody got a faster alternative? Clearly I am "unencumbered by knowledge" :-) when it comes to image processing. My bet is there's another newer open source toolkit that will do this faster.

Subscribe to RSS - barcode