[![banner](https://particles.js.org/images/banner3.png)](https://particles.js.org)
# 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**
[![GitHub Sponsors](https://img.shields.io/github/sponsors/matteobruni?style=for-the-badge)](https://github.com/sponsors/matteobruni)
[![jsDelivr hits (npm)](https://img.shields.io/jsdelivr/npm/hm/tsparticles?style=for-the-badge)](https://www.jsdelivr.com/package/npm/tsparticles)
[![Cdnjs](https://img.shields.io/cdnjs/v/tsparticles-engine?style=for-the-badge)](https://cdnjs.com/libraries/tsparticles)
[![npm](https://img.shields.io/npm/v/tsparticles-engine?style=for-the-badge)](https://www.npmjs.com/package/tsparticles)
[![npm](https://img.shields.io/npm/dm/tsparticles?style=for-the-badge)](https://www.npmjs.com/package/tsparticles)
[![lerna](https://img.shields.io/badge/maintained%20with-lerna-cc00ff?style=for-the-badge)](https://lerna.js.org/)
[![CodeFactor](https://www.codefactor.io/repository/github/matteobruni/tsparticles/badge)](https://www.codefactor.io/repository/github/matteobruni/tsparticles)
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/b983aaf3461a4c48b1e2eecce1ff1d74)](https://www.codacy.com/manual/ar3s/tsparticles?utm_source=github.com&utm_medium=referral&utm_content=matteobruni/tsparticles&utm_campaign=Badge_Grade)
[![Rate this package](https://badges.openbase.com/js/rating/tsparticles.svg?style=openbase&token=A9jHQ1nkb6fnCndKM7O2w4hx3OD8PVCuqHtSpw8mMOg=)](https://openbase.com/js/tsparticles?utm_source=embedded&utm_medium=badge&utm_campaign=rating-badge&utm_term=js/tsparticles)
[![Gitpod Ready-to-Code](https://img.shields.io/badge/Gitpod-ready--to--code-blue?logo=gitpod)](https://gitpod.io/#https://github.com/matteobruni/tsparticles)
[![Run on Repl.it](https://repl.it/badge/github/matteobruni/tsparticles)](https://repl.it/github/matteobruni/tsparticles)
[![Discord](https://img.shields.io/discord/872061157379301416?label=discord&logo=discord&logoColor=white&style=for-the-badge)](https://discord.gg/hACwv45Hme)
[![Slack](https://particles.js.org/images/slack.png)](https://join.slack.com/t/tsparticles/shared_invite/enQtOTcxNTQxNjQ4NzkxLWE2MTZhZWExMWRmOWI5MTMxNjczOGE1Yjk0MjViYjdkYTUzODM3OTc5MGQ5MjFlODc4MzE0N2Q1OWQxZDc1YzI)
[![WhatsApp](https://particles.js.org/images/WhatsApp.png)](https://chat.whatsapp.com/KQyHc9UEbRc2qlqNQR2J5c)
[![Telegram](https://particles.js.org/images/telegram.png)](https://t.me/tsparticles)
[![Reddit](https://img.shields.io/reddit/subreddit-subscribers/tsParticles?style=for-the-badge)](https://www.reddit.com/r/tsParticles/)
[![tsParticles Product Hunt](https://api.producthunt.com/widgets/embed-image/v1/featured.svg?post_id=186113&theme=light)](https://www.producthunt.com/posts/tsparticles?utm_source=badge-featured&utm_medium=badge&utm_souce=badge-tsparticles")
[![Buy Me A Coffee](https://img.buymeacoffee.com/button-api/?text=Buy%20me%20a%20beer&emoji=���&slug=matteobruni&button_colour=5F7FFF&font_colour=ffffff&font_family=Arial&outline_colour=000000&coffee_colour=FFDD00")](https://www.buymeacoffee.com/matteobruni)
---
## Table of Contents
- [tsParticles - TypeScript Particles](#tsparticles---typescript-particles)
- [Table of Contents](#table-of-contents)
- [Do you want to use it on your website?](#do-you-want-to-use-it-on-your-website)
- [**_Library installation_**](#library-installation)
- [**_Hosting / CDN_**](#hosting--cdn)
- [jsDelivr](#jsdelivr)
- [cdnjs](#cdnjs)
- [unpkg](#unpkg)
- [**_npm_**](#npm)
- [**_yarn_**](#yarn)
- [**_pnpm_**](#pnpm)
- [Import and require](#import-and-require)
- [**_Usage_**](#usage)
- [Official components for some of the most used frameworks](#official-components-for-some-of-the-most-used-frameworks)
- [Angular](#angular)
- [`ng-particles`](#ng-particles)
- [Astro](#astro)
- [`astro-particles`](#astro-particles)
- [Ember.js](#emberjs)
- [`ember-tsparticles`](#ember-tsparticles)
- [Inferno](#inferno)
- [`inferno-particles`](#inferno-particles)
- [jQuery](#jquery)
- [`jquery-particles`](#jquery-particles)
- [Preact](#preact)
- [`preact-particles`](#preact-particles)
- [ReactJS](#reactjs)
- [`react-particles`](#react-particles)
- [RiotJS](#riotjs)
- [`riot-particles`](#riot-particles)
- [SolidJS](#solidjs)
- [`solid-particles`](#solid-particles)
- [Svelte](#svelte)
- [`svelte-particles`](#svelte-particles)
- [VueJS 2.x](#vuejs-2x)
- [`vue2-particles`](#vue2-particles)
- [VueJS 3.x](#vuejs-3x)
- [`vue3-particles`](#vue3-particles)
- [Web Components](#web-components)
- [`web-particles`](#web-particles)
- [WordPress](#wordpress)
- [`wordpress-particles`](#wordpress-particles)
- [Elementor](#elementor)
- [Presets](#presets)
- [Big Circles](#big-circles)
- [Bubbles](#bubbles)
- [Confetti](#confetti)
- [Fire](#fire)
- [Firefly](#firefly)
- [Fireworks](#fireworks)
- [Fountain](#fountain)
- [Links](#links)
- [Sea Anemone](#sea-anemone)
- [Snow](#snow)
- [Stars](#stars)
- [Triangles](#triangles)
- [Templates and Resources](#templates-and-resources)
- [**_Demo / Generator_**](#demo--generator)
- [**_Video Tutorials_**](#video-tutorials)
- [Characters as particles](#characters-as-particles)
- [Polygon mask](#polygon-mask)
- [Animated stars](#animated-stars)
- [Nyan cat flying on scrolling stars](#nyan-cat-flying-on-scrolling-stars)
- [Snow particles](#snow-particles)
- [Background Mask particles](#background-mask-particles)
- [**_Options_**](#options)
- [Want to see it in action and try it?](#want-to-see-it-in-action-and-try-it)
- [Migrating from Particles.js](#migrating-from-particlesjs)
- [Plugins/Customizations](#pluginscustomizations)
- [Dependency Graph](#dependency-graph)
- [Sponsors](#sponsors)
- [Huge thanks to JetBrains for the 2020-2022 Open Source Licenses!](#huge-thanks-to-jetbrains-for-the-2020-2022-open-source-licenses)
---
## Do you want to use it on your website?
_Documentation and Development references [here](https://particles.js.org/docs/) ���_
**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](https://github.com/matteobruni/tsparticles/blob/main/README.md#library-installation), 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](https://github.com/matteobruni/tsparticles/blob/main/README.md#library-installation) 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_**
#### jsDelivr
[![jsDelivr](https://data.jsdelivr.com/v1/package/npm/tsparticles-confetti/badge)](https://www.jsdelivr.com/package/npm/tsparticles-confetti)
[![jsDelivr](https://data.jsdelivr.com/v1/package/npm/tsparticles-engine/badge)](https://www.jsdelivr.com/package/npm/tsparticles-engine)
[![jsDelivr](https://data.jsdelivr.com/v1/package/npm/tsparticles-fireworks/badge)](https://www.jsdelivr.com/package/npm/tsparticles-fireworks)
[![jsDelivr](https://data.jsdelivr.com/v1/package/npm/tsparticles-basic/badge)](https://www.jsdelivr.com/package/npm/tsparticles-basic)
[![jsDelivr](https://data.jsdelivr.com/v1/package/npm/tsparticles-slim/badge)](https://www.jsdelivr.
没有合适的资源?快使用搜索试试~ 我知道了~
particles 粒子背景插件在vue3中的使用
共2000个文件
js:1779个
md:76个
json:66个
0 下载量 62 浏览量
2023-10-17
17:32:56
上传
评论
收藏 14.1MB ZIP 举报
温馨提示
particles 粒子背景插件在vue3中的使用
资源推荐
资源详情
资源评论
收起资源包目录
particles 粒子背景插件在vue3中的使用 (2000个子文件)
report.html 344KB
report.html 330KB
report.html 300KB
report.html 295KB
report.html 293KB
report.html 275KB
report.html 274KB
report.html 274KB
report.html 273KB
report.html 273KB
report.html 273KB
report.html 273KB
report.html 273KB
report.html 273KB
report.html 273KB
report.html 273KB
report.html 273KB
report.html 273KB
report.html 273KB
report.html 273KB
report.html 273KB
report.html 273KB
report.html 273KB
report.html 273KB
report.html 273KB
report.html 273KB
report.html 273KB
report.html 273KB
report.html 273KB
report.html 273KB
report.html 272KB
report.html 272KB
report.html 272KB
report.html 272KB
report.html 272KB
report.html 272KB
report.html 272KB
dep-2b82a1ce.js 2.1MB
rollup.js 1003KB
node-entry.js 1000KB
index.js 479KB
vue.global.js 463KB
vue.esm-browser.js 435KB
tsparticles.bundle.js 365KB
dep-f0c7dae0.js 322KB
vue.runtime.global.js 321KB
tsparticles.slim.bundle.js 310KB
vue.runtime.esm-browser.js 297KB
dep-24337c19.js 222KB
tsparticles.basic.bundle.js 192KB
tsparticles.bundle.min.js 166KB
tsparticles.pjs.bundle.js 165KB
tsparticles.engine.js 162KB
tsparticles.slim.bundle.min.js 141KB
vue.esm-browser.prod.js 131KB
vue.global.prod.js 128KB
watch.js 128KB
index.js 119KB
tsparticles.basic.bundle.min.js 89KB
main.js 86KB
vue.runtime.esm-browser.prod.js 84KB
vue.runtime.global.prod.js 83KB
tsparticles.pjs.bundle.min.js 78KB
tsparticles.engine.min.js 77KB
magic-string.umd.js 40KB
magic-string.cjs.js 36KB
tsparticles.shape.image.js 30KB
cli.js 29KB
tsparticles.plugin.emitters.js 28KB
dep-4950a6a7.js 24KB
tsparticles.interaction.particles.links.js 23KB
tsparticles.slim.js 22KB
loadConfigFile.js 21KB
tsparticles.interaction.external.bubble.js 20KB
tsparticles.updater.out-modes.js 19KB
watch-cli.js 18KB
tsparticles.plugin.absorbers.js 18KB
Canvas.js 16KB
Container.js 16KB
Canvas.js 16KB
Canvas.js 16KB
Container.js 16KB
Container.js 16KB
tsparticles.interaction.external.repulse.js 15KB
Bubbler.js 15KB
Utils.js 15KB
parser.js 14KB
EventListeners.js 14KB
EventListeners.js 14KB
EventListeners.js 14KB
Utils.js 14KB
Particle.js 13KB
Bubbler.js 13KB
lazy-result.js 13KB
dep-c423598f.js 13KB
Particle.js 13KB
Particle.js 13KB
Utils.js 13KB
Bubbler.js 13KB
Bubbler.js 13KB
共 2000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 20
资源评论
杀死一只知更鸟debug
- 粉丝: 4937
- 资源: 14
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功