wufe / react-particles-js

Particles.js for React
https://rpj.bembi.dev/
MIT License
1.16k stars 106 forks source link

Can't Import my Image in the polygon configuration #136

Closed shrey closed 4 years ago

shrey commented 4 years ago

Hey @Wufe , love the library, I saw the deer example, and tried to convert my image into a .svg file for my personal website, but it didn't work, any advice or tips upon how to make a working svg from jpeg, or any tools where I can draw up a vector image of myself and convert it to .svg?

matteobruni commented 4 years ago

Hi @shrey

Inkscape (https://inkscape.org/release/inkscape-1.0/) is a good tool to create SVG if you want, I don't know if it converts other images too.

About the Polygon Mask feature your image should be composed with <path> tags, other tags would not be used, you can check the svg code to be sure

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.