Blinkenlights Movie English: Difference between revisions
ArneRossius (talk | contribs) No edit summary |
ArneRossius (talk | contribs) No edit summary |
||
Line 84: | Line 84: | ||
With the [[BlinkenPlusEnglish|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). | With the [[BlinkenPlusEnglish|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). | ||
[[Category: | [[Category:FileFormats]] |
Latest revision as of 23:30, 8 December 2013
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 |
@100 000000000000000000 |
@1000 011111111000000000 |
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).