Reference
API reference
Everything party.js exports, grouped by what you use it for.
Effects
10 entriesReady-made effects you can use with a single function call.
Custom effects
15 entriesBuild your own effects: control where particles come from, when they are emitted and how they look.
Samplers
15 entriesPick values for each particle: random numbers, directions, colors and gradients.
Particles
10 entriesThe particle itself, and the shapes it can be drawn as.
Behaviors
17 entriesModify particles while they are alive: gravity, drag, twinkling, fading and scaling, with easings to smooth the transitions.
Utilities
7 entriesColors, vectors, rotations and errors.