@tsparticles/configs 3.0.0-beta.3 → 3.0.0-beta.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (185) hide show
  1. package/browser/c/connect.js +3 -1
  2. package/browser/c/curlNoise.js +49 -0
  3. package/browser/c/index.js +2 -0
  4. package/browser/d/dataImages.js +0 -1
  5. package/browser/{s/shapeBubble.js → e/effectBubble.js} +5 -2
  6. package/browser/e/effectTrail.js +53 -0
  7. package/browser/e/emitterImageShape.js +95 -0
  8. package/browser/e/emitterImages.js +0 -1
  9. package/browser/e/emitterShapes.js +56 -70
  10. package/browser/e/emitterTextShape.js +100 -0
  11. package/browser/e/emitterTextStrokeShape.js +100 -0
  12. package/browser/e/index.js +10 -0
  13. package/browser/f/fontawesome.js +0 -1
  14. package/browser/g/gifs.js +1 -1
  15. package/browser/h/hollowknight.js +0 -1
  16. package/browser/i/images.js +0 -1
  17. package/browser/l/localPolygonMask.js +0 -1
  18. package/browser/m/index.js +2 -0
  19. package/browser/m/mouseTrailNoise.js +118 -0
  20. package/browser/m/multiplePolygonMasks.js +0 -1
  21. package/browser/o/orbit.js +1 -1
  22. package/browser/p/index.js +2 -0
  23. package/browser/p/pathPolygonMask.js +0 -1
  24. package/browser/p/pathSvg.js +0 -1
  25. package/browser/p/polygonMask.js +0 -1
  26. package/browser/p/pop.js +67 -0
  27. package/browser/r/random.js +1 -1
  28. package/browser/r/reactBubbles.js +0 -1
  29. package/browser/r/reactNightSky.js +0 -1
  30. package/browser/r/reactPolygonMask.js +0 -1
  31. package/browser/r/reactSimple.js +0 -1
  32. package/browser/r/reactSnow.js +0 -1
  33. package/browser/r/ring.js +1 -1
  34. package/browser/s/index.js +0 -2
  35. package/browser/s/shapeMultilineText.js +2 -2
  36. package/browser/s/style.js +1 -1
  37. package/browser/s/svgReplace.js +0 -1
  38. package/browser/t/tilt.js +1 -1
  39. package/browser/t/trail.js +1 -1
  40. package/browser/t/trailImage.js +1 -1
  41. package/browser/w/wobble.js +1 -1
  42. package/cjs/c/connect.js +3 -1
  43. package/cjs/c/curlNoise.js +51 -0
  44. package/cjs/c/index.js +2 -0
  45. package/cjs/d/dataImages.js +0 -1
  46. package/cjs/{s/shapeBubble.js → e/effectBubble.js} +5 -2
  47. package/cjs/e/effectTrail.js +55 -0
  48. package/cjs/e/emitterImageShape.js +97 -0
  49. package/cjs/e/emitterImages.js +0 -1
  50. package/cjs/e/emitterShapes.js +56 -70
  51. package/cjs/e/emitterTextShape.js +102 -0
  52. package/cjs/e/emitterTextStrokeShape.js +102 -0
  53. package/cjs/e/index.js +10 -0
  54. package/cjs/f/fontawesome.js +0 -1
  55. package/cjs/g/gifs.js +1 -1
  56. package/cjs/h/hollowknight.js +0 -1
  57. package/cjs/i/images.js +0 -1
  58. package/cjs/l/localPolygonMask.js +0 -1
  59. package/cjs/m/index.js +2 -0
  60. package/cjs/m/mouseTrailNoise.js +120 -0
  61. package/cjs/m/multiplePolygonMasks.js +0 -1
  62. package/cjs/o/orbit.js +1 -1
  63. package/cjs/p/index.js +2 -0
  64. package/cjs/p/pathPolygonMask.js +0 -1
  65. package/cjs/p/pathSvg.js +0 -1
  66. package/cjs/p/polygonMask.js +0 -1
  67. package/cjs/p/pop.js +69 -0
  68. package/cjs/r/random.js +1 -1
  69. package/cjs/r/reactBubbles.js +0 -1
  70. package/cjs/r/reactNightSky.js +0 -1
  71. package/cjs/r/reactPolygonMask.js +0 -1
  72. package/cjs/r/reactSimple.js +0 -1
  73. package/cjs/r/reactSnow.js +0 -1
  74. package/cjs/r/ring.js +1 -1
  75. package/cjs/s/index.js +0 -2
  76. package/cjs/s/shapeMultilineText.js +2 -2
  77. package/cjs/s/style.js +1 -1
  78. package/cjs/s/svgReplace.js +0 -1
  79. package/cjs/t/tilt.js +1 -1
  80. package/cjs/t/trail.js +1 -1
  81. package/cjs/t/trailImage.js +1 -1
  82. package/cjs/w/wobble.js +1 -1
  83. package/esm/c/connect.js +3 -1
  84. package/esm/c/curlNoise.js +49 -0
  85. package/esm/c/index.js +2 -0
  86. package/esm/d/dataImages.js +0 -1
  87. package/esm/{s/shapeBubble.js → e/effectBubble.js} +5 -2
  88. package/esm/e/effectTrail.js +53 -0
  89. package/esm/e/emitterImageShape.js +95 -0
  90. package/esm/e/emitterImages.js +0 -1
  91. package/esm/e/emitterShapes.js +56 -70
  92. package/esm/e/emitterTextShape.js +100 -0
  93. package/esm/e/emitterTextStrokeShape.js +100 -0
  94. package/esm/e/index.js +10 -0
  95. package/esm/f/fontawesome.js +0 -1
  96. package/esm/g/gifs.js +1 -1
  97. package/esm/h/hollowknight.js +0 -1
  98. package/esm/i/images.js +0 -1
  99. package/esm/l/localPolygonMask.js +0 -1
  100. package/esm/m/index.js +2 -0
  101. package/esm/m/mouseTrailNoise.js +118 -0
  102. package/esm/m/multiplePolygonMasks.js +0 -1
  103. package/esm/o/orbit.js +1 -1
  104. package/esm/p/index.js +2 -0
  105. package/esm/p/pathPolygonMask.js +0 -1
  106. package/esm/p/pathSvg.js +0 -1
  107. package/esm/p/polygonMask.js +0 -1
  108. package/esm/p/pop.js +67 -0
  109. package/esm/r/random.js +1 -1
  110. package/esm/r/reactBubbles.js +0 -1
  111. package/esm/r/reactNightSky.js +0 -1
  112. package/esm/r/reactPolygonMask.js +0 -1
  113. package/esm/r/reactSimple.js +0 -1
  114. package/esm/r/reactSnow.js +0 -1
  115. package/esm/r/ring.js +1 -1
  116. package/esm/s/index.js +0 -2
  117. package/esm/s/shapeMultilineText.js +2 -2
  118. package/esm/s/style.js +1 -1
  119. package/esm/s/svgReplace.js +0 -1
  120. package/esm/t/tilt.js +1 -1
  121. package/esm/t/trail.js +1 -1
  122. package/esm/t/trailImage.js +1 -1
  123. package/esm/w/wobble.js +1 -1
  124. package/package.json +2 -2
  125. package/report.html +4 -22
  126. package/tsparticles.configs.bundle.js +1 -1
  127. package/tsparticles.configs.bundle.min.js.LICENSE.txt +1 -1
  128. package/tsparticles.configs.js +762 -159
  129. package/tsparticles.configs.min.js +1 -1
  130. package/tsparticles.configs.min.js.LICENSE.txt +1 -1
  131. package/types/c/index.d.ts +1 -0
  132. package/types/e/effectBubble.d.ts +3 -0
  133. package/types/e/effectTrail.d.ts +3 -0
  134. package/types/e/emitterImageShape.d.ts +3 -0
  135. package/types/e/emitterTextShape.d.ts +3 -0
  136. package/types/e/emitterTextStrokeShape.d.ts +3 -0
  137. package/types/e/index.d.ts +5 -0
  138. package/types/index.d.ts +8 -1
  139. package/types/m/index.d.ts +1 -0
  140. package/types/m/mouseTrailNoise.d.ts +3 -0
  141. package/types/p/index.d.ts +1 -0
  142. package/types/p/pop.d.ts +3 -0
  143. package/types/s/index.d.ts +0 -1
  144. package/umd/c/connect.js +3 -1
  145. package/umd/c/curlNoise.js +61 -0
  146. package/umd/c/index.js +3 -1
  147. package/umd/d/dataImages.js +0 -1
  148. package/umd/{s/shapeBubble.js → e/effectBubble.js} +5 -2
  149. package/umd/e/effectTrail.js +65 -0
  150. package/umd/e/emitterImageShape.js +107 -0
  151. package/umd/e/emitterImages.js +0 -1
  152. package/umd/e/emitterShapes.js +56 -70
  153. package/umd/e/emitterTextShape.js +112 -0
  154. package/umd/e/emitterTextStrokeShape.js +112 -0
  155. package/umd/e/index.js +11 -1
  156. package/umd/f/fontawesome.js +0 -1
  157. package/umd/g/gifs.js +1 -1
  158. package/umd/h/hollowknight.js +0 -1
  159. package/umd/i/images.js +0 -1
  160. package/umd/l/localPolygonMask.js +0 -1
  161. package/umd/m/index.js +3 -1
  162. package/umd/m/mouseTrailNoise.js +130 -0
  163. package/umd/m/multiplePolygonMasks.js +0 -1
  164. package/umd/o/orbit.js +1 -1
  165. package/umd/p/index.js +3 -1
  166. package/umd/p/pathPolygonMask.js +0 -1
  167. package/umd/p/pathSvg.js +0 -1
  168. package/umd/p/polygonMask.js +0 -1
  169. package/umd/p/pop.js +79 -0
  170. package/umd/r/random.js +1 -1
  171. package/umd/r/reactBubbles.js +0 -1
  172. package/umd/r/reactNightSky.js +0 -1
  173. package/umd/r/reactPolygonMask.js +0 -1
  174. package/umd/r/reactSimple.js +0 -1
  175. package/umd/r/reactSnow.js +0 -1
  176. package/umd/r/ring.js +1 -1
  177. package/umd/s/index.js +1 -3
  178. package/umd/s/shapeMultilineText.js +2 -2
  179. package/umd/s/style.js +1 -1
  180. package/umd/s/svgReplace.js +0 -1
  181. package/umd/t/tilt.js +1 -1
  182. package/umd/t/trail.js +1 -1
  183. package/umd/t/trailImage.js +1 -1
  184. package/umd/w/wobble.js +1 -1
  185. /package/types/{s/shapeBubble.d.ts → c/curlNoise.d.ts} +0 -0
@@ -4,7 +4,7 @@
4
4
  * Demo / Generator : https://particles.js.org/
5
5
  * GitHub : https://www.github.com/matteobruni/tsparticles
6
6
  * How to use? : Check the GitHub README
7
- * v3.0.0-beta.3
7
+ * v3.0.0-beta.4
8
8
  */
9
9
  (function webpackUniversalModuleDefinition(root, factory) {
10
10
  if(typeof exports === 'object' && typeof module === 'object')
@@ -1325,7 +1325,9 @@ const connect_options = {
1325
1325
  density: {
1326
1326
  enable: true
1327
1327
  },
1328
- limit: 500,
1328
+ limit: {
1329
+ value: 500
1330
+ },
1329
1331
  value: 300
1330
1332
  },
1331
1333
  opacity: {
@@ -1367,6 +1369,56 @@ const connect_options = {
1367
1369
  }
1368
1370
  };
1369
1371
  /* harmony default export */ const connect = (connect_options);
1372
+ ;// CONCATENATED MODULE: ./dist/browser/c/curlNoise.js
1373
+ const curlNoise_options = {
1374
+ name: "Curl Noise",
1375
+ particles: {
1376
+ number: {
1377
+ value: 300
1378
+ },
1379
+ color: {
1380
+ value: "#ff0000",
1381
+ animation: {
1382
+ enable: true,
1383
+ speed: 360,
1384
+ sync: true
1385
+ }
1386
+ },
1387
+ shape: {
1388
+ type: "circle"
1389
+ },
1390
+ size: {
1391
+ value: 3
1392
+ },
1393
+ move: {
1394
+ path: {
1395
+ clamp: false,
1396
+ enable: true,
1397
+ options: {
1398
+ step: 250,
1399
+ speed: 1
1400
+ },
1401
+ delay: {
1402
+ value: 0
1403
+ },
1404
+ generator: "curlNoise"
1405
+ },
1406
+ enable: true,
1407
+ speed: 3,
1408
+ trail: {
1409
+ fill: {
1410
+ color: "#000"
1411
+ },
1412
+ enable: true,
1413
+ length: 1000
1414
+ }
1415
+ }
1416
+ },
1417
+ background: {
1418
+ color: "#000000"
1419
+ }
1420
+ };
1421
+ /* harmony default export */ const curlNoise = (curlNoise_options);
1370
1422
  ;// CONCATENATED MODULE: ./dist/browser/c/index.js
1371
1423
 
1372
1424
 
@@ -1376,6 +1428,7 @@ const connect_options = {
1376
1428
 
1377
1429
 
1378
1430
 
1431
+
1379
1432
  /* harmony default export */ const c = ({
1380
1433
  cards: cards,
1381
1434
  chars: chars,
@@ -1384,7 +1437,8 @@ const connect_options = {
1384
1437
  collisionsBounce: collisionsBounce,
1385
1438
  collisionsDestroy: collisionsDestroy,
1386
1439
  colorAnimation: colorAnimation,
1387
- connect: connect
1440
+ connect: connect,
1441
+ curlNoise: curlNoise
1388
1442
  });
1389
1443
  ;// CONCATENATED MODULE: ./dist/browser/d/dataImages.js
1390
1444
  const dataImages_options = {
@@ -1450,7 +1504,6 @@ const dataImages_options = {
1450
1504
  density: {
1451
1505
  enable: true
1452
1506
  },
1453
- limit: 0,
1454
1507
  value: 80
1455
1508
  },
1456
1509
  opacity: {
@@ -2025,6 +2078,138 @@ const divEvents_options = {
2025
2078
  disappearing: disappearing,
2026
2079
  divEvents: divEvents
2027
2080
  });
2081
+ ;// CONCATENATED MODULE: ./dist/browser/e/effectBubble.js
2082
+ const effectBubble_options = {
2083
+ name: "Effect Bubble",
2084
+ particles: {
2085
+ number: {
2086
+ value: 80,
2087
+ density: {
2088
+ enable: true
2089
+ }
2090
+ },
2091
+ color: {
2092
+ value: "#ff0000",
2093
+ animation: {
2094
+ enable: true,
2095
+ speed: 20,
2096
+ sync: true
2097
+ }
2098
+ },
2099
+ effect: {
2100
+ type: "bubble"
2101
+ },
2102
+ shape: {
2103
+ type: ["circle", "square"]
2104
+ },
2105
+ opacity: {
2106
+ value: 0.5
2107
+ },
2108
+ size: {
2109
+ value: {
2110
+ min: 5,
2111
+ max: 50
2112
+ }
2113
+ },
2114
+ move: {
2115
+ enable: true,
2116
+ speed: 6
2117
+ }
2118
+ },
2119
+ interactivity: {
2120
+ events: {
2121
+ onHover: {
2122
+ enable: true,
2123
+ mode: "repulse"
2124
+ },
2125
+ onClick: {
2126
+ enable: true,
2127
+ mode: "push"
2128
+ }
2129
+ },
2130
+ modes: {
2131
+ grab: {
2132
+ distance: 400,
2133
+ links: {
2134
+ opacity: 1
2135
+ }
2136
+ },
2137
+ bubble: {
2138
+ distance: 400,
2139
+ size: 40,
2140
+ duration: 2,
2141
+ opacity: 0.8
2142
+ },
2143
+ repulse: {
2144
+ distance: 200
2145
+ },
2146
+ push: {
2147
+ quantity: 4
2148
+ },
2149
+ remove: {
2150
+ quantity: 2
2151
+ }
2152
+ }
2153
+ },
2154
+ background: {
2155
+ color: "#000000"
2156
+ }
2157
+ };
2158
+ /* harmony default export */ const effectBubble = (effectBubble_options);
2159
+ ;// CONCATENATED MODULE: ./dist/browser/e/effectTrail.js
2160
+ const effectTrail_options = {
2161
+ name: "Effect Trail",
2162
+ particles: {
2163
+ number: {
2164
+ value: 80,
2165
+ density: {
2166
+ enable: true
2167
+ }
2168
+ },
2169
+ color: {
2170
+ value: "#ff0000",
2171
+ animation: {
2172
+ enable: true,
2173
+ speed: 360,
2174
+ sync: true
2175
+ }
2176
+ },
2177
+ effect: {
2178
+ type: "trail",
2179
+ options: {
2180
+ trail: {
2181
+ length: {
2182
+ min: 10,
2183
+ max: 30
2184
+ }
2185
+ }
2186
+ }
2187
+ },
2188
+ shape: {
2189
+ type: "circle"
2190
+ },
2191
+ size: {
2192
+ value: 10
2193
+ },
2194
+ move: {
2195
+ path: {
2196
+ enable: true,
2197
+ options: {
2198
+ size: 32,
2199
+ draw: false,
2200
+ increment: 0.004
2201
+ },
2202
+ generator: "simplexNoise"
2203
+ },
2204
+ enable: true,
2205
+ speed: 6
2206
+ }
2207
+ },
2208
+ background: {
2209
+ color: "#000000"
2210
+ }
2211
+ };
2212
+ /* harmony default export */ const effectTrail = (effectTrail_options);
2028
2213
  ;// CONCATENATED MODULE: ./dist/browser/e/emitter.js
2029
2214
  const emitter_options = {
2030
2215
  name: "Emitter",
@@ -2463,6 +2648,89 @@ const emitterAngled_options = {
2463
2648
  }]
2464
2649
  };
2465
2650
  /* harmony default export */ const emitterAngled = (emitterAngled_options);
2651
+ ;// CONCATENATED MODULE: ./dist/browser/e/emitterImageShape.js
2652
+ const rate = {
2653
+ delay: 0.1,
2654
+ quantity: 100
2655
+ };
2656
+ const generateEmitter = (shape, options, fill, position) => {
2657
+ return {
2658
+ shape: {
2659
+ replace: {
2660
+ color: true,
2661
+ opacity: true
2662
+ },
2663
+ type: shape,
2664
+ options
2665
+ },
2666
+ position: position,
2667
+ size: {
2668
+ width: 500,
2669
+ height: 500,
2670
+ mode: "precise"
2671
+ },
2672
+ startCount: 300,
2673
+ rate,
2674
+ fill
2675
+ };
2676
+ };
2677
+ const emitterImageShape_options = {
2678
+ name: "Emitter Image Shape",
2679
+ particles: {
2680
+ number: {
2681
+ value: 0
2682
+ },
2683
+ color: {
2684
+ value: ["#f44336", "#e91e63", "#9c27b0", "#673ab7", "#3f51b5", "#2196f3", "#03a9f4", "#00bcd4", "#009688", "#4CAF50", "#8BC34A", "#CDDC39", "#FFEB3B", "#FFC107", "#FF9800", "#FF5722"]
2685
+ },
2686
+ life: {
2687
+ count: 1,
2688
+ duration: {
2689
+ value: 1.5
2690
+ }
2691
+ },
2692
+ move: {
2693
+ enable: true,
2694
+ speed: 0.5
2695
+ },
2696
+ shape: {
2697
+ type: "circle"
2698
+ },
2699
+ opacity: {
2700
+ value: 1
2701
+ },
2702
+ size: {
2703
+ value: {
2704
+ min: 1,
2705
+ max: 10
2706
+ },
2707
+ animation: {
2708
+ enable: true,
2709
+ speed: 30,
2710
+ sync: true,
2711
+ startValue: "min",
2712
+ count: 2
2713
+ }
2714
+ }
2715
+ },
2716
+ background: {
2717
+ color: "#fff"
2718
+ },
2719
+ emitters: [generateEmitter("canvas", {
2720
+ scale: 5,
2721
+ pixels: {
2722
+ filter: "pixelFilter",
2723
+ offset: 4
2724
+ },
2725
+ image: {
2726
+ src: "https://particles.js.org/images/amongus_cyan.png"
2727
+ }
2728
+ }, true, {
2729
+ x: 50,
2730
+ y: 50
2731
+ })]
2732
+ };
2733
+ /* harmony default export */ const emitterImageShape = (emitterImageShape_options);
2466
2734
  ;// CONCATENATED MODULE: ./dist/browser/e/emitterImages.js
2467
2735
  const emitterImages_options = {
2468
2736
  name: "Emitter Images",
@@ -2476,7 +2744,6 @@ const emitterImages_options = {
2476
2744
  density: {
2477
2745
  enable: true
2478
2746
  },
2479
- limit: 0,
2480
2747
  value: 80
2481
2748
  },
2482
2749
  opacity: {
@@ -2669,6 +2936,68 @@ const emitterPaths_options = {
2669
2936
  };
2670
2937
  /* harmony default export */ const emitterPaths = (emitterPaths_options);
2671
2938
  ;// CONCATENATED MODULE: ./dist/browser/e/emitterShapes.js
2939
+ const emitterShapes_rate = {
2940
+ delay: 0.1,
2941
+ quantity: 3
2942
+ };
2943
+ const emitterShapes_generateEmitter = (shape, options, fill, position) => {
2944
+ return {
2945
+ shape: {
2946
+ type: shape,
2947
+ options
2948
+ },
2949
+ position: position,
2950
+ size: {
2951
+ width: 200,
2952
+ height: 200,
2953
+ mode: "precise"
2954
+ },
2955
+ life: {
2956
+ duration: 10,
2957
+ delay: 0.5,
2958
+ count: 1
2959
+ },
2960
+ rate: emitterShapes_rate,
2961
+ fill
2962
+ };
2963
+ };
2964
+ const path = [{
2965
+ x: 0,
2966
+ y: 0
2967
+ }, {
2968
+ x: 0,
2969
+ y: 50
2970
+ }, {
2971
+ x: 25,
2972
+ y: 50
2973
+ }, {
2974
+ x: 0,
2975
+ y: 100
2976
+ }, {
2977
+ x: 50,
2978
+ y: 100
2979
+ }, {
2980
+ x: 50,
2981
+ y: 75
2982
+ }, {
2983
+ x: 100,
2984
+ y: 100
2985
+ }, {
2986
+ x: 100,
2987
+ y: 50
2988
+ }, {
2989
+ x: 75,
2990
+ y: 50
2991
+ }, {
2992
+ x: 100,
2993
+ y: 0
2994
+ }, {
2995
+ x: 50,
2996
+ y: 0
2997
+ }, {
2998
+ x: 50,
2999
+ y: 25
3000
+ }];
2672
3001
  const emitterShapes_options = {
2673
3002
  name: "Emitter Shapes",
2674
3003
  particles: {
@@ -2691,75 +3020,218 @@ const emitterShapes_options = {
2691
3020
  background: {
2692
3021
  color: "#fff"
2693
3022
  },
2694
- emitters: [{
2695
- shape: "square",
2696
- position: {
2697
- x: 33,
2698
- y: 33
3023
+ emitters: [emitterShapes_generateEmitter("square", {}, true, {
3024
+ x: 25,
3025
+ y: 25
3026
+ }), emitterShapes_generateEmitter("circle", {}, true, {
3027
+ x: 50,
3028
+ y: 25
3029
+ }), emitterShapes_generateEmitter("polygon", {
3030
+ angle: -18,
3031
+ sides: 5
3032
+ }, true, {
3033
+ x: 75,
3034
+ y: 25
3035
+ }), emitterShapes_generateEmitter("square", {}, false, {
3036
+ x: 25,
3037
+ y: 50
3038
+ }), emitterShapes_generateEmitter("circle", {}, false, {
3039
+ x: 50,
3040
+ y: 50
3041
+ }), emitterShapes_generateEmitter("polygon", {
3042
+ sides: 6
3043
+ }, false, {
3044
+ x: 75,
3045
+ y: 50
3046
+ }), emitterShapes_generateEmitter("path", {
3047
+ points: path
3048
+ }, true, {
3049
+ x: 25,
3050
+ y: 75
3051
+ }), emitterShapes_generateEmitter("path", {
3052
+ points: path
3053
+ }, false, {
3054
+ x: 50,
3055
+ y: 75
3056
+ })]
3057
+ };
3058
+ /* harmony default export */ const emitterShapes = (emitterShapes_options);
3059
+ ;// CONCATENATED MODULE: ./dist/browser/e/emitterTextShape.js
3060
+ const emitterTextShape_rate = {
3061
+ delay: 0.1,
3062
+ quantity: 100
3063
+ };
3064
+ const emitterTextShape_generateEmitter = (shape, options, fill, position) => {
3065
+ return {
3066
+ shape: {
3067
+ type: shape,
3068
+ options
2699
3069
  },
3070
+ position: position,
2700
3071
  size: {
2701
- width: 200,
2702
- height: 200,
3072
+ width: 500,
3073
+ height: 500,
2703
3074
  mode: "precise"
2704
3075
  },
3076
+ startCount: 300,
3077
+ rate: emitterTextShape_rate,
3078
+ fill
3079
+ };
3080
+ };
3081
+ const emitterTextShape_options = {
3082
+ name: "Emitter Text Shape",
3083
+ particles: {
3084
+ number: {
3085
+ value: 0
3086
+ },
3087
+ color: {
3088
+ value: ["#f44336", "#e91e63", "#9c27b0", "#673ab7", "#3f51b5", "#2196f3", "#03a9f4", "#00bcd4", "#009688", "#4CAF50", "#8BC34A", "#CDDC39", "#FFEB3B", "#FFC107", "#FF9800", "#FF5722"]
3089
+ },
2705
3090
  life: {
2706
- duration: 10,
2707
- delay: 0.5,
2708
- count: 1
2709
- }
2710
- }, {
2711
- shape: "circle",
2712
- position: {
2713
- x: 67,
2714
- y: 33
3091
+ count: 1,
3092
+ duration: {
3093
+ value: 1.5
3094
+ }
3095
+ },
3096
+ move: {
3097
+ enable: true,
3098
+ speed: 0.5
3099
+ },
3100
+ shape: {
3101
+ type: "circle"
3102
+ },
3103
+ opacity: {
3104
+ value: 1
2715
3105
  },
2716
3106
  size: {
2717
- width: 200,
2718
- height: 200,
2719
- mode: "precise"
3107
+ value: {
3108
+ min: 1,
3109
+ max: 10
3110
+ },
3111
+ animation: {
3112
+ enable: true,
3113
+ speed: 30,
3114
+ sync: true,
3115
+ startValue: "min",
3116
+ count: 2
3117
+ }
3118
+ }
3119
+ },
3120
+ background: {
3121
+ color: "#fff"
3122
+ },
3123
+ emitters: [emitterTextShape_generateEmitter("canvas", {
3124
+ scale: 1,
3125
+ pixels: {
3126
+ filter: "pixelTextFilter",
3127
+ offset: 4
2720
3128
  },
2721
- life: {
2722
- duration: 10,
2723
- delay: 0.5,
2724
- count: 1
3129
+ text: {
3130
+ color: "#ff0000",
3131
+ font: {
3132
+ size: 500,
3133
+ family: "Verdana"
3134
+ },
3135
+ text: "Particles",
3136
+ lines: {
3137
+ separator: "\n",
3138
+ spacing: 10
3139
+ }
2725
3140
  }
2726
- }, {
2727
- fill: false,
2728
- shape: "square",
2729
- position: {
2730
- x: 33,
2731
- y: 67
3141
+ }, true, {
3142
+ x: 50,
3143
+ y: 50
3144
+ })]
3145
+ };
3146
+ /* harmony default export */ const emitterTextShape = (emitterTextShape_options);
3147
+ ;// CONCATENATED MODULE: ./dist/browser/e/emitterTextStrokeShape.js
3148
+ const emitterTextStrokeShape_rate = {
3149
+ delay: 0.1,
3150
+ quantity: 100
3151
+ };
3152
+ const emitterTextStrokeShape_generateEmitter = (shape, options, fill, position) => {
3153
+ return {
3154
+ shape: {
3155
+ type: shape,
3156
+ options
2732
3157
  },
3158
+ position: position,
2733
3159
  size: {
2734
- width: 200,
2735
- height: 200,
3160
+ width: 500,
3161
+ height: 500,
2736
3162
  mode: "precise"
2737
3163
  },
3164
+ startCount: 300,
3165
+ rate: emitterTextStrokeShape_rate,
3166
+ fill
3167
+ };
3168
+ };
3169
+ const emitterTextStrokeShape_options = {
3170
+ name: "Emitter Text Stroke Shape",
3171
+ particles: {
3172
+ number: {
3173
+ value: 0
3174
+ },
3175
+ color: {
3176
+ value: ["#f44336", "#e91e63", "#9c27b0", "#673ab7", "#3f51b5", "#2196f3", "#03a9f4", "#00bcd4", "#009688", "#4CAF50", "#8BC34A", "#CDDC39", "#FFEB3B", "#FFC107", "#FF9800", "#FF5722"]
3177
+ },
2738
3178
  life: {
2739
- duration: 10,
2740
- delay: 0.5,
2741
- count: 1
2742
- }
2743
- }, {
2744
- fill: false,
2745
- shape: "circle",
2746
- position: {
2747
- x: 67,
2748
- y: 67
3179
+ count: 1,
3180
+ duration: {
3181
+ value: 1.5
3182
+ }
3183
+ },
3184
+ move: {
3185
+ enable: true,
3186
+ speed: 0.5
3187
+ },
3188
+ shape: {
3189
+ type: "circle"
3190
+ },
3191
+ opacity: {
3192
+ value: 1
2749
3193
  },
2750
3194
  size: {
2751
- width: 200,
2752
- height: 200,
2753
- mode: "precise"
3195
+ value: {
3196
+ min: 1,
3197
+ max: 10
3198
+ },
3199
+ animation: {
3200
+ enable: true,
3201
+ speed: 30,
3202
+ sync: true,
3203
+ startValue: "min",
3204
+ count: 2
3205
+ }
3206
+ }
3207
+ },
3208
+ background: {
3209
+ color: "#fff"
3210
+ },
3211
+ emitters: [emitterTextStrokeShape_generateEmitter("canvas", {
3212
+ scale: 1,
3213
+ pixels: {
3214
+ filter: "pixelTextFilter",
3215
+ offset: 4
2754
3216
  },
2755
- life: {
2756
- duration: 10,
2757
- delay: 0.5,
2758
- count: 1
3217
+ text: {
3218
+ color: "#ff0000",
3219
+ font: {
3220
+ size: 500,
3221
+ family: "Verdana"
3222
+ },
3223
+ text: "Particles",
3224
+ lines: {
3225
+ separator: "\n",
3226
+ spacing: 10
3227
+ }
2759
3228
  }
2760
- }]
3229
+ }, false, {
3230
+ x: 50,
3231
+ y: 50
3232
+ })]
2761
3233
  };
2762
- /* harmony default export */ const emitterShapes = (emitterShapes_options);
3234
+ /* harmony default export */ const emitterTextStrokeShape = (emitterTextStrokeShape_options);
2763
3235
  ;// CONCATENATED MODULE: ./dist/browser/e/index.js
2764
3236
 
2765
3237
 
@@ -2767,13 +3239,23 @@ const emitterShapes_options = {
2767
3239
 
2768
3240
 
2769
3241
 
3242
+
3243
+
3244
+
3245
+
3246
+
2770
3247
  /* harmony default export */ const e = ({
3248
+ effectBubble: effectBubble,
3249
+ effectTrail: effectTrail,
2771
3250
  emitter: emitter,
2772
3251
  emitterAbsorber: emitterAbsorber,
2773
3252
  emitterAngled: emitterAngled,
3253
+ emitterImageShape: emitterImageShape,
2774
3254
  emitterImages: emitterImages,
2775
3255
  emitterPaths: emitterPaths,
2776
- emitterShapes: emitterShapes
3256
+ emitterShapes: emitterShapes,
3257
+ emitterTextShape: emitterTextShape,
3258
+ emitterTextStrokeShape: emitterTextStrokeShape
2777
3259
  });
2778
3260
  ;// CONCATENATED MODULE: ./dist/browser/f/fireworks.js
2779
3261
  const fireworks_options = {
@@ -3003,7 +3485,6 @@ const fontawesome_options = {
3003
3485
  density: {
3004
3486
  enable: true
3005
3487
  },
3006
- limit: 0,
3007
3488
  value: 80
3008
3489
  },
3009
3490
  opacity: {
@@ -3181,7 +3662,9 @@ const gifs_options = {
3181
3662
  },
3182
3663
  number: {
3183
3664
  value: 20,
3184
- limit: 30
3665
+ limit: {
3666
+ value: 30
3667
+ }
3185
3668
  },
3186
3669
  opacity: {
3187
3670
  value: 1
@@ -3723,7 +4206,6 @@ const hollowknight_options = {
3723
4206
  density: {
3724
4207
  enable: false
3725
4208
  },
3726
- limit: 0,
3727
4209
  value: 400
3728
4210
  },
3729
4211
  opacity: {
@@ -3948,7 +4430,6 @@ const images_options = {
3948
4430
  density: {
3949
4431
  enable: true
3950
4432
  },
3951
- limit: 0,
3952
4433
  value: 80
3953
4434
  },
3954
4435
  opacity: {
@@ -4560,7 +5041,6 @@ const localPolygonMask_options = {
4560
5041
  density: {
4561
5042
  enable: false
4562
5043
  },
4563
- limit: 0,
4564
5044
  value: 200
4565
5045
  },
4566
5046
  opacity: {
@@ -5202,6 +5682,128 @@ const mouseTrail_options = {
5202
5682
  }
5203
5683
  };
5204
5684
  /* harmony default export */ const mouseTrail = (mouseTrail_options);
5685
+ ;// CONCATENATED MODULE: ./dist/browser/m/mouseTrailNoise.js
5686
+ const mouseTrailNoise_options = {
5687
+ name: "Mouse Trail Noise",
5688
+ particles: {
5689
+ number: {
5690
+ value: 0
5691
+ },
5692
+ color: {
5693
+ value: ["#ff0000", "#00ff00", "#0000ff"],
5694
+ animation: {
5695
+ enable: true,
5696
+ speed: 360,
5697
+ sync: false
5698
+ }
5699
+ },
5700
+ shape: {
5701
+ type: "triangle"
5702
+ },
5703
+ opacity: {
5704
+ value: {
5705
+ min: 0,
5706
+ max: 1
5707
+ },
5708
+ animation: {
5709
+ enable: true,
5710
+ speed: 1,
5711
+ sync: false,
5712
+ destroy: "min"
5713
+ }
5714
+ },
5715
+ size: {
5716
+ value: {
5717
+ min: 4,
5718
+ max: 8
5719
+ }
5720
+ },
5721
+ move: {
5722
+ enable: true,
5723
+ speed: 6,
5724
+ outModes: "destroy",
5725
+ path: {
5726
+ enable: true,
5727
+ options: {
5728
+ size: 64,
5729
+ draw: false,
5730
+ increment: 0.005
5731
+ },
5732
+ delay: {
5733
+ value: 0
5734
+ },
5735
+ generator: "perlinNoise"
5736
+ }
5737
+ },
5738
+ rotate: {
5739
+ value: {
5740
+ min: 0,
5741
+ max: 360
5742
+ },
5743
+ direction: "random",
5744
+ move: true,
5745
+ animation: {
5746
+ enable: true,
5747
+ speed: 60
5748
+ }
5749
+ },
5750
+ tilt: {
5751
+ direction: "random",
5752
+ enable: true,
5753
+ move: true,
5754
+ value: {
5755
+ min: 0,
5756
+ max: 360
5757
+ },
5758
+ animation: {
5759
+ enable: true,
5760
+ speed: 60
5761
+ }
5762
+ },
5763
+ roll: {
5764
+ darken: {
5765
+ enable: true,
5766
+ value: 30
5767
+ },
5768
+ enlighten: {
5769
+ enable: true,
5770
+ value: 30
5771
+ },
5772
+ enable: true,
5773
+ mode: "both",
5774
+ speed: {
5775
+ min: 15,
5776
+ max: 25
5777
+ }
5778
+ },
5779
+ wobble: {
5780
+ distance: 30,
5781
+ enable: true,
5782
+ move: true,
5783
+ speed: {
5784
+ min: -15,
5785
+ max: 15
5786
+ }
5787
+ }
5788
+ },
5789
+ interactivity: {
5790
+ events: {
5791
+ onHover: {
5792
+ enable: true,
5793
+ mode: "trail"
5794
+ }
5795
+ },
5796
+ modes: {
5797
+ trail: {
5798
+ delay: 0.01
5799
+ }
5800
+ }
5801
+ },
5802
+ background: {
5803
+ color: "#000000"
5804
+ }
5805
+ };
5806
+ /* harmony default export */ const mouseTrailNoise = (mouseTrailNoise_options);
5205
5807
  ;// CONCATENATED MODULE: ./dist/browser/m/moveAngle.js
5206
5808
  const moveAngle_options = {
5207
5809
  name: "Move Angle",
@@ -5629,7 +6231,6 @@ const multiplePolygonMasks_options = {
5629
6231
  speed: 1
5630
6232
  },
5631
6233
  number: {
5632
- limit: 0,
5633
6234
  value: 200
5634
6235
  },
5635
6236
  opacity: {
@@ -5694,6 +6295,7 @@ const multiplePolygonMasks_options = {
5694
6295
 
5695
6296
 
5696
6297
 
6298
+
5697
6299
  /* harmony default export */ const m = ({
5698
6300
  manual: manual,
5699
6301
  motionDisable: motionDisable,
@@ -5702,6 +6304,7 @@ const multiplePolygonMasks_options = {
5702
6304
  mouseBounce: mouseBounce,
5703
6305
  mouseFollow: mouseFollow,
5704
6306
  mouseTrail: mouseTrail,
6307
+ mouseTrailNoise: mouseTrailNoise,
5705
6308
  moveAngle: moveAngle,
5706
6309
  moveDistance: moveDistance,
5707
6310
  moveInside: moveInside,
@@ -6042,7 +6645,9 @@ const orbit_options = {
6042
6645
  density: {
6043
6646
  enable: true
6044
6647
  },
6045
- limit: 300,
6648
+ limit: {
6649
+ value: 300
6650
+ },
6046
6651
  value: 100
6047
6652
  },
6048
6653
  opacity: {
@@ -6214,7 +6819,6 @@ const pathPolygonMask_options = {
6214
6819
  speed: 1
6215
6820
  },
6216
6821
  number: {
6217
- limit: 0,
6218
6822
  value: 80
6219
6823
  },
6220
6824
  opacity: {
@@ -6309,7 +6913,6 @@ const pathSvg_options = {
6309
6913
  }
6310
6914
  },
6311
6915
  number: {
6312
- limit: 0,
6313
6916
  value: 80
6314
6917
  },
6315
6918
  opacity: {
@@ -6516,7 +7119,6 @@ const polygonMask_options = {
6516
7119
  speed: 1
6517
7120
  },
6518
7121
  number: {
6519
- limit: 0,
6520
7122
  value: 200
6521
7123
  },
6522
7124
  opacity: {
@@ -6700,6 +7302,74 @@ const polygons_options = {
6700
7302
  }
6701
7303
  };
6702
7304
  /* harmony default export */ const polygons = (polygons_options);
7305
+ ;// CONCATENATED MODULE: ./dist/browser/p/pop.js
7306
+ const pop_options = {
7307
+ name: "Pop",
7308
+ particles: {
7309
+ number: {
7310
+ limit: {
7311
+ value: 80,
7312
+ mode: "wait"
7313
+ },
7314
+ value: 80
7315
+ },
7316
+ color: {
7317
+ value: ["#3998D0", "#2EB6AF", "#A9BD33", "#FEC73B", "#F89930", "#F45623", "#D62E32", "#EB586E", "#9952CF"]
7318
+ },
7319
+ shape: {
7320
+ type: "circle"
7321
+ },
7322
+ opacity: {
7323
+ value: 1
7324
+ },
7325
+ size: {
7326
+ value: {
7327
+ min: 10,
7328
+ max: 15
7329
+ }
7330
+ },
7331
+ collisions: {
7332
+ enable: true,
7333
+ mode: "bounce"
7334
+ },
7335
+ move: {
7336
+ enable: true,
7337
+ speed: 3
7338
+ }
7339
+ },
7340
+ interactivity: {
7341
+ events: {
7342
+ onClick: {
7343
+ enable: true,
7344
+ mode: "pop"
7345
+ }
7346
+ }
7347
+ },
7348
+ background: {
7349
+ color: "#000000"
7350
+ },
7351
+ emitters: {
7352
+ direction: "none",
7353
+ life: {
7354
+ count: 0,
7355
+ duration: 0.1,
7356
+ delay: 0.1
7357
+ },
7358
+ rate: {
7359
+ delay: 0.1,
7360
+ quantity: 1
7361
+ },
7362
+ size: {
7363
+ width: 100,
7364
+ height: 100
7365
+ },
7366
+ position: {
7367
+ x: 50,
7368
+ y: 50
7369
+ }
7370
+ }
7371
+ };
7372
+ /* harmony default export */ const pop = (pop_options);
6703
7373
  ;// CONCATENATED MODULE: ./dist/browser/p/index.js
6704
7374
 
6705
7375
 
@@ -6708,6 +7378,7 @@ const polygons_options = {
6708
7378
 
6709
7379
 
6710
7380
 
7381
+
6711
7382
  /* harmony default export */ const p = ({
6712
7383
  parallax: parallax,
6713
7384
  pathPolygonMask: pathPolygonMask,
@@ -6715,7 +7386,8 @@ const polygons_options = {
6715
7386
  planes: planes,
6716
7387
  plasma: plasma,
6717
7388
  polygonMask: polygonMask,
6718
- polygons: polygons
7389
+ polygons: polygons,
7390
+ pop: pop
6719
7391
  });
6720
7392
  ;// CONCATENATED MODULE: ./dist/browser/q/index.js
6721
7393
  /* harmony default export */ const q = ({});
@@ -6791,7 +7463,9 @@ const random_options = {
6791
7463
  density: {
6792
7464
  enable: true
6793
7465
  },
6794
- limit: 500,
7466
+ limit: {
7467
+ value: 500
7468
+ },
6795
7469
  value: 300
6796
7470
  },
6797
7471
  opacity: {
@@ -6889,7 +7563,6 @@ const reactBubbles_options = {
6889
7563
  }
6890
7564
  },
6891
7565
  number: {
6892
- limit: -1,
6893
7566
  value: 160
6894
7567
  },
6895
7568
  opacity: {
@@ -7123,7 +7796,6 @@ const reactNightSky_options = {
7123
7796
  density: {
7124
7797
  enable: true
7125
7798
  },
7126
- limit: -1,
7127
7799
  value: 60
7128
7800
  },
7129
7801
  opacity: {
@@ -7201,7 +7873,6 @@ const reactPolygonMask_options = {
7201
7873
  speed: 1
7202
7874
  },
7203
7875
  number: {
7204
- limit: -1,
7205
7876
  value: 200
7206
7877
  },
7207
7878
  opacity: {
@@ -7301,7 +7972,6 @@ const reactSimple_options = {
7301
7972
  enable: true
7302
7973
  },
7303
7974
  number: {
7304
- limit: -1,
7305
7975
  value: 50
7306
7976
  },
7307
7977
  opacity: {
@@ -7457,7 +8127,6 @@ const reactSnow_options = {
7457
8127
  enable: true
7458
8128
  },
7459
8129
  number: {
7460
- limit: -1,
7461
8130
  value: 160
7462
8131
  },
7463
8132
  opacity: {
@@ -8175,7 +8844,9 @@ const ring_options = {
8175
8844
  particles: {
8176
8845
  number: {
8177
8846
  value: 0,
8178
- limit: 1000
8847
+ limit: {
8848
+ value: 1000
8849
+ }
8179
8850
  },
8180
8851
  color: {
8181
8852
  value: "#ffffff"
@@ -8516,81 +9187,6 @@ const shapeArrow_options = {
8516
9187
  }
8517
9188
  };
8518
9189
  /* harmony default export */ const shapeArrow = (shapeArrow_options);
8519
- ;// CONCATENATED MODULE: ./dist/browser/s/shapeBubble.js
8520
- const shapeBubble_options = {
8521
- name: "Shape Bubble",
8522
- particles: {
8523
- number: {
8524
- value: 80,
8525
- density: {
8526
- enable: true
8527
- }
8528
- },
8529
- color: {
8530
- value: "#ff0000",
8531
- animation: {
8532
- enable: true,
8533
- speed: 20,
8534
- sync: true
8535
- }
8536
- },
8537
- shape: {
8538
- type: "bubble"
8539
- },
8540
- opacity: {
8541
- value: 0.5
8542
- },
8543
- size: {
8544
- value: {
8545
- min: 5,
8546
- max: 50
8547
- }
8548
- },
8549
- move: {
8550
- enable: true,
8551
- speed: 6
8552
- }
8553
- },
8554
- interactivity: {
8555
- events: {
8556
- onHover: {
8557
- enable: true,
8558
- mode: "repulse"
8559
- },
8560
- onClick: {
8561
- enable: true,
8562
- mode: "push"
8563
- }
8564
- },
8565
- modes: {
8566
- grab: {
8567
- distance: 400,
8568
- links: {
8569
- opacity: 1
8570
- }
8571
- },
8572
- bubble: {
8573
- distance: 400,
8574
- size: 40,
8575
- duration: 2,
8576
- opacity: 0.8
8577
- },
8578
- repulse: {
8579
- distance: 200
8580
- },
8581
- push: {
8582
- quantity: 4
8583
- },
8584
- remove: {
8585
- quantity: 2
8586
- }
8587
- }
8588
- },
8589
- background: {
8590
- color: "#000000"
8591
- }
8592
- };
8593
- /* harmony default export */ const shapeBubble = (shapeBubble_options);
8594
9190
  ;// CONCATENATED MODULE: ./dist/browser/s/shapeCog.js
8595
9191
  const shapeCog_options = {
8596
9192
  name: "Shape Cog",
@@ -8788,9 +9384,9 @@ const shapeMultilineText_options = {
8788
9384
  }
8789
9385
  },
8790
9386
  shape: {
8791
- type: "multiline-text",
9387
+ type: "text",
8792
9388
  options: {
8793
- "multiline-text": {
9389
+ text: {
8794
9390
  value: "pippo\npluto"
8795
9391
  }
8796
9392
  }
@@ -10360,7 +10956,9 @@ const style_options = {
10360
10956
  particles: {
10361
10957
  number: {
10362
10958
  value: 200,
10363
- limit: 200
10959
+ limit: {
10960
+ value: 200
10961
+ }
10364
10962
  },
10365
10963
  color: {
10366
10964
  value: ["#ff0000", "#00ff00", "#0000ff", "#ffff00", "#ff00ff", "#00ffff"],
@@ -10508,7 +11106,6 @@ const svgReplace_options = {
10508
11106
  density: {
10509
11107
  enable: true
10510
11108
  },
10511
- limit: 0,
10512
11109
  value: 80
10513
11110
  },
10514
11111
  opacity: {
@@ -10580,14 +11177,12 @@ const svgReplace_options = {
10580
11177
 
10581
11178
 
10582
11179
 
10583
-
10584
11180
 
10585
11181
 
10586
11182
  /* harmony default export */ const s = ({
10587
11183
  seaAnemone: seaAnemone,
10588
11184
  shadow: shadow,
10589
11185
  shapeArrow: shapeArrow,
10590
- shapeBubble: shapeBubble,
10591
11186
  shapeCog: shapeCog,
10592
11187
  shapeHeart: shapeHeart,
10593
11188
  shapeMultilineText: shapeMultilineText,
@@ -11011,7 +11606,9 @@ const tilt_options = {
11011
11606
  },
11012
11607
  number: {
11013
11608
  value: 0,
11014
- limit: 300
11609
+ limit: {
11610
+ value: 300
11611
+ }
11015
11612
  },
11016
11613
  opacity: {
11017
11614
  value: 1,
@@ -11089,7 +11686,9 @@ const trail_options = {
11089
11686
  particles: {
11090
11687
  number: {
11091
11688
  value: 0,
11092
- limit: 300
11689
+ limit: {
11690
+ value: 300
11691
+ }
11093
11692
  },
11094
11693
  color: {
11095
11694
  value: ["#5bc0eb", "#fde74c", "#9bc53d", "#e55934", "#fa7921"]
@@ -11193,7 +11792,9 @@ const trailImage_options = {
11193
11792
  particles: {
11194
11793
  number: {
11195
11794
  value: 0,
11196
- limit: 300
11795
+ limit: {
11796
+ value: 300
11797
+ }
11197
11798
  },
11198
11799
  color: {
11199
11800
  value: ["#5bc0eb", "#fde74c", "#9bc53d", "#e55934", "#fa7921"]
@@ -11734,7 +12335,9 @@ const wobble_options = {
11734
12335
  },
11735
12336
  number: {
11736
12337
  value: 0,
11737
- limit: 300
12338
+ limit: {
12339
+ value: 300
12340
+ }
11738
12341
  },
11739
12342
  opacity: {
11740
12343
  value: 1,