🌜
🌞
tsparticles-shape-bubble

tsparticles-shape-bubble

v2.1.4

tsParticles bubble shape

npm install tsparticles-shape-bubble

README

banner

tsParticles Bubble Shape

jsDelivr npmjs npmjs

tsParticles additional bubble shape.

How to use it

CDN / Vanilla JS / jQuery

The CDN/Vanilla version JS has one required file in vanilla configuration:

Including the tsparticles.shape.bubble.min.js file will export the function to load the shape:

loadBubbleShape

Usage

Once the scripts are loaded you can set up tsParticles and the shape like this:

loadBubbleShape(tsParticles);

tsParticles.load("tsparticles", {
  /* options */
  /* here you can use particles.shape.type: "bubble" */
});

ESM / CommonJS

This package is compatible also with ES or CommonJS modules, firstly this needs to be installed, like this:

$ npm install tsparticles-shape-bubble

or

$ yarn add tsparticles-shape-bubble

Then you need to import it in the app, like this:

const { tsParticles } = require("tsparticles-engine");
const { loadBubbleShape } = require("tsparticles-shape-bubble");

loadBubbleShape(tsParticles);

or

import { tsParticles } from "tsparticles-engine";
import { loadBubbleShape } from "tsparticles-shape-bubble";

loadBubbleShape(tsParticles);

General

License
MIT
Typescript Types
Built-in
Tree-shakeable
Yes

Popularity

GitHub Stargazers
4,009
Community Interest
2,895
Number of Forks
468

Maintenance

Commits
10/219/2201,500
Last Commit
Open Issues
15
Closed Issues
313
Open Pull Requests
7
Closed Pull Requests
310

Versions

Versions Released
10/219/22015
Latest Version Released
Jul 28, 2022
Current Tags
latest2.1.4
beta2.0.0-beta.5
next2.0.4
alpha2.0.0-alpha.7

Contributors

matteobruni
matteobruni
Commits: 2,835
VincentGarreau
VincentGarreau
Commits: 624
Wufe
Wufe
Commits: 198
roslaneshellanoo
roslaneshellanoo
Commits: 72
renovate-bot
renovate-bot
Commits: 59
progers
progers
Commits: 57
PieceMaker
PieceMaker
Commits: 52
code-factor
code-factor
Commits: 26
TylerBurnett
TylerBurnett
Commits: 19
Himanshunitrr
Himanshunitrr
Commits: 15
SidiBecker
SidiBecker
Commits: 13
matteoums
matteoums
Commits: 10
Enhmunh-E
Enhmunh-E
Commits: 9
gabrielbarker
gabrielbarker
Commits: 7
gaurang7goel
gaurang7goel
Commits: 6