Skip to content

anim-format (runtime format) / particlePreset

Function: particlePreset() ​

ts
function particlePreset(id, seed?): ParticleConfig;

a deep copy (presets themselves are never edited)

Parameters ​

ParameterTypeDefault value
idParticlePresetIdundefined
seed?number1

Returns ​

ParticleConfig

HereSplash — 2D animation for the web