konfeti - v0.6.0
    Preparing search index...

    Type Alias FloorOptions

    Floor Collision Settings. Particles bounce off a horizontal line and then rest there until their lifetime ends.

    type FloorOptions = {
        bounce?: Ratio;
        friction?: Ratio;
        y?: Ratio;
    }
    Index
    bounce?: Ratio

    Bounciness. Fraction of vertical speed kept after a bounce. 0 = no bounce, 1 = perfectly elastic.

    0.35

    friction?: Ratio

    Floor Friction. Fraction of horizontal speed and spin lost per bounce.

    0.4

    y?: Ratio

    Floor Position. Normalized canvas height (1 = bottom edge).

    1