BLINKENmini Movie English: Difference between revisions
(New page: __NOEDITSECTION__ {{FlagDe|target=LINKENmini Movie}} ''back to summary'' A *.bmm is a simple text file that can be created with any text editor. It consists of a h...) |
No edit summary |
||
Line 1: | Line 1: | ||
__NOEDITSECTION__ | __NOEDITSECTION__ | ||
{{FlagDe|target=LINKENmini Movie}} | {{FlagDe|target=LINKENmini Movie}} | ||
''[[ | ''[[DateiformateEnglish|back to summary]]'' | ||
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.<br /><br /> | 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.<br /><br /> |
Revision as of 10:09, 30 September 2007
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 |
# width = 18 | // width in pixels |
# height = 8 | // height in pixels |
# loop = no | // loop: yes or no? |
# duration = 27450 | // duration in milliseconds |
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