|
9 | 9 | **Included Packages** |
10 | 10 |
|
11 | 11 | - [tsparticles (and all its dependencies)](https://github.com/tsparticles/tsparticles/tree/main/bundles/full) |
| 12 | +- [@tsparticles/engine](https://github.com/tsparticles/tsparticles/tree/main/engine) |
| 13 | +- [@tsparticles/effect-bubble](https://github.com/tsparticles/tsparticles/tree/main/effects/bubble) |
| 14 | +- [@tsparticles/effect-particles](https://github.com/tsparticles/tsparticles/tree/main/effects/particles) |
| 15 | +- [@tsparticles/effect-shadow](https://github.com/tsparticles/tsparticles/tree/main/effects/shadow) |
| 16 | +- [@tsparticles/effect-trail](https://github.com/tsparticles/tsparticles/tree/main/effects/trail) |
12 | 17 | - [@tsparticles/interaction-external-particle](https://github.com/tsparticles/tsparticles/tree/main/interactions/external/particle) |
13 | 18 | - [@tsparticles/interaction-external-pop](https://github.com/tsparticles/tsparticles/tree/main/interactions/external/pop) |
14 | 19 | - [@tsparticles/interaction-light](https://github.com/tsparticles/tsparticles/tree/main/interactions/light) |
15 | 20 | - [@tsparticles/interaction-particles-repulse](https://github.com/tsparticles/tsparticles/tree/main/interactions/particles/repulse) |
| 21 | +- [@tsparticles/path-branches](https://github.com/tsparticles/tsparticles/tree/main/paths/branches) |
| 22 | +- [@tsparticles/path-brownian](https://github.com/tsparticles/tsparticles/tree/main/paths/brownian) |
| 23 | +- [@tsparticles/path-curl-noise](https://github.com/tsparticles/tsparticles/tree/main/paths/curlNoise) |
16 | 24 | - [@tsparticles/path-curves](https://github.com/tsparticles/tsparticles/tree/main/paths/curves) |
| 25 | +- [@tsparticles/path-fractal-noise](https://github.com/tsparticles/tsparticles/tree/main/paths/fractalNoise) |
| 26 | +- [@tsparticles/path-grid](https://github.com/tsparticles/tsparticles/tree/main/paths/grid) |
| 27 | +- [@tsparticles/path-levy](https://github.com/tsparticles/tsparticles/tree/main/paths/levy) |
17 | 28 | - [@tsparticles/path-perlin-noise](https://github.com/tsparticles/tsparticles/tree/main/paths/perlinNoise) |
18 | 29 | - [@tsparticles/path-polygon](https://github.com/tsparticles/tsparticles/tree/main/paths/polygon) |
| 30 | +- [@tsparticles/path-random](https://github.com/tsparticles/tsparticles/tree/main/paths/random) |
19 | 31 | - [@tsparticles/path-simplex-noise](https://github.com/tsparticles/tsparticles/tree/main/paths/simplexNoise) |
| 32 | +- [@tsparticles/path-spiral](https://github.com/tsparticles/tsparticles/tree/main/paths/spiral) |
20 | 33 | - [@tsparticles/path-svg](https://github.com/tsparticles/tsparticles/tree/main/paths/svg) |
| 34 | +- [@tsparticles/path-zig-zag](https://github.com/tsparticles/tsparticles/tree/main/paths/zigZag) |
| 35 | +- [@tsparticles/plugin-background-mask](https://github.com/tsparticles/tsparticles/tree/main/plugins/backgroundMask) |
| 36 | +- [@tsparticles/plugin-blend](https://github.com/tsparticles/tsparticles/tree/main/plugins/blend) |
21 | 37 | - [@tsparticles/plugin-canvas-mask](https://github.com/tsparticles/tsparticles/tree/main/plugins/canvasMask) |
22 | 38 | - [@tsparticles/plugin-easing-back](https://github.com/tsparticles/tsparticles/tree/main/plugins/easings/back) |
| 39 | +- [@tsparticles/plugin-easing-bounce](https://github.com/tsparticles/tsparticles/tree/main/plugins/easings/bounce) |
23 | 40 | - [@tsparticles/plugin-easing-circ](https://github.com/tsparticles/tsparticles/tree/main/plugins/easings/circ) |
24 | 41 | - [@tsparticles/plugin-easing-cubic](https://github.com/tsparticles/tsparticles/tree/main/plugins/easings/cubic) |
| 42 | +- [@tsparticles/plugin-easing-elastic](https://github.com/tsparticles/tsparticles/tree/main/plugins/easings/elastic) |
25 | 43 | - [@tsparticles/plugin-easing-expo](https://github.com/tsparticles/tsparticles/tree/main/plugins/easings/expo) |
| 44 | +- [@tsparticles/plugin-easing-gaussian](https://github.com/tsparticles/tsparticles/tree/main/plugins/easings/gaussian) |
| 45 | +- [@tsparticles/plugin-easing-linear](https://github.com/tsparticles/tsparticles/tree/main/plugins/easings/linear) |
26 | 46 | - [@tsparticles/plugin-easing-quart](https://github.com/tsparticles/tsparticles/tree/main/plugins/easings/quart) |
27 | 47 | - [@tsparticles/plugin-easing-quint](https://github.com/tsparticles/tsparticles/tree/main/plugins/easings/quint) |
| 48 | +- [@tsparticles/plugin-easing-sigmoid](https://github.com/tsparticles/tsparticles/tree/main/plugins/easings/sigmoid) |
28 | 49 | - [@tsparticles/plugin-easing-sine](https://github.com/tsparticles/tsparticles/tree/main/plugins/easings/sine) |
| 50 | +- [@tsparticles/plugin-easing-smoothstep](https://github.com/tsparticles/tsparticles/tree/main/plugins/easings/smoothstep) |
| 51 | +- [@tsparticles/plugin-emitters-shape-canvas](https://github.com/tsparticles/tsparticles/tree/main/plugins/emitters/shape/canvas) |
| 52 | +- [@tsparticles/plugin-emitters-shape-path](https://github.com/tsparticles/tsparticles/tree/main/plugins/emitters/shape/path) |
| 53 | +- [@tsparticles/plugin-emitters-shape-polygon](https://github.com/tsparticles/tsparticles/tree/main/plugins/emitters/shape/polygon) |
29 | 54 | - [@tsparticles/plugin-export-image](https://github.com/tsparticles/tsparticles/tree/main/plugins/exports/image) |
30 | 55 | - [@tsparticles/plugin-export-json](https://github.com/tsparticles/tsparticles/tree/main/plugins/exports/json) |
31 | 56 | - [@tsparticles/plugin-export-video](https://github.com/tsparticles/tsparticles/tree/main/plugins/exports/video) |
32 | | -- [@tsparticles/plugin-hsv-color](https://github.com/tsparticles/tsparticles/tree/main/plugins/hsvColor) |
| 57 | +- [@tsparticles/plugin-hsv-color](https://github.com/tsparticles/tsparticles/tree/main/plugins/colors/hsvColor) |
| 58 | +- [@tsparticles/plugin-hwb-color](https://github.com/tsparticles/tsparticles/tree/main/plugins/colors/hwbColor) |
33 | 59 | - [@tsparticles/plugin-infection](https://github.com/tsparticles/tsparticles/tree/main/plugins/infection) |
| 60 | +- [@tsparticles/plugin-lab-color](https://github.com/tsparticles/tsparticles/tree/main/plugins/colors/labColor) |
| 61 | +- [@tsparticles/plugin-lch-color](https://github.com/tsparticles/tsparticles/tree/main/plugins/colors/lchColor) |
| 62 | +- [@tsparticles/plugin-manual-particles](https://github.com/tsparticles/tsparticles/tree/main/plugins/manualParticles) |
34 | 63 | - [@tsparticles/plugin-motion](https://github.com/tsparticles/tsparticles/tree/main/plugins/motion) |
35 | | -- [@tsparticles/plugin-named-color](https://github.com/tsparticles/tsparticles/tree/main/plugins/namedColor) |
| 64 | +- [@tsparticles/plugin-named-color](https://github.com/tsparticles/tsparticles/tree/main/plugins/colors/namedColor) |
| 65 | +- [@tsparticles/plugin-oklab-color](https://github.com/tsparticles/tsparticles/tree/main/plugins/colors/oklabColor) |
| 66 | +- [@tsparticles/plugin-oklch-color](https://github.com/tsparticles/tsparticles/tree/main/plugins/colors/oklchColor) |
| 67 | +- [@tsparticles/plugin-poisson-disc](https://github.com/tsparticles/tsparticles/tree/main/plugins/poissonDisc) |
36 | 68 | - [@tsparticles/plugin-polygon-mask](https://github.com/tsparticles/tsparticles/tree/main/plugins/polygonMask) |
| 69 | +- [@tsparticles/plugin-responsive](https://github.com/tsparticles/tsparticles/tree/main/plugins/responsive) |
37 | 70 | - [@tsparticles/plugin-sounds](https://github.com/tsparticles/tsparticles/tree/main/plugins/sounds) |
| 71 | +- [@tsparticles/plugin-themes](https://github.com/tsparticles/tsparticles/tree/main/plugins/themes) |
| 72 | +- [@tsparticles/plugin-trail](https://github.com/tsparticles/tsparticles/tree/main/plugins/trail) |
| 73 | +- [@tsparticles/plugin-zoom](https://github.com/tsparticles/tsparticles/tree/main/plugins/zoom) |
38 | 74 | - [@tsparticles/shape-arrow](https://github.com/tsparticles/tsparticles/tree/main/shapes/arrow) |
39 | | -- [@tsparticles/shape-bubble](https://github.com/tsparticles/tsparticles/tree/main/shapes/bubble) |
40 | 75 | - [@tsparticles/shape-cards](https://github.com/tsparticles/tsparticles/tree/main/shapes/cards) |
41 | 76 | - [@tsparticles/shape-cog](https://github.com/tsparticles/tsparticles/tree/main/shapes/cog) |
42 | 77 | - [@tsparticles/shape-heart](https://github.com/tsparticles/tsparticles/tree/main/shapes/heart) |
| 78 | +- [@tsparticles/shape-infinity](https://github.com/tsparticles/tsparticles/tree/main/shapes/infinity) |
| 79 | +- [@tsparticles/shape-matrix](https://github.com/tsparticles/tsparticles/tree/main/shapes/matrix) |
43 | 80 | - [@tsparticles/shape-path](https://github.com/tsparticles/tsparticles/tree/main/shapes/path) |
44 | 81 | - [@tsparticles/shape-rounded-polygon](https://github.com/tsparticles/tsparticles/tree/main/shapes/polygon) |
45 | 82 | - [@tsparticles/shape-rounded-rect](https://github.com/tsparticles/tsparticles/tree/main/shapes/rect) |
46 | 83 | - [@tsparticles/shape-spiral](https://github.com/tsparticles/tsparticles/tree/main/shapes/spiral) |
| 84 | +- [@tsparticles/shape-squircle](https://github.com/tsparticles/tsparticles/tree/main/shapes/squircle) |
47 | 85 | - [@tsparticles/updater-gradient](https://github.com/tsparticles/tsparticles/tree/main/updaters/gradient) |
48 | 86 | - [@tsparticles/updater-orbit](https://github.com/tsparticles/tsparticles/tree/main/updaters/orbit) |
49 | 87 |
|
| 88 | +## Dependency Graph |
| 89 | + |
| 90 | +```mermaid |
| 91 | +flowchart TD |
| 92 | +
|
| 93 | +subgraph b [Bundle] |
| 94 | + ba[tsparticles/all] |
| 95 | + bf[tsparticles] |
| 96 | +end |
| 97 | +
|
| 98 | +subgraph c [Core] |
| 99 | + ce[tsparticles/engine] |
| 100 | +end |
| 101 | +
|
| 102 | +subgraph e [Effects] |
| 103 | + eb[tsparticles/effect-bubble] |
| 104 | + ep[tsparticles/effect-particles] |
| 105 | + es[tsparticles/effect-shadow] |
| 106 | + et[tsparticles/effect-trail] |
| 107 | +end |
| 108 | +
|
| 109 | +subgraph i [Interactions] |
| 110 | + iep[tsparticles/interaction-external-particle] |
| 111 | + iepo[tsparticles/interaction-external-pop] |
| 112 | + il[tsparticles/interaction-light] |
| 113 | + ipr[tsparticles/interaction-particles-repulse] |
| 114 | +end |
| 115 | +
|
| 116 | +subgraph pa [Paths] |
| 117 | + pabr[tsparticles/path-branches] |
| 118 | + pabrw[tsparticles/path-brownian] |
| 119 | + pac[tsparticles/path-curl-noise] |
| 120 | + pacu[tsparticles/path-curves] |
| 121 | + paf[tsparticles/path-fractal-noise] |
| 122 | + pag[tsparticles/path-grid] |
| 123 | + pal[tsparticles/path-levy] |
| 124 | + pap[tsparticles/path-perlin-noise] |
| 125 | + papo[tsparticles/path-polygon] |
| 126 | + par[tsparticles/path-random] |
| 127 | + pas[tsparticles/path-simplex-noise] |
| 128 | + pasp[tsparticles/path-spiral] |
| 129 | + pasv[tsparticles/path-svg] |
| 130 | + paz[tsparticles/path-zig-zag] |
| 131 | +end |
| 132 | +
|
| 133 | +subgraph p [Plugins] |
| 134 | + pbm[tsparticles/plugin-background-mask] |
| 135 | + pbl[tsparticles/plugin-blend] |
| 136 | + pcm[tsparticles/plugin-canvas-mask] |
| 137 | + phsv[tsparticles/plugin-hsv-color] |
| 138 | + phwb[tsparticles/plugin-hwb-color] |
| 139 | + plab[tsparticles/plugin-lab-color] |
| 140 | + plch[tsparticles/plugin-lch-color] |
| 141 | + pnamed[tsparticles/plugin-named-color] |
| 142 | + poklab[tsparticles/plugin-oklab-color] |
| 143 | + poklch[tsparticles/plugin-oklch-color] |
| 144 | + peback[tsparticles/plugin-easing-back] |
| 145 | + pebounce[tsparticles/plugin-easing-bounce] |
| 146 | + pecirc[tsparticles/plugin-easing-circ] |
| 147 | + pecubic[tsparticles/plugin-easing-cubic] |
| 148 | + peelastic[tsparticles/plugin-easing-elastic] |
| 149 | + peexpo[tsparticles/plugin-easing-expo] |
| 150 | + pegaussian[tsparticles/plugin-easing-gaussian] |
| 151 | + pelinear[tsparticles/plugin-easing-linear] |
| 152 | + pequart[tsparticles/plugin-easing-quart] |
| 153 | + pequint[tsparticles/plugin-easing-quint] |
| 154 | + pesigmoid[tsparticles/plugin-easing-sigmoid] |
| 155 | + pesine[tsparticles/plugin-easing-sine] |
| 156 | + pesmooth[tsparticles/plugin-easing-smoothstep] |
| 157 | + pesc[tsparticles/plugin-emitters-shape-canvas] |
| 158 | + pesp[tsparticles/plugin-emitters-shape-path] |
| 159 | + pespo[tsparticles/plugin-emitters-shape-polygon] |
| 160 | + pei[tsparticles/plugin-export-image] |
| 161 | + pej[tsparticles/plugin-export-json] |
| 162 | + pev[tsparticles/plugin-export-video] |
| 163 | + pin[tsparticles/plugin-infection] |
| 164 | + pmp[tsparticles/plugin-manual-particles] |
| 165 | + pmo[tsparticles/plugin-motion] |
| 166 | + ppd[tsparticles/plugin-poisson-disc] |
| 167 | + ppm[tsparticles/plugin-polygon-mask] |
| 168 | + pr[tsparticles/plugin-responsive] |
| 169 | + ps[tsparticles/plugin-sounds] |
| 170 | + pt[tsparticles/plugin-themes] |
| 171 | + ptr[tsparticles/plugin-trail] |
| 172 | + pz[tsparticles/plugin-zoom] |
| 173 | +end |
| 174 | +
|
| 175 | +subgraph s [Shapes] |
| 176 | + sar[tsparticles/shape-arrow] |
| 177 | + sca[tsparticles/shape-cards] |
| 178 | + sco[tsparticles/shape-cog] |
| 179 | + sh[tsparticles/shape-heart] |
| 180 | + si[tsparticles/shape-infinity] |
| 181 | + sm[tsparticles/shape-matrix] |
| 182 | + sp[tsparticles/shape-path] |
| 183 | + srp[tsparticles/shape-rounded-polygon] |
| 184 | + srr[tsparticles/shape-rounded-rect] |
| 185 | + ss[tsparticles/shape-spiral] |
| 186 | + ssq[tsparticles/shape-squircle] |
| 187 | +end |
| 188 | +
|
| 189 | +subgraph u [Updaters] |
| 190 | + ug[tsparticles/updater-gradient] |
| 191 | + uo[tsparticles/updater-orbit] |
| 192 | +end |
| 193 | +
|
| 194 | +ba --> bf |
| 195 | +ba --> ce |
| 196 | +ba --> e |
| 197 | +ba --> i |
| 198 | +ba --> pa |
| 199 | +ba --> p |
| 200 | +ba --> s |
| 201 | +ba --> u |
| 202 | +``` |
| 203 | + |
50 | 204 | ## How to use it |
51 | 205 |
|
52 | 206 | ### CDN / Vanilla JS / jQuery |
@@ -192,7 +346,7 @@ let options = { |
192 | 346 | /* custom options */ |
193 | 347 | }; |
194 | 348 |
|
195 | | -let particlesInit = async (engine) => { |
| 349 | +let particlesInit = async engine => { |
196 | 350 | await loadAll(engine); |
197 | 351 | }; |
198 | 352 | ``` |
0 commit comments