settings.md
July 12, 2026 ยท View on GitHub
Common category
Debug mode - debug
- default: false
- type: bool
Debug tree - debug_tree
Show Spatial Tree segments
- type: bool
Debug velocity - debug_velocity
Show velocity vectors
- default: false
- type: bool
Debug momentum - debug_force
Show momentum vectors
- type: bool
Show statistics - stats
- default: true
- type: bool
World category
World width - width
- default: 1920
- type: int
World height - height
- default: 1080
- type: int
Simulation category
Backend - backend
Choice backend to calculate particle interactions
- default: worker
- type: enum
- values: worker, gpgpu
Segment divider - segment_divider
Spatial subdivision factor while segmentation, larger values increase accuracy
- default: 2
- type: int
- constraints: 2-16
Segment size - segment_max_count
Max particle count in segment, larger values increase accuracy
- type: int
- constraints: 1-1000000
Segmentation randomness - segment_random
Spatial subdivision randomness factor
- default: 0.25
- type: float
- constraints: 0-1
Mass-centered tree approximation - tree_mass_center
Uses each tree block's center of mass for its aggregated gravitational mass. Disable it to reproduce the legacy geometric subdivision-center model.
- default: true
- type: bool
Buffer count - buffers
How many physics frames will be requested ahead of time
- default: 3
- type: int
- constraints: 1-20
Physics category
Particle initializer - particle_init
- default: circle
- type: enum
- values: circle, uniform, bang, disk, rotation, collision, swirl
Particle count - particle_count
- type: int
- constraints: 2-1000000000
Particle mass factor - particle_mass
Particle mass variance, exponential
- default: 0
- type: int
- constraints: 0-24
Resistance - resistance
Resistance of environment, 1 - means no resistance
- default: 1
- type: float
- constraints: 0.01-1
Gravity - g
Attraction force
- default: 1
- type: float
- constraints: 0.000001-1000000
Collisions - collision
Enable particle collision
- default: false
- type: bool
Particle collision size - collision_size
Sets particle collider size in pixels
- default: 1
- type: float
- constraints: 0.000001-1000
Collision restitution - collision_r
Sets collision restitution, 1 - means no energy loss during collision
- default: 1
- type: float
- constraints: 0-2
Min interaction distance - min_distance
Minimal distance (pixels) to process interactions
- default: 0.01
- type: float
- constraints: 0.000001-1000
Render category
Render - render
- type: enum
- values: canvas, webgl2
Use DPR - dpr
Draw respecting Device Pixel Ratio
- type: bool
Custom DPR value - dpr_rate
Override default Device Pixel Ratio
- default: 0
- type: float
- constraints: 0-10
Fixed particle size - fixed_size
Don't change particle size when scale
- default: true
- type: bool
Particle size scale - particle_scale
- default: 1
- type: float
- constraints: 0.01-10
Enable filters - filter
Make image brighter and change color over time
- default: false
- type: bool
Enable blending - blend
Enable color blending for particles
- default: true
- type: bool
Enable DFRI - dfri
Enable frame rate interpolation for smoother render
- default: true
- type: bool
Max DFRI frames - dfri_max
Maximum frames to be generated by DFRI
- default: 120
- type: int
- constraints: 1-240
Slow motion rate - slow_motion
- default: 1
- type: float
- constraints: 0.01-1