canvasparticles-js 3.6.4 → 3.6.6

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
@@ -180,7 +180,7 @@ instance = new CanvasParticles(canvasElement, options)
180
180
 
181
181
  ### Chaining methods
182
182
 
183
- You can chain .start() for a cleaner syntax:
183
+ You can chain `.start()` for a cleaner syntax:
184
184
 
185
185
  ```js
186
186
  instance = new CanvasParticles(selector).start()
@@ -212,7 +212,7 @@ canvas = new CanvasParticles(selector).anyOtherMethod().canvas
212
212
  ## Options
213
213
 
214
214
  Configuration options for the particles and their behavior.<br>
215
- Play around with these values: [Sandbox](http://kylehoeckman.great-site.net/canvas-particles/#sandbox)
215
+ Play around with these values: [Sandbox](https://canvasparticleshomepage.onrender.com/src/#sandbox)
216
216
 
217
217
  <details>
218
218
  <summary><h3>Options structure</h3></summary>
@@ -421,7 +421,7 @@ particles.setOptions(options)
421
421
  const options = {
422
422
  background: 'hsl(125, 42%, 35%)',
423
423
  mouse: {
424
- interactionType: CanvasParticles.interactionType.MOVE, // === 2
424
+ interactionType: CanvasParticles.interactionType.MOVE, // MOVE === 2
425
425
  },
426
426
  particles: {
427
427
  color: 'rgba(150, 255, 105, 0.95)',
@@ -9,7 +9,7 @@
9
9
  typeof self !== 'undefined' ? self : this,
10
10
  () =>
11
11
  class CanvasParticles {
12
- static version = '3.6.4'
12
+ static version = '3.6.6'
13
13
 
14
14
  // Mouse interaction with the particles.
15
15
  static interactionType = Object.freeze({
@@ -2,7 +2,7 @@
2
2
  // https://github.com/Khoeckman/canvasparticles-js/blob/main/LICENSE
3
3
 
4
4
  export default class CanvasParticles {
5
- static version = '3.6.4'
5
+ static version = '3.6.6'
6
6
 
7
7
  // Mouse interaction with the particles.
8
8
  static interactionType = Object.freeze({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "canvasparticles-js",
3
- "version": "3.6.4",
3
+ "version": "3.6.6",
4
4
  "description": "In an HTML canvas, a bunch of interactive particles connected with lines when they approach each other.",
5
5
  "main": "canvasParticles.js",
6
6
  "module": "canvasParticles.mjs",