Skip to content
This repository has been archived by the owner on May 26, 2020. It is now read-only.

Multiple particles #31

Open
wmosquini opened this issue Jul 23, 2018 · 1 comment
Open

Multiple particles #31

wmosquini opened this issue Jul 23, 2018 · 1 comment
Milestone

Comments

@wmosquini
Copy link

wmosquini commented Jul 23, 2018

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 }); };

@marcbruederlin marcbruederlin added this to the 3.x.x milestone Aug 9, 2018
@JasonGan95
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants