Closed BonnY0 closed 1 month ago
Disable density in particles number options
Yes but now in mobile version the number of particles is a lot in default resolution
You asked same number in any screen size, that’s how you achieve it. If you want different numbers between mobile and desktop, use two different options and load them checking the browser name or other parameters
How do I achieve that, is it possible with config parameters or I need another js checking for browser size
How do I achieve that, is it possible with config parameters or I need another js checking for browser size
For mobile detection you need custom js code, responsive options are based on screen size
Thanks
Contact Details
No response
What happened?
There is sort of a memory leak, the number of particles increases and memory usage spikes, when I zoom out in browser or use desktop mode when testing on mobile phone. How do I keep the same number of particles on any screen size.
The first picture shows normal browser zoom at 100% and the second shows zoomed out you can see that the number of particles is a lot more than it is supposed to be.
tsParticles Version
3.0.2
tsParticles Configuration
What browsers are you seeing the problem on?
Firefox, Chrome, Microsoft Edge
Relevant log output
No response
Code of Conduct