This package has been deprecated

Author message:

starting from tsparticles v3 the packages are now moved to @tsparticles/package-name instead of tsparticles-package-name

tsparticles-demo-configs
TypeScript icon, indicating that this package has built-in type declarations

2.12.0 • Public • Published

banner

tsParticles Demo Configs

Installation

npm install --save-dev tsparticles-demo-configs

or

yarn add --dev tsparticles-demo-configs

or

pnpm add --save-dev tsparticles-demo-configs

CDN

<script src="https://cdn.jsdelivr.net/npm/tsparticles-engine/tsparticles.engine.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/tsparticles-demo-configs/tsparticles.configs.min.js"></script>

Usage

JavaScript

import { tsParticles } from "tsparticles-engine"; // not needed with CDN
import * as configs from "tsparticles-demo-configs"; // not needed with CDN

(async () => {
  await tsParticles.load({ id: "tsparticles", options: configs.basic });
})();

TypeScript

import { tsParticles } from "tsparticles-engine";
import * as configs from "tsparticles-demo-configs";

(async () => {
  await tsParticles.load({ id: "tsparticles", options: configs.basic });
})();

Plugins

Some configs need plugins to work, they are not installed with this library.

This library contains only the config files, the plugins must be installed separately.

Package Sidebar

Install

npm i tsparticles-demo-configs

Weekly Downloads

55

Version

2.12.0

License

MIT

Unpacked Size

1.98 MB

Total Files

835

Last publish

Collaborators

  • ar3s
  • matteobruni