Blinkenlights Movie English

From BlinkenArea Wiki
Jump to: navigation, search
Zur deutschsprachigen Version dieser Seite

back to summary

A *.blm file consists of a header and the data in the body are describing at what time which lamp has to be switched on. Data in the header actually need no comments (example: LittleLights Intro):

# Blinkenlights Movie 18x8 // file format
# name = LittleLights // name of the movie
# description = [LittleLights Intro // additional description
# creator = Blinkenpaint 2.4 // name of the editor for creating the movie
# author = ST // author
# width = 18 // with in pixels
# height = 8 // hight in pixels
# loop = no // loop: yes or no?
# duration = 27450 // duration in milliseconds


The body contains several pictures, where a 1 stands for a switched-on lamp and a 0 for a lamp which is switched off. The number before the @ assigns the duration of showing this picture in milliseconds.


@500

000000000000000000
000000011100000000
000000100010000000
000000000110000000
000000001100000000
000000000110000000
000000100010000000
000000011100000000

@100

000000000000000000
000000100100100000
000000010101000000
000000001110000000
000111111111111000
000000001110000000
000000010101000000
000000100100100000

@1000

011111111000000000
100010100100000000
100001111111111100
100001111111101110
100010100100011100
011111111000000100
000000000000011010
000000000000101001

With the BlinkenPlus firmware, this format can also be used for multicolor animations. In this case, there are as many ones or zeros per pixel as there are color channels. The length of each line therefore increases to (image width in pixels) * (number of color channels).