import { addTo, getGroup, getMoving, getPrefab, getSpinning } from '.';
/**
 * Adds fireworks to the sky.
 * @example
 * ```
  addFireworks(root);
 * ```
 */
export const addFireworks = (target) => {
    const grp = getGroup();
    addTo(target, getMoving(getSpinning(grp, { duration: 2 }), { duration: 8 }));
    const fx_particlesystem_fireworks_01 = getPrefab({ id: 'fx_particlesystem_fireworks_01', p: [10, 5, 10] });
    addTo(grp, fx_particlesystem_fireworks_01);
    return target;
};
//# sourceMappingURL=addFireworks.js.map