@tsparticles/interaction-external-slow 3.0.0-alpha.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/LICENSE +21 -0
- package/README.md +70 -0
- package/browser/Options/Classes/Slow.js +17 -0
- package/browser/Options/Classes/SlowOptions.js +1 -0
- package/browser/Options/Interfaces/ISlow.js +1 -0
- package/browser/Slower.js +47 -0
- package/browser/Types.js +1 -0
- package/browser/index.js +6 -0
- package/cjs/Options/Classes/Slow.js +21 -0
- package/cjs/Options/Classes/SlowOptions.js +2 -0
- package/cjs/Options/Interfaces/ISlow.js +2 -0
- package/cjs/Slower.js +62 -0
- package/cjs/Types.js +2 -0
- package/cjs/index.js +35 -0
- package/esm/Options/Classes/Slow.js +17 -0
- package/esm/Options/Classes/SlowOptions.js +1 -0
- package/esm/Options/Interfaces/ISlow.js +1 -0
- package/esm/Slower.js +47 -0
- package/esm/Types.js +1 -0
- package/esm/index.js +6 -0
- package/package.json +82 -0
- package/report.html +39 -0
- package/tsparticles.interaction.external.slow.js +187 -0
- package/tsparticles.interaction.external.slow.min.js +2 -0
- package/tsparticles.interaction.external.slow.min.js.LICENSE.txt +8 -0
- package/types/Options/Classes/Slow.d.ts +8 -0
- package/types/Options/Classes/SlowOptions.d.ts +7 -0
- package/types/Options/Interfaces/ISlow.d.ts +4 -0
- package/types/Slower.d.ts +12 -0
- package/types/Types.d.ts +16 -0
- package/types/index.d.ts +4 -0
- package/umd/Options/Classes/Slow.js +31 -0
- package/umd/Options/Classes/SlowOptions.js +12 -0
- package/umd/Options/Interfaces/ISlow.js +12 -0
- package/umd/Slower.js +61 -0
- package/umd/Types.js +12 -0
- package/umd/index.js +34 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2020 Matteo Bruni
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
[](https://particles.js.org)
|
|
2
|
+
|
|
3
|
+
# tsParticles External Bubble Interaction
|
|
4
|
+
|
|
5
|
+
[](https://www.jsdelivr.com/package/npm/tsparticles-interaction-external-bubble)
|
|
6
|
+
[](https://www.npmjs.com/package/tsparticles-interaction-external-bubble)
|
|
7
|
+
[](https://www.npmjs.com/package/tsparticles-interaction-external-bubble) [](https://github.com/sponsors/matteobruni)
|
|
8
|
+
|
|
9
|
+
[tsParticles](https://github.com/matteobruni/tsparticles) interaction plugin for bubble effect around mouse or HTML
|
|
10
|
+
elements.
|
|
11
|
+
|
|
12
|
+
## How to use it
|
|
13
|
+
|
|
14
|
+
### CDN / Vanilla JS / jQuery
|
|
15
|
+
|
|
16
|
+
The CDN/Vanilla version JS has one required file in vanilla configuration:
|
|
17
|
+
|
|
18
|
+
Including the `tsparticles.interaction.external.bubble.min.js` file will export the function to load the interaction
|
|
19
|
+
plugin:
|
|
20
|
+
|
|
21
|
+
```javascript
|
|
22
|
+
loadExternalBubbleInteraction;
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
### Usage
|
|
26
|
+
|
|
27
|
+
Once the scripts are loaded you can set up `tsParticles` and the interaction plugin like this:
|
|
28
|
+
|
|
29
|
+
```javascript
|
|
30
|
+
loadExternalBubbleInteraction(tsParticles);
|
|
31
|
+
|
|
32
|
+
tsParticles.load({
|
|
33
|
+
id: "tsparticles",
|
|
34
|
+
options: {
|
|
35
|
+
/* options */
|
|
36
|
+
},
|
|
37
|
+
});
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
### ESM / CommonJS
|
|
41
|
+
|
|
42
|
+
This package is compatible also with ES or CommonJS modules, firstly this needs to be installed, like this:
|
|
43
|
+
|
|
44
|
+
```shell
|
|
45
|
+
$ npm install tsparticles-interaction-external-bubble
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
or
|
|
49
|
+
|
|
50
|
+
```shell
|
|
51
|
+
$ yarn add tsparticles-interaction-external-bubble
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
Then you need to import it in the app, like this:
|
|
55
|
+
|
|
56
|
+
```javascript
|
|
57
|
+
const { tsParticles } = require("tsparticles-engine");
|
|
58
|
+
const { loadExternalBubbleInteraction } = require("tsparticles-interaction-external-bubble");
|
|
59
|
+
|
|
60
|
+
loadExternalBubbleInteraction(tsParticles);
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
or
|
|
64
|
+
|
|
65
|
+
```javascript
|
|
66
|
+
import { tsParticles } from "tsparticles-engine";
|
|
67
|
+
import { loadExternalBubbleInteraction } from "tsparticles-interaction-external-bubble";
|
|
68
|
+
|
|
69
|
+
loadExternalBubbleInteraction(tsParticles);
|
|
70
|
+
```
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export class Slow {
|
|
2
|
+
constructor() {
|
|
3
|
+
this.factor = 3;
|
|
4
|
+
this.radius = 200;
|
|
5
|
+
}
|
|
6
|
+
load(data) {
|
|
7
|
+
if (!data) {
|
|
8
|
+
return;
|
|
9
|
+
}
|
|
10
|
+
if (data.factor !== undefined) {
|
|
11
|
+
this.factor = data.factor;
|
|
12
|
+
}
|
|
13
|
+
if (data.radius !== undefined) {
|
|
14
|
+
this.radius = data.radius;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { ExternalInteractorBase, getDistance, isInArray } from "@tsparticles/engine";
|
|
2
|
+
import { Slow } from "./Options/Classes/Slow";
|
|
3
|
+
export class Slower extends ExternalInteractorBase {
|
|
4
|
+
constructor(container) {
|
|
5
|
+
super(container);
|
|
6
|
+
}
|
|
7
|
+
clear(particle, delta, force) {
|
|
8
|
+
if (particle.slow.inRange && !force) {
|
|
9
|
+
return;
|
|
10
|
+
}
|
|
11
|
+
particle.slow.factor = 1;
|
|
12
|
+
}
|
|
13
|
+
init() {
|
|
14
|
+
const container = this.container, slow = container.actualOptions.interactivity.modes.slow;
|
|
15
|
+
if (!slow) {
|
|
16
|
+
return;
|
|
17
|
+
}
|
|
18
|
+
container.retina.slowModeRadius = slow.radius * container.retina.pixelRatio;
|
|
19
|
+
}
|
|
20
|
+
async interact() {
|
|
21
|
+
}
|
|
22
|
+
isEnabled(particle) {
|
|
23
|
+
var _a;
|
|
24
|
+
const container = this.container, mouse = container.interactivity.mouse, events = ((_a = particle === null || particle === void 0 ? void 0 : particle.interactivity) !== null && _a !== void 0 ? _a : container.actualOptions.interactivity).events;
|
|
25
|
+
return events.onHover.enable && !!mouse.position && isInArray("slow", events.onHover.mode);
|
|
26
|
+
}
|
|
27
|
+
loadModeOptions(options, ...sources) {
|
|
28
|
+
if (!options.slow) {
|
|
29
|
+
options.slow = new Slow();
|
|
30
|
+
}
|
|
31
|
+
for (const source of sources) {
|
|
32
|
+
options.slow.load(source === null || source === void 0 ? void 0 : source.slow);
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
reset(particle) {
|
|
36
|
+
particle.slow.inRange = false;
|
|
37
|
+
const container = this.container, options = container.actualOptions, mousePos = container.interactivity.mouse.position, radius = container.retina.slowModeRadius, slow = options.interactivity.modes.slow;
|
|
38
|
+
if (!slow || !radius || radius < 0 || !mousePos) {
|
|
39
|
+
return;
|
|
40
|
+
}
|
|
41
|
+
const particlePos = particle.getPosition(), dist = getDistance(mousePos, particlePos), proximityFactor = dist / radius, slowFactor = slow.factor;
|
|
42
|
+
if (dist <= radius) {
|
|
43
|
+
particle.slow.inRange = true;
|
|
44
|
+
particle.slow.factor = proximityFactor / slowFactor;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}
|
package/browser/Types.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/browser/index.js
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { Slower } from "./Slower";
|
|
2
|
+
export async function loadExternalSlowInteraction(engine) {
|
|
3
|
+
await engine.addInteractor("externalSlow", (container) => new Slower(container));
|
|
4
|
+
}
|
|
5
|
+
export * from "./Options/Classes/Slow";
|
|
6
|
+
export * from "./Options/Interfaces/ISlow";
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Slow = void 0;
|
|
4
|
+
class Slow {
|
|
5
|
+
constructor() {
|
|
6
|
+
this.factor = 3;
|
|
7
|
+
this.radius = 200;
|
|
8
|
+
}
|
|
9
|
+
load(data) {
|
|
10
|
+
if (!data) {
|
|
11
|
+
return;
|
|
12
|
+
}
|
|
13
|
+
if (data.factor !== undefined) {
|
|
14
|
+
this.factor = data.factor;
|
|
15
|
+
}
|
|
16
|
+
if (data.radius !== undefined) {
|
|
17
|
+
this.radius = data.radius;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
exports.Slow = Slow;
|
package/cjs/Slower.js
ADDED
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.Slower = void 0;
|
|
13
|
+
const engine_1 = require("@tsparticles/engine");
|
|
14
|
+
const Slow_1 = require("./Options/Classes/Slow");
|
|
15
|
+
class Slower extends engine_1.ExternalInteractorBase {
|
|
16
|
+
constructor(container) {
|
|
17
|
+
super(container);
|
|
18
|
+
}
|
|
19
|
+
clear(particle, delta, force) {
|
|
20
|
+
if (particle.slow.inRange && !force) {
|
|
21
|
+
return;
|
|
22
|
+
}
|
|
23
|
+
particle.slow.factor = 1;
|
|
24
|
+
}
|
|
25
|
+
init() {
|
|
26
|
+
const container = this.container, slow = container.actualOptions.interactivity.modes.slow;
|
|
27
|
+
if (!slow) {
|
|
28
|
+
return;
|
|
29
|
+
}
|
|
30
|
+
container.retina.slowModeRadius = slow.radius * container.retina.pixelRatio;
|
|
31
|
+
}
|
|
32
|
+
interact() {
|
|
33
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
34
|
+
});
|
|
35
|
+
}
|
|
36
|
+
isEnabled(particle) {
|
|
37
|
+
var _a;
|
|
38
|
+
const container = this.container, mouse = container.interactivity.mouse, events = ((_a = particle === null || particle === void 0 ? void 0 : particle.interactivity) !== null && _a !== void 0 ? _a : container.actualOptions.interactivity).events;
|
|
39
|
+
return events.onHover.enable && !!mouse.position && (0, engine_1.isInArray)("slow", events.onHover.mode);
|
|
40
|
+
}
|
|
41
|
+
loadModeOptions(options, ...sources) {
|
|
42
|
+
if (!options.slow) {
|
|
43
|
+
options.slow = new Slow_1.Slow();
|
|
44
|
+
}
|
|
45
|
+
for (const source of sources) {
|
|
46
|
+
options.slow.load(source === null || source === void 0 ? void 0 : source.slow);
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
reset(particle) {
|
|
50
|
+
particle.slow.inRange = false;
|
|
51
|
+
const container = this.container, options = container.actualOptions, mousePos = container.interactivity.mouse.position, radius = container.retina.slowModeRadius, slow = options.interactivity.modes.slow;
|
|
52
|
+
if (!slow || !radius || radius < 0 || !mousePos) {
|
|
53
|
+
return;
|
|
54
|
+
}
|
|
55
|
+
const particlePos = particle.getPosition(), dist = (0, engine_1.getDistance)(mousePos, particlePos), proximityFactor = dist / radius, slowFactor = slow.factor;
|
|
56
|
+
if (dist <= radius) {
|
|
57
|
+
particle.slow.inRange = true;
|
|
58
|
+
particle.slow.factor = proximityFactor / slowFactor;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
exports.Slower = Slower;
|
package/cjs/Types.js
ADDED
package/cjs/index.js
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
17
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
18
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
19
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
20
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
21
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
22
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
23
|
+
});
|
|
24
|
+
};
|
|
25
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
+
exports.loadExternalSlowInteraction = void 0;
|
|
27
|
+
const Slower_1 = require("./Slower");
|
|
28
|
+
function loadExternalSlowInteraction(engine) {
|
|
29
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
30
|
+
yield engine.addInteractor("externalSlow", (container) => new Slower_1.Slower(container));
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
exports.loadExternalSlowInteraction = loadExternalSlowInteraction;
|
|
34
|
+
__exportStar(require("./Options/Classes/Slow"), exports);
|
|
35
|
+
__exportStar(require("./Options/Interfaces/ISlow"), exports);
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export class Slow {
|
|
2
|
+
constructor() {
|
|
3
|
+
this.factor = 3;
|
|
4
|
+
this.radius = 200;
|
|
5
|
+
}
|
|
6
|
+
load(data) {
|
|
7
|
+
if (!data) {
|
|
8
|
+
return;
|
|
9
|
+
}
|
|
10
|
+
if (data.factor !== undefined) {
|
|
11
|
+
this.factor = data.factor;
|
|
12
|
+
}
|
|
13
|
+
if (data.radius !== undefined) {
|
|
14
|
+
this.radius = data.radius;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/esm/Slower.js
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { ExternalInteractorBase, getDistance, isInArray } from "@tsparticles/engine";
|
|
2
|
+
import { Slow } from "./Options/Classes/Slow";
|
|
3
|
+
export class Slower extends ExternalInteractorBase {
|
|
4
|
+
constructor(container) {
|
|
5
|
+
super(container);
|
|
6
|
+
}
|
|
7
|
+
clear(particle, delta, force) {
|
|
8
|
+
if (particle.slow.inRange && !force) {
|
|
9
|
+
return;
|
|
10
|
+
}
|
|
11
|
+
particle.slow.factor = 1;
|
|
12
|
+
}
|
|
13
|
+
init() {
|
|
14
|
+
const container = this.container, slow = container.actualOptions.interactivity.modes.slow;
|
|
15
|
+
if (!slow) {
|
|
16
|
+
return;
|
|
17
|
+
}
|
|
18
|
+
container.retina.slowModeRadius = slow.radius * container.retina.pixelRatio;
|
|
19
|
+
}
|
|
20
|
+
async interact() {
|
|
21
|
+
}
|
|
22
|
+
isEnabled(particle) {
|
|
23
|
+
var _a;
|
|
24
|
+
const container = this.container, mouse = container.interactivity.mouse, events = ((_a = particle === null || particle === void 0 ? void 0 : particle.interactivity) !== null && _a !== void 0 ? _a : container.actualOptions.interactivity).events;
|
|
25
|
+
return events.onHover.enable && !!mouse.position && isInArray("slow", events.onHover.mode);
|
|
26
|
+
}
|
|
27
|
+
loadModeOptions(options, ...sources) {
|
|
28
|
+
if (!options.slow) {
|
|
29
|
+
options.slow = new Slow();
|
|
30
|
+
}
|
|
31
|
+
for (const source of sources) {
|
|
32
|
+
options.slow.load(source === null || source === void 0 ? void 0 : source.slow);
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
reset(particle) {
|
|
36
|
+
particle.slow.inRange = false;
|
|
37
|
+
const container = this.container, options = container.actualOptions, mousePos = container.interactivity.mouse.position, radius = container.retina.slowModeRadius, slow = options.interactivity.modes.slow;
|
|
38
|
+
if (!slow || !radius || radius < 0 || !mousePos) {
|
|
39
|
+
return;
|
|
40
|
+
}
|
|
41
|
+
const particlePos = particle.getPosition(), dist = getDistance(mousePos, particlePos), proximityFactor = dist / radius, slowFactor = slow.factor;
|
|
42
|
+
if (dist <= radius) {
|
|
43
|
+
particle.slow.inRange = true;
|
|
44
|
+
particle.slow.factor = proximityFactor / slowFactor;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}
|
package/esm/Types.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/esm/index.js
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { Slower } from "./Slower";
|
|
2
|
+
export async function loadExternalSlowInteraction(engine) {
|
|
3
|
+
await engine.addInteractor("externalSlow", (container) => new Slower(container));
|
|
4
|
+
}
|
|
5
|
+
export * from "./Options/Classes/Slow";
|
|
6
|
+
export * from "./Options/Interfaces/ISlow";
|
package/package.json
ADDED
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@tsparticles/interaction-external-slow",
|
|
3
|
+
"version": "3.0.0-alpha.0",
|
|
4
|
+
"description": "tsParticles slow external interaction",
|
|
5
|
+
"homepage": "https://particles.js.org",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "git+https://github.com/matteobruni/tsparticles.git",
|
|
9
|
+
"directory": "interactions/external/slow"
|
|
10
|
+
},
|
|
11
|
+
"keywords": [
|
|
12
|
+
"front-end",
|
|
13
|
+
"frontend",
|
|
14
|
+
"tsparticles",
|
|
15
|
+
"particles.js",
|
|
16
|
+
"particlesjs",
|
|
17
|
+
"particles",
|
|
18
|
+
"particle",
|
|
19
|
+
"canvas",
|
|
20
|
+
"jsparticles",
|
|
21
|
+
"xparticles",
|
|
22
|
+
"particles-js",
|
|
23
|
+
"particles-bg",
|
|
24
|
+
"particles-bg-vue",
|
|
25
|
+
"particles-ts",
|
|
26
|
+
"particles.ts",
|
|
27
|
+
"react-particles-js",
|
|
28
|
+
"react-particles.js",
|
|
29
|
+
"react-particles",
|
|
30
|
+
"react",
|
|
31
|
+
"reactjs",
|
|
32
|
+
"vue-particles",
|
|
33
|
+
"ngx-particles",
|
|
34
|
+
"angular-particles",
|
|
35
|
+
"particleground",
|
|
36
|
+
"vue",
|
|
37
|
+
"vuejs",
|
|
38
|
+
"preact",
|
|
39
|
+
"preactjs",
|
|
40
|
+
"jquery",
|
|
41
|
+
"angularjs",
|
|
42
|
+
"angular",
|
|
43
|
+
"typescript",
|
|
44
|
+
"javascript",
|
|
45
|
+
"animation",
|
|
46
|
+
"web",
|
|
47
|
+
"html5",
|
|
48
|
+
"web-design",
|
|
49
|
+
"webdesign",
|
|
50
|
+
"css",
|
|
51
|
+
"html",
|
|
52
|
+
"css3",
|
|
53
|
+
"animated",
|
|
54
|
+
"background",
|
|
55
|
+
"confetti",
|
|
56
|
+
"canvas",
|
|
57
|
+
"fireworks",
|
|
58
|
+
"fireworks-js",
|
|
59
|
+
"confetti-js",
|
|
60
|
+
"confettijs",
|
|
61
|
+
"fireworksjs",
|
|
62
|
+
"canvas-confetti",
|
|
63
|
+
"@tsparticles/plugin",
|
|
64
|
+
"@tsparticles/interaction"
|
|
65
|
+
],
|
|
66
|
+
"author": "Matteo Bruni <matteo.bruni@me.com>",
|
|
67
|
+
"license": "MIT",
|
|
68
|
+
"bugs": {
|
|
69
|
+
"url": "https://github.com/matteobruni/tsparticles/issues"
|
|
70
|
+
},
|
|
71
|
+
"main": "cjs/index.js",
|
|
72
|
+
"jsdelivr": "tsparticles.interaction.external.slow.min.js",
|
|
73
|
+
"unpkg": "tsparticles.interaction.external.slow.min.js",
|
|
74
|
+
"module": "esm/index.js",
|
|
75
|
+
"types": "types/index.d.ts",
|
|
76
|
+
"publishConfig": {
|
|
77
|
+
"access": "public"
|
|
78
|
+
},
|
|
79
|
+
"dependencies": {
|
|
80
|
+
"@tsparticles/engine": "^3.0.0-alpha.0"
|
|
81
|
+
}
|
|
82
|
+
}
|