ledfx
    Preparing search index...

    Interface Digitalrain2dEffectConfig

    Specific configuration for the 'digitalrain2d' effect.

    interface Digitalrain2dEffectConfig {
        add_speed?: number;
        count?: number;
        gradient?: string;
        impulse_decay?: number;
        multiplier?: number;
        run_seconds?: number;
        tail?: number;
        type: "digitalrain2d";
        width?: number;
    }
    Index

    Properties

    add_speed?: number

    Number of code lines to add per second

    30.0
    

    0.1

    30.0

    count?: number

    Number of code lines in the matrix as a multiplier of matrix pixel width

    1.9
    

    0.01

    4.0

    gradient?: string

    Color gradient to display

    'linear-gradient(90deg, rgb(0, 199, 140) 0%, rgb(0, 255, 50) 100%)'
    
    impulse_decay?: number

    Decay filter applied to the impulse for development

    0.01
    

    0.01

    0.3

    multiplier?: number

    audio injection multiplier, 0 is none

    10
    

    0.0

    10

    run_seconds?: number

    Minimum number of seconds for a code line to run from top to bottom

    2.0
    

    1

    10.0

    tail?: number

    Code line tail length as a % of the matrix

    67
    

    1

    100

    type: "digitalrain2d"
    width?: number

    Width of code lines as % of matrix

    1
    

    1

    30