HTML elements

Styles and functions.

Main elements where global effects are spawned. Place this code at the end of your HTML file.

Resources

CSS file JS file ZIP images ZIP sounds

Documentation

HTML triggers

Hit

Wave

Default

elementId, particleImg, particleNum, minSize, maxSize, particleForce, particleAngle, hueVariation, allowRotation, blendMode

Conffeti

elementId, soundMode, force, degrees

Explosion

elementId, fireSprite, fireSize, fireScale, smokeParticlesNum, smokeForce

Fireworks

elementId, fireworksNumber, timerMin, timerMax, maxParticles, forceParticles, customColorRGB

Snow / Rain

nameId, elementId, particleImg, particleNum, fallDuration, windForce, size

CSS

CSS file

Javascript

JS file