Bitbybit Docs
    Preparing search index...

    Class TwoThresholdRandomGradientDto (Inputs.Logic)

    Numbers, two thresholds and a step count for logic.twoThresholdRandomGradient.

    Index

    Constructors

    Properties

    numbers: number[]

    The numbers to turn into booleans, one each.

    undefined
    
    thresholdTotalTrue: number

    Numbers below this are always true.

    1
    

    0

    Infinity

    0.1

    thresholdTotalFalse: number

    Numbers above this are always false; between the two thresholds the chance of true fades from certain to none.

    2
    

    0

    Infinity

    0.1

    nrLevels: number

    How many steps the fade between the thresholds has; more steps make it smoother.

    10
    

    0

    Infinity

    1