konfeti - v0.6.0
    Preparing search index...

    Interface PhysicsRegistry

    Custom Physics Registry. Empty by default. Augment it to declare options of modules added with definePhysics(); they then appear as typed keys of physics.

    declare module "konfeti" {
    interface PhysicsRegistry {
    magnet: { x?: number; y?: number; strength?: number };
    }
    }
    Konfeti.fire({ physics: { magnet: { strength: 900 } } });