mwg API
    Preparing search index...

    Interface HazeLayerOptions

    interface HazeLayerOptions {
        cellsX?: number;
        cellsY?: number;
        density?: number;
        drift?: { x: number; y: number };
        height: number;
        intent?: MotionIntent;
        opacity?: number;
        seed?: number;
        tint?: number;
        width: number;
    }
    Index
    cellsX?: number

    canvas pixels across; default 64 (a small canvas scaled up keeps edges soft and cheap)

    cellsY?: number

    canvas pixels down; default 36

    density?: number

    how much sky the haze covers, 0 to 1; default 0.5

    drift?: { x: number; y: number }

    the sheet's own wind in cells per second, added to the breeze; default a slow sideways breathe

    height: number

    sheet size in world units

    intent?: MotionIntent

    what the drift is for under reduced motion; default decorative, which holds the sky still

    opacity?: number

    sheet opacity; default 1

    seed?: number

    which sky; default 1

    tint?: number

    haze colour as a hex number; default white

    width: number

    sheet size in world units