The flicker Element

The flicker element represents the so-called Flicker Code, a number of horizontally stacked black or white bars that change in rapid succession ("flicker"). It is used to transfer information to a hardware device that can be held up to the screen and detect the changes in brightness.

The Flickercode is represented as a matrix of ones and zeros, where each line represents one "frame" of bars. Example: The array [[1,0,1], [0,0,1], [1,1,1], [0,1,1]] represents a Flicker with three bars, and a sequence of length of four "frames". 1 means the bar is white, 0 means the bar is black.

In order for all devices to detect the flicker data correctly the consumer needs to be able to configure the size and "framerate" of the flicker element.


    "type": "flicker",
    "tags": Array<String>,
    "version": String,
    "data": Array<Array<1|0>>,

data Array>, always present, since v1.0.0

The data property contains a representation of the sequence displayed by the flicker. It is made up of an array of arrays of ones and zeros. The size of the arrays that directly contain ones and zeros determine the number of bars. The number of those arrays determine the length of the flicker sequence or the number of "frames".


    "type": "flicker",
    "tags": [],
    "version": "1.0.0",
    "data": [


1.0.0 - 01.02.2019

  • initial version

results matching ""

    No results matching ""