console.log left in build
See original GitHub issueWhich version are you using? 1.24.1
Is the latest version affected?
- Yes
- No
Which library are you using?
- Vanilla JS (
tsparticles) - React (
react-tsparticles) - Vue.js 2.x (
particles.vue) - Vue.js 3.x (
particles.vue3) - Angular (
ng-particles) - Svelte (
svelte-particles) - Preact (
preact-particles) - Inferno (
inferno-particles) - jQuery (
jquery-particles)
tsParticles Configuration
N/A
Describe the bug
A clear and concise description of what the bug is.
console.log() production build
I dont know if it was to be expected that the console.log() was left in the production build. I only noticed it when testing my app.
To Reproduce Steps to reproduce the behavior:
- Go to https://www.adamalston.com/
- Inspect Element
- Console
- See particles object
Expected behavior
Remove console.log() from production build
Screenshots

Desktop (please complete the following information): N/A
Smartphone (please complete the following information): N/A
Additional context I do have an additional question. It seems like the particle speed has been increased significantly between 1.22.x and 1.24.x. What is the reasoning/explanation behind this?
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (3 by maintainers)

Top Related StackOverflow Question
Thanks for the explanation, the math behind the change seems interesting. Also sounds like performance will see an improvement due to the circular emitter and speed being more linear - not that it was bad before.
The new values are:
Using
noneinstead of a couple of random values, it’s