I just release the Pro­cess­ing Blinken­lights Library. It dis­plays Blinken­light movies (*.bml) on your screen.

Basi­cally the Library parse a .BML file (for­mat descrip­tion) and dis­play its con­tent as Image on the screen.

Get the library on the google code project site.

Edit 21.09.2010:
I just updated the library to v0.5 — major speed improve­ments and 8bpp bml files works fine.

Here are two sim­ple examples:

Here is an exam­ple Sketch how to use the Library:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
import processing.lib.blinken.*;
Blinken­Li­brary blink;

void setup() {
  blink = new BlinkenLibrary(this, “bnf_auge.bml”);
  blink.loop();    
  frameRate(20);
  background(0);
  size(170, 140);
}

void draw() {
    image(blink, 0, 0, 170, 140);
}

The library is just a quick hack, I ripped some code from the gifAn­i­ma­tion library.