AnimConstants: {
    currentFaceIndex: -1;
    faceMaskAll: 4294967295;
    keyframeTimeResolutionMs: 2;
    maxLEDsCount: 22;
    paletteColorFromFace: 127;
    paletteColorFromRandom: 126;
} = ...

Type declaration

  • ReadonlycurrentFaceIndex: -1

    Magic number for the current face index.

  • ReadonlyfaceMaskAll: 4294967295

    Mask value for turning all LEDs on.

  • ReadonlykeyframeTimeResolutionMs: 2

    Time resolution of 1 animation keyframe.

  • ReadonlymaxLEDsCount: 22

    Maximum number of LED on a die.

  • ReadonlypaletteColorFromFace: 127

    Magic number for picking a color based on the current face.

  • ReadonlypaletteColorFromRandom: 126

    Magic number for randomly picking a color.