particles.js icon indicating copy to clipboard operation
particles.js copied to clipboard

Multiple particles

Open wmosquini opened this issue 6 years ago • 1 comments

Dear, how can I apply the particles and more than 1 backgroud? I tried in many ways, but this was the closest I could get, but only one executes. The other carries the particles, but they stand still. I'm sorry for my english.

<canvas class="via-bg-bg-referencia"> <canvas class="via-bg-indicadores-sucesso"> window.onload=function() { var indicadores = Particles.init({ selector: '.via-bg-indicadores-sucesso', color: '#ef8a4e', maxParticles: 150, connectParticles: true, sizeVariations: 8, minDistance: 70, }); var referencia = Particles.init({ selector: '.via-bg-referencia', color: '#d3d9db', maxParticles: 150, connectParticles: true, sizeVariations: 8, minDistance: 70 }); };

wmosquini avatar Jul 23 '18 21:07 wmosquini

Having the same problem now. Is there any solutions for this so far ?

JasonGan95 avatar Nov 03 '19 14:11 JasonGan95