This is a WebGL implementation of Newton's Gravity Law 1-Body Simulation.
Demo: https://dra1ex.github.io/WebGL_ParticleSystem/
- mouse_size - Size of mouse point (default: 3)
- show_mouse - Show mouse pointer, values 0, 1 (default: 1)
- particle_count - Count of particles to simulate (default: 100000 for mobile, 200000 for desktop)
- fps - Refresh rate in frames per second (default: 60)
- g - Attraction force of mouse pointer (default: 9)
- resistance - Resistance of environment, 1 - means no resistance (default: 0.99)