wufe / react-particles-js

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

Performance when init particle #64

Open rainstormza opened 5 years ago

rainstormza commented 5 years ago
screen shot 2561-11-18 at 10 17 21

I tried to measure performance with this demo (https://rpj.bembi.org/). When the first load it's going to stuck for a while and then it will paint the dom (fps down to 8-10).

https://vincentgarreau.com/particles.js/ This lib has the same behavior.

Is there anyway to improve this?

wufe commented 5 years ago

A huge refactor is being written right now, so I'll check the performances on next version. However I suppose it won't be easy to improve first load.

stale[bot] commented 5 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.