-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How add Multiple Images in Particles.js #106
Comments
This seems like a sad story so far: https://github.com/VincentGarreau/particles.js/blob/master/particles.js#L380 |
It works using https://github.com/Wufe/react-particles-js "shape": {
"type": "images",
"stroke": {
"width": 0,
"color": "#000"
},
"polygon": {
"nb_sides": 6
},
"images": [
{
"src": "img/shapes/0.svg",
"width": 100,
"height": 100
},
{
"src": "img/shapes/1.svg",
"width": 100,
"height": 100
}
]
}, |
Doesn't work for me? Did you make any changes to particles.js? |
@chrisunderdown no I didn't. |
@chrisunderdown check the path of your images. |
I doesn't work for me |
@firestar300 are you using https://github.com/VincentGarreau/particles.js ? |
not working here either
|
Any updates on this? Are there other libraries available that works? (https://github.com/athletics/particles doesn't work on firefox) |
It's very weird. I used theses settings in production : https://100.iccwbo.org/ As you can see, there are several SVG path in background. @Fenny , I used the React component of ParticleJS https://www.npmjs.com/package/react-particles-js |
Upon further investigation, |
is multiple images working without react? |
Same question |
No it doesn't. |
I created a PR for multiple images. Just make It includes another PR for a "destroy" out mode. I needed multi-colored balloons to fly off the top of the screen. You know... important website stuff. |
If anyone needs this feature this library has it, it's the new core of |
Hi, Wondering How add Multiple Images in Particles.js
The text was updated successfully, but these errors were encountered: