angular-particlesjs icon indicating copy to clipboard operation
angular-particlesjs copied to clipboard

Port of the particles.js library from Vincent Garreau into an angular directive optimized for performances

Results 3 angular-particlesjs issues
Sort by recently updated
recently updated
newest added

As referred on this stackoverflow [question](https://stackoverflow.com/questions/44293797/how-to-import-and-use-particles-js-in-an-angular-angular2-angular4-app) by [Timothy Louw](https://stackoverflow.com/users/8602451/timothy-louw), particles are rendered only when the `HostListener("window.resize")` detected changes, triggering the `setCanvasSize()`. Also so, `setCanvasSize()` should be moved from the constructor...

If we could have a way to set the interactivity on window or canvas like in the original particle.js package it would allow us to overlay the canvas with text...

We need some optimizations ... render() method uses a 15% CPU. Currently we try to decrease number of particles, distance and speed (currently about 10% CPU usage).