canvasparticles-js 4.3.4 → 4.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -240,6 +240,17 @@ Enabling gravity (`repulsive` or `pulling` > 0) performs an extra **O(n²)** gra
240
240
 
241
241
  ---
242
242
 
243
+ ### `debug`
244
+
245
+ Intended for development and debugging. Can be useful to understand internal behavior.
246
+
247
+ | Option | Type | Default | Description |
248
+ | ------------------- | --------- | ------- | ----------------------------------------------- |
249
+ | `debug.drawGrid` | `boolean` | `false` | Renders the spatial grid used for partitioning. |
250
+ | `debug.drawIndexes` | `boolean` | `false` | Displays particle indices on the canvas. |
251
+
252
+ ---
253
+
243
254
  ### Update options on the fly
244
255
 
245
256
  You can update every option while an instance is animating and it works great; but some options require an extra step.