wufe / react-particles-js

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

centering svg polygon #114

Closed xeroe closed 4 years ago

xeroe commented 4 years ago

hello, is it possible to influence the position of the svg polygon when using this option? the polygon always appears on the bottom right edge of the canvas for me, but id like to center it to use it under an image.

matteobruni commented 4 years ago

Hi @xeroe can you share the image? Probably it has a bigger size and the main path has coordinates to center it, the polygon is already centered in the canvas. Anyway the position it's a feature that can be implemented.

matteobruni commented 4 years ago

@xeroe if you install react-particles-js 3.1.0 version you can install tsParticles 1.13.0 with position options for polygon.

You can read more here

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.