Skip to content
party.js logoparty.js logo

ReferenceCustom effectsInterface

EmissionBurst

A group of particles emitted all at once.

A group of particles emitted all at once, at a set time in each loop of an EmissionSchedule.

countSampler<number>

How many particles the burst emits. Sampled once each time the burst fires, with ctx.index set to the current loop. The sampled number will be rounded to the nearest integer.

timeoptionalnumberdefault0

When the burst fires, in seconds from the start of each loop. Must be at least 0 and at most the schedule’s duration, or an error will be thrown as the burst would never fire.