tsParticles
tsParticles - Easily create highly customizable JavaScript particles effect...
README
tsParticles - TypeScript Particles
*A lightweight TypeScript library for creating particles. Dependency free (\), browser ready and compatible with
React.js, Vue.js (2.x and 3.x), Angular, Svelte, jQuery, Preact, Inferno, Riot.js, Solid.js, and Web Components
Table of Contents
Do you want to use it on your website?
_Documentation and Development references here 📖_
This library is available on two of the most popular CDNs and it's easy and ready to use, if you were using
particles.js
it's even easier.
You'll find the
instructions below, with all the
links you need, and _don't be scared by TypeScript, it's just the source language_.
The output files are just JavaScript. 🤩
CDNs and npm have all the sources you need in Javascript, a bundle browser ready (tsparticles.engine.min.js), and
all
files splitted for import syntax.
If you are interested there are some _simple instructions_
just below to guide you to
migrate from the old particles.js library.
_Library installation_
_Hosting / CDN_
_Please use these hosts or your own to load tsParticles on your projects_
- ```shell
- npm install tsparticles-engine
- ```
_yarn_
- ```shell
- yarn add tsparticles-engine
- ```
_pnpm_
- ```shell
- pnpm install tsparticles-engine
- ```
Import and require
- ```javascript
- const tsParticles = require("tsparticles-engine");
- // or
- import { tsParticles } from "tsparticles-engine";
- ```