@newkrok/three-particles - v2.1.0
    Preparing search index...

    Type Alias CycleData

    Data representing the current cycle of the particle system's update loop.

    const cycleData: CycleData = {
    now: performance.now(),
    delta: 0.016, // 16ms frame time
    elapsed: 1.25, // 1.25 seconds since start
    };
    type CycleData = {
        delta: number;
        elapsed: number;
        now: number;
    }
    Index

    Properties

    Properties

    delta: number

    The time elapsed since the last update, in seconds.

    elapsed: number

    The total time elapsed since the particle system started, in seconds.

    now: number

    The current timestamp in milliseconds.