Skip to content

Commit 3fe40db

Browse files
authored
Merge pull request tsparticles#5596 from tsparticles/v4
4.0.0-alpha.28
2 parents fc3a4a1 + 6a257c3 commit 3fe40db

File tree

444 files changed

+3764
-2594
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

444 files changed

+3764
-2594
lines changed

.github/workflows/nodejs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
with:
3333
node-version: "24"
3434

35-
- uses: pnpm/action-setup@v4.2.0
35+
- uses: pnpm/action-setup@v4.4.0
3636
with:
3737
run_install: false
3838

.github/workflows/npm-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
node-version: '24'
3434
registry-url: https://registry.npmjs.org
3535

36-
- uses: pnpm/action-setup@v4.2.0
36+
- uses: pnpm/action-setup@v4.4.0
3737
name: Install pnpm
3838
with:
3939
run_install: false

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,17 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
# [4.0.0-alpha.28](https://github.com/tsparticles/tsparticles/compare/v4.0.0-alpha.27...v4.0.0-alpha.28) (2026-03-15)
7+
8+
### Bug Fixes
9+
10+
- squircle fix ([ed45b4d](https://github.com/tsparticles/tsparticles/commit/ed45b4d134d7e6ab23caaec5e9bce2e2f2f2774b))
11+
- squircle fix ([e1e79b0](https://github.com/tsparticles/tsparticles/commit/e1e79b01b4b1570fd745c6fd1bfdc11b35a01095))
12+
13+
### Features
14+
15+
- made squircle shape configurable ([58480b8](https://github.com/tsparticles/tsparticles/commit/58480b8ddc6ca947ae8c077840990df6aa205d0e))
16+
617
# [4.0.0-alpha.27](https://github.com/tsparticles/tsparticles/compare/v4.0.0-alpha.26...v4.0.0-alpha.27) (2026-03-09)
718

819
### Bug Fixes

README.md

Lines changed: 44 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -697,8 +697,14 @@ flowchart TD
697697
698698
subgraph bundle-basic [tsParticles Basic]
699699
700-
subgraph basic-movers [Movers]
701-
move-base[Base]
700+
subgraph basic-plugins [Plugins]
701+
plugin-move[Move]
702+
703+
subgraph basic-plugins-colors [Colors]
704+
plugin-hex-color[Hex Color]
705+
plugin-hsl-color[HSL Color]
706+
plugin-rgb-color[RGB Color]
707+
end
702708
end
703709
704710
subgraph basic-shapes [Shapes]
@@ -772,6 +778,7 @@ flowchart TD
772778
end
773779
774780
subgraph slim-plugins [Plugins]
781+
plugin-interactivity[Interactivity]
775782
776783
subgraph slim-plugins-easings [Easings]
777784
plugin-easing-quad[Quad]
@@ -863,10 +870,10 @@ flowchart TD
863870
864871
subgraph bundle-all [tsParticles All]
865872
866-
bundle-pjs[tsParticles Particles.js Compatibility]
867-
868873
subgraph all-effects [Effects]
869874
effect-bubble[Bubble]
875+
effect-particles[Particles]
876+
effect-shadow[Shadow]
870877
effect-trail[Trail]
871878
end
872879
@@ -884,26 +891,51 @@ flowchart TD
884891
end
885892
886893
subgraph all-paths [Paths]
894+
path-branches[Branches]
895+
path-brownian[Brownian]
887896
path-curl-noise[Curl Noise]
888897
path-curves[Curves]
898+
path-fractal-noise[Fractal Noise]
899+
path-grid[Grid]
900+
path-levy[Levy]
889901
path-perlin-noise[Perlin Noise]
890902
path-polygon[Polygon]
903+
path-random[Random]
891904
path-simplex-noise[Simplex Noise]
905+
path-spiral[Spiral]
892906
path-svg[SVG]
907+
path-zig-zag[Zig Zag]
893908
end
894909
895910
subgraph all-plugins [Plugins]
911+
plugin-background-mask[Background Mask]
912+
plugin-blend[Blend]
896913
plugin-canvas-mask[Canvas Mask]
897914
915+
subgraph all-plugins-colors [Colors]
916+
plugin-hsv-color[HSV Color]
917+
plugin-hwb-color[HWB Color]
918+
plugin-lab-color[Lab Color]
919+
plugin-lch-color[Lch Color]
920+
plugin-named-color[Named Color]
921+
plugin-oklab-color[Oklab Color]
922+
plugin-oklch-color[Oklch Color]
923+
end
924+
898925
subgraph all-plugins-easings [Easings]
899926
plugin-easing-back[Back]
927+
plugin-easing-bounce[Bounce]
900928
plugin-easing-circ[Circ]
901929
plugin-easing-cubic[Cubic]
930+
plugin-easing-elastic[Elastic]
902931
plugin-easing-expo[Expo]
932+
plugin-easing-gaussian[Gaussian]
903933
plugin-easing-linear[Linear]
904934
plugin-easing-quart[Quart]
905935
plugin-easing-quint[Quint]
936+
plugin-easing-sigmoid[Sigmoid]
906937
plugin-easing-sine[Sine]
938+
plugin-easing-smoothstep[Smoothstep]
907939
end
908940
909941
subgraph all-plugin-emitters-shapes [Emitters Shapes]
@@ -918,23 +950,30 @@ flowchart TD
918950
plugin-export-video[Video]
919951
end
920952
921-
plugin-hsv-color[HSV Color]
922953
plugin-infection[Infection]
954+
plugin-manual-particles[Manual Particles]
923955
plugin-motion[Motion]
924956
plugin-poisson-disc[Poisson Disc]
925957
plugin-polygon-mask[Polygon Mask]
958+
plugin-responsive[Responsive]
926959
plugin-sounds[Sounds]
960+
plugin-themes[Themes]
961+
plugin-trail[Trail]
962+
plugin-zoom[Zoom]
927963
end
928964
929965
subgraph all-shapes [Shapes]
930966
shape-arrow[Arrow]
931967
shape-cards[Cards]
932968
shape-cog[Cog]
933969
shape-heart[Heart]
970+
shape-infinity[Infinity]
971+
shape-matrix[Matrix]
934972
shape-path[Path]
935973
shape-rounded-polygon[Rounded Polygon]
936974
shape-rounded-rect[Rounded Rect]
937975
shape-spiral[Spiral]
976+
shape-squircle[Squircle]
938977
end
939978
940979
subgraph all-updaters [Updaters]

bundles/all/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
# [4.0.0-alpha.28](https://github.com/tsparticles/tsparticles/compare/v4.0.0-alpha.27...v4.0.0-alpha.28) (2026-03-15)
7+
8+
**Note:** Version bump only for package @tsparticles/all
9+
610
# [4.0.0-alpha.27](https://github.com/tsparticles/tsparticles/compare/v4.0.0-alpha.26...v4.0.0-alpha.27) (2026-03-09)
711

812
### Features

bundles/all/README.md

Lines changed: 158 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,44 +9,198 @@
99
**Included Packages**
1010

1111
- [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)
1217
- [@tsparticles/interaction-external-particle](https://github.com/tsparticles/tsparticles/tree/main/interactions/external/particle)
1318
- [@tsparticles/interaction-external-pop](https://github.com/tsparticles/tsparticles/tree/main/interactions/external/pop)
1419
- [@tsparticles/interaction-light](https://github.com/tsparticles/tsparticles/tree/main/interactions/light)
1520
- [@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)
1624
- [@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)
1728
- [@tsparticles/path-perlin-noise](https://github.com/tsparticles/tsparticles/tree/main/paths/perlinNoise)
1829
- [@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)
1931
- [@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)
2033
- [@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)
2137
- [@tsparticles/plugin-canvas-mask](https://github.com/tsparticles/tsparticles/tree/main/plugins/canvasMask)
2238
- [@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)
2340
- [@tsparticles/plugin-easing-circ](https://github.com/tsparticles/tsparticles/tree/main/plugins/easings/circ)
2441
- [@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)
2543
- [@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)
2646
- [@tsparticles/plugin-easing-quart](https://github.com/tsparticles/tsparticles/tree/main/plugins/easings/quart)
2747
- [@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)
2849
- [@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)
2954
- [@tsparticles/plugin-export-image](https://github.com/tsparticles/tsparticles/tree/main/plugins/exports/image)
3055
- [@tsparticles/plugin-export-json](https://github.com/tsparticles/tsparticles/tree/main/plugins/exports/json)
3156
- [@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)
3359
- [@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)
3463
- [@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)
3668
- [@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)
3770
- [@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)
3874
- [@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)
4075
- [@tsparticles/shape-cards](https://github.com/tsparticles/tsparticles/tree/main/shapes/cards)
4176
- [@tsparticles/shape-cog](https://github.com/tsparticles/tsparticles/tree/main/shapes/cog)
4277
- [@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)
4380
- [@tsparticles/shape-path](https://github.com/tsparticles/tsparticles/tree/main/shapes/path)
4481
- [@tsparticles/shape-rounded-polygon](https://github.com/tsparticles/tsparticles/tree/main/shapes/polygon)
4582
- [@tsparticles/shape-rounded-rect](https://github.com/tsparticles/tsparticles/tree/main/shapes/rect)
4683
- [@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)
4785
- [@tsparticles/updater-gradient](https://github.com/tsparticles/tsparticles/tree/main/updaters/gradient)
4886
- [@tsparticles/updater-orbit](https://github.com/tsparticles/tsparticles/tree/main/updaters/orbit)
4987

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+
50204
## How to use it
51205

52206
### CDN / Vanilla JS / jQuery
@@ -192,7 +346,7 @@ let options = {
192346
/* custom options */
193347
};
194348

195-
let particlesInit = async (engine) => {
349+
let particlesInit = async engine => {
196350
await loadAll(engine);
197351
};
198352
```

0 commit comments

Comments
 (0)