UNPKG

mz-particles

Version:

TypeScript library for creating particle effects on canvas.

16 lines (7 loc) 680 B
# Particles Number - **particlesNumber: number** - The number of particles to be created in the system. If this property is required. ## Viewport Breakpoints - **lgParticlesNumber?: number** - The same as particlesNumber, but for viewport <= 1024 px. The default value is 60. - **mdParticlesNumber?: number** - The same as particlesNumber, but for viewport <= 768 px. The default value is 50. - **smParticlesNumber?: number** - The same as particlesNumber, but for viewport <= 640 px. The default value is 30. - **resizeDebounceTime: number** - Specifies the delay time for particles to redraw when the window is resized. Value in milliseconds. The default value is 1000.