1.1.0
New features
• density_auto on resize event (number of particles depending on canvas area)
pJS.interactivity.onresize = {
density_auto: boolean,
density_area: number // number of particles = pJS.particles.nb * (canvas width * canvas height / 1000) / density_area
}
• modes on resize event
pJS.interactivity.onresize.mode = 'out' or 'bounce'
• color random particles
pJS.particles.color_random = boolean
• opacity animation particles
pJS.particles.opacity.anim = {
enable: boolean,
speed: number,
opacity_min: number,
sync: boolean
}
Fixes / Optimizations
• destroy function: fix console error (pJS)
• pushParticles / removeParticles functions
• resize window listener