BBO BlinkenArea > Blinkenarea > BlinkenlightsProtokolle > DateiFormate > DateiFormateEnglish > BlinkenMiniMovieEnglish BlinkenArea webs:
BlinkenArea | Main | TWiki | Sandbox | (Recycle Bin)
Blinkenarea . { Changes | Index | Search }

BlinkenArea.BlinkenMiniMovieEnglish
144 pixels ought to be enough for anybody


Home
Ziele
BlinkenArea
BlinkenLights

News
Presse
Links
Forum
MailList
Join

Audio,Video
Projekte
Protokolle
Dateiformate
Troia
bluebox

WTH
ICMP
CBCamp
CCCamp
CCCongress
EasterHack

Stats
Users
SiteMap
TWikiDoku
SiteTools
Translate
WebChanges

Impressum
Imprint

Datenschutzerklärung
Privacy Policy

RSS and Mail notification
powered by: [Powered by Eventphone]

*.bmm - BlinkenMini Movie deutsch

A *.bmm is a simple text file that can be created with any text editor. It consists of a header and data in the body, which assign at what time which lamp glows in which greyscale.

The data of the header actually need no comments. You may put any amount of comment lines between the identification line [# BlinkenMini Movie 18x8] and the first frame. Every comment line must be preceded by an # character. The end of line may be a CR (ASCII 13), a LF (ASCII 10) or CRLF (ASCII 13 + ASCII 10). We recommend saving your file with LF.

# BlinkenMini Movie 18x8 // file format
# name = Test // name of the movie
# creator = vi // editor
# author = 1stein // author of the movie
# width = 18 // width in pixels
# height = 8 // height in pixels
# loop = no // loop: yes or no?
# duration = 27450 // duration in ms

The data in the body are containing several frames consisting of numbers, where 0xFF stands for an entirely switched-on lamp and 0x00 for a switched-off lamp. Each frame starts with an @ followed by its delay time in milliseconds,i.e. @1000 equals 1 second. In the next line starts the image. Every image consists of y-size lines with x-size numbers, as defined in the header. The numbers must be separated by spaces or tabs and can be in octal (with a leading 0), decimal (0 up to 255) or hexadecimal (with a leading 0x) notation. Two frames may be seperated by one or more empty lines.

For example:

@200
0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
0x00 0x00 0x00 0x00 0xFF 0xFF 0xFF 0x00 0x00 0x00 0xFF 0xFF 0xFF 0x00 0x00 0x00 0x00 0x00
0x00 0x00 0x00 0xFF 0xFF 0xFF 0xFF 0xFF 0x00 0xFF 0xFF 0xFF 0xFF 0xFF 0x00 0x00 0x00 0x00
0x00 0x00 0x00 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF 0x00 0x00 0x00 0x00
0x00 0x00 0x00 0x00 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF 0x00 0x00 0x00 0x00 0x00
0x00 0x00 0x00 0x00 0x00 0x00 0xFF 0xFF 0xFF 0xFF 0xFF 0x00 0x00 0x00 0x00 0x00 0x00 0x00
0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0xFF 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00

@800
0x00 0x00 0x00 0x00 0xFF 0xFF 0xFF 0x00 0x00 0x00 0xFF 0xFF 0xFF 0x00 0x00 0x00 0x00 0x00
0x00 0x00 0x00 0xFF 0xFF 0xFF 0xFF 0xFF 0x00 0xFF 0xFF 0xFF 0xFF 0xFF 0x00 0x00 0x00 0x00
0x00 0x00 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF 0x00 0x00 0x00
0x00 0x00 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF 0x00 0x00 0x00
0x00 0x00 0x00 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF 0x00 0x00 0x00 0x00
0x00 0x00 0x00 0x00 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF 0x00 0x00 0x00 0x00 0x00
0x00 0x00 0x00 0x00 0x00 0x00 0xFF 0xFF 0xFF 0xFF 0xFF 0x00 0x00 0x00 0x00 0x00 0x00 0x00
0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0xFF 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00


-- KatharinaMueller - 11 Jun 2004


EOF

Topic BlinkenMiniMovieEnglish . { Edit | Attach | Ref-By | Printable | Diffs | r1.3 | > | r1.2 | > | r1.1 | More }
Revision r1.2 - 11 Jun 2004 - 20:55 - KatharinaMueller
Parents: BlinkenlightsProtokolle > DateiFormate > DateiFormateEnglish