🌜
🌞
tsparticles-shape-spiral

tsparticles-shape-spiral

v2.1.4

tsParticles spiral shape

npm install tsparticles-shape-spiral

README

banner

tsParticles Spiral Shape

jsDelivr npmjs npmjs

tsParticles additional spiral 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.spiral.min.js file will export the function to load the shape:

loadSpiralShape

Usage

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

loadSpiralShape(tsParticles);

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

ESM / CommonJS

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

$ npm install tsparticles-shape-spiral

or

$ yarn add tsparticles-shape-spiral

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

const { tsParticles } = require("tsparticles-engine");
const { loadSpiralShape } = require("tsparticles-shape-spiral");

loadSpiralShape(tsParticles);

or

import { tsParticles } from "tsparticles-engine";
import { loadSpiralShape } from "tsparticles-shape-spiral";

loadSpiralShape(tsParticles);

General

License
MIT
Typescript Types
Built-in
Tree-shakeable
Yes

Popularity

GitHub Stargazers
4,157
Community Interest
2,895
Number of Forks
486

Maintenance

Commits
11/2110/220750
Last Commit
Open Issues
16
Closed Issues
314
Open Pull Requests
8
Closed Pull Requests
314

Versions

Versions Released
11/2110/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