Open blaasvaer opened 7 years ago
Make sure you change the shape type to image, in index.js
"shape": {
"type": "image",
},
And specify the source under "image"
"image": {
"src": "http://darkibl.stream/images/Float.png",
"width": 100,
"height": 100
}
This does not seem to work with correctly with some .svg files
Not sure if recent development or coincidence, same problem as Eric. PNGs work fine, but not SVGs.
Its possible to increase the image size?
@BrunoSoclick you can edit the size on line 39 of package.json
Changing width and heigth will only adjust the aspect ratio, not the size.
To increase size check particles.size.value
I have tried png, svg, even jpeg but nothing is working for me
@artfauxlive This repository is abandoned, try here https://github.com/matteobruni/tsparticles
Could you be more specifik in what parameters I have to tweak? Setting type to image and passing an url to a svg is not cutting it ...