wufe / react-particles-js

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

Extremely simple particle is not working. #115

Closed GaganBhat closed 4 years ago

GaganBhat commented 4 years ago

This is likely an issue with the way I am doing something, but I have a dead-simple react project in a code box and I can't seem to get it to show the particles regardless of what I do. I copied the exact same particle configuration from the demo page.

The code sandbox is https://codesandbox.io/s/minimal-zhvyg?file=/src/index.js

matteobruni commented 4 years ago

The particles default color is white, try changing it or change the background.

Here you can find all the options: https://github.com/matteobruni/tsparticles/blob/master/README.md#options

GaganBhat commented 4 years ago

Thank you, @matteobruni, I can't believe I missed that. That was it.

GaganBhat commented 4 years ago

image Beautiful, absolutely beautiful. Thank you for creating this!