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

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 (46) hide show
  1. package/browser/h/hollowknight.js +5 -2
  2. package/browser/i/imagesDirections.js +5 -2
  3. package/browser/l/localPolygonMask.js +5 -2
  4. package/browser/m/multiplePolygonMasks.js +5 -2
  5. package/browser/p/pathPolygonMask.js +5 -2
  6. package/browser/p/polygonMask.js +5 -2
  7. package/browser/s/index.js +2 -0
  8. package/browser/s/shapeEmoji.js +184 -0
  9. package/browser/t/themes.js +0 -1
  10. package/cjs/h/hollowknight.js +5 -2
  11. package/cjs/i/imagesDirections.js +5 -2
  12. package/cjs/l/localPolygonMask.js +5 -2
  13. package/cjs/m/multiplePolygonMasks.js +5 -2
  14. package/cjs/p/pathPolygonMask.js +5 -2
  15. package/cjs/p/polygonMask.js +5 -2
  16. package/cjs/s/index.js +2 -0
  17. package/cjs/s/shapeEmoji.js +186 -0
  18. package/cjs/t/themes.js +0 -1
  19. package/esm/h/hollowknight.js +5 -2
  20. package/esm/i/imagesDirections.js +5 -2
  21. package/esm/l/localPolygonMask.js +5 -2
  22. package/esm/m/multiplePolygonMasks.js +5 -2
  23. package/esm/p/pathPolygonMask.js +5 -2
  24. package/esm/p/polygonMask.js +5 -2
  25. package/esm/s/index.js +2 -0
  26. package/esm/s/shapeEmoji.js +184 -0
  27. package/esm/t/themes.js +0 -1
  28. package/package.json +2 -2
  29. package/report.html +3 -3
  30. package/tsparticles.configs.bundle.js +1 -1
  31. package/tsparticles.configs.bundle.min.js.LICENSE.txt +1 -1
  32. package/tsparticles.configs.js +214 -15
  33. package/tsparticles.configs.min.js +1 -1
  34. package/tsparticles.configs.min.js.LICENSE.txt +1 -1
  35. package/types/index.d.ts +1 -0
  36. package/types/s/index.d.ts +1 -0
  37. package/types/s/shapeEmoji.d.ts +3 -0
  38. package/umd/h/hollowknight.js +5 -2
  39. package/umd/i/imagesDirections.js +5 -2
  40. package/umd/l/localPolygonMask.js +5 -2
  41. package/umd/m/multiplePolygonMasks.js +5 -2
  42. package/umd/p/pathPolygonMask.js +5 -2
  43. package/umd/p/polygonMask.js +5 -2
  44. package/umd/s/index.js +3 -1
  45. package/umd/s/shapeEmoji.js +196 -0
  46. package/umd/t/themes.js +0 -1
@@ -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.4
7
+ * v3.0.0-beta.5
8
8
  */
9
9
  (function webpackUniversalModuleDefinition(root, factory) {
10
10
  if(typeof exports === 'object' && typeof module === 'object')
@@ -1 +1 @@
1
- /*! tsParticles Configs v3.0.0-beta.4 by Matteo Bruni */
1
+ /*! tsParticles Configs v3.0.0-beta.5 by Matteo Bruni */
@@ -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.4
7
+ * v3.0.0-beta.5
8
8
  */
9
9
  (function webpackUniversalModuleDefinition(root, factory) {
10
10
  if(typeof exports === 'object' && typeof module === 'object')
@@ -4229,8 +4229,11 @@ const hollowknight_options = {
4229
4229
  polygon: {
4230
4230
  draw: {
4231
4231
  enable: true,
4232
- lineColor: "rgba(255,255,255,0.2)",
4233
- lineWidth: 0.5
4232
+ stroke: {
4233
+ color: "#fff",
4234
+ width: 0.5,
4235
+ opacity: 0.2
4236
+ }
4234
4237
  },
4235
4238
  enable: true,
4236
4239
  move: {
@@ -4659,8 +4662,11 @@ const imagesDirections_options = {
4659
4662
  polygon: {
4660
4663
  draw: {
4661
4664
  enable: false,
4662
- lineColor: "#ffffff",
4663
- lineWidth: 0.5
4665
+ stroke: {
4666
+ color: "#fff",
4667
+ width: 0.5,
4668
+ opacity: 0.2
4669
+ }
4664
4670
  },
4665
4671
  move: {
4666
4672
  radius: 10
@@ -5056,8 +5062,11 @@ const localPolygonMask_options = {
5056
5062
  polygon: {
5057
5063
  draw: {
5058
5064
  enable: true,
5059
- lineColor: "rgba(255,255,255,1)",
5060
- lineWidth: 1
5065
+ stroke: {
5066
+ color: "#fff",
5067
+ width: 0.5,
5068
+ opacity: 0.2
5069
+ }
5061
5070
  },
5062
5071
  enable: true,
5063
5072
  move: {
@@ -6254,8 +6263,11 @@ const multiplePolygonMasks_options = {
6254
6263
  polygon: {
6255
6264
  draw: {
6256
6265
  enable: true,
6257
- lineColor: "rgba(255,255,255,0.2)",
6258
- lineWidth: 0.5
6266
+ stroke: {
6267
+ color: "#fff",
6268
+ width: 0.5,
6269
+ opacity: 0.2
6270
+ }
6259
6271
  },
6260
6272
  enable: true,
6261
6273
  move: {
@@ -6842,8 +6854,11 @@ const pathPolygonMask_options = {
6842
6854
  polygon: {
6843
6855
  draw: {
6844
6856
  enable: true,
6845
- lineColor: "rgba(255,255,255,0.2)",
6846
- lineWidth: 0.5
6857
+ stroke: {
6858
+ color: "#fff",
6859
+ width: 0.5,
6860
+ opacity: 0.2
6861
+ }
6847
6862
  },
6848
6863
  enable: true,
6849
6864
  move: {
@@ -7142,8 +7157,11 @@ const polygonMask_options = {
7142
7157
  polygon: {
7143
7158
  draw: {
7144
7159
  enable: true,
7145
- lineColor: "rgba(255,255,255,0.2)",
7146
- lineWidth: 1
7160
+ stroke: {
7161
+ color: "#fff",
7162
+ width: 1,
7163
+ opacity: 0.2
7164
+ }
7147
7165
  },
7148
7166
  enable: true,
7149
7167
  move: {
@@ -9283,6 +9301,186 @@ const shapeCog_options = {
9283
9301
  }
9284
9302
  };
9285
9303
  /* harmony default export */ const shapeCog = (shapeCog_options);
9304
+ ;// CONCATENATED MODULE: ./dist/browser/s/shapeEmoji.js
9305
+ const emitterRate = {
9306
+ delay: 0.1,
9307
+ quantity: 2
9308
+ },
9309
+ shapeEmoji_options = {
9310
+ name: "Shape Emoji",
9311
+ particles: {
9312
+ opacity: {
9313
+ value: 1
9314
+ },
9315
+ size: {
9316
+ value: {
9317
+ min: 16,
9318
+ max: 32
9319
+ }
9320
+ },
9321
+ move: {
9322
+ enable: true,
9323
+ gravity: {
9324
+ enable: true
9325
+ },
9326
+ speed: 15,
9327
+ outModes: {
9328
+ default: "destroy",
9329
+ top: "none"
9330
+ }
9331
+ },
9332
+ rotate: {
9333
+ value: {
9334
+ min: 0,
9335
+ max: 360
9336
+ },
9337
+ direction: "random",
9338
+ move: true,
9339
+ animation: {
9340
+ enable: true,
9341
+ speed: 60
9342
+ }
9343
+ },
9344
+ tilt: {
9345
+ direction: "random",
9346
+ enable: true,
9347
+ move: true,
9348
+ value: {
9349
+ min: 0,
9350
+ max: 360
9351
+ },
9352
+ animation: {
9353
+ enable: true,
9354
+ speed: 60
9355
+ }
9356
+ },
9357
+ roll: {
9358
+ darken: {
9359
+ enable: true,
9360
+ value: 30
9361
+ },
9362
+ enlighten: {
9363
+ enable: true,
9364
+ value: 30
9365
+ },
9366
+ enable: true,
9367
+ mode: "both",
9368
+ speed: {
9369
+ min: 15,
9370
+ max: 25
9371
+ }
9372
+ },
9373
+ wobble: {
9374
+ distance: 30,
9375
+ enable: true,
9376
+ move: true,
9377
+ speed: {
9378
+ min: -15,
9379
+ max: 15
9380
+ }
9381
+ }
9382
+ },
9383
+ background: {
9384
+ color: "#000000"
9385
+ },
9386
+ emitters: [{
9387
+ position: {
9388
+ x: 0,
9389
+ y: 33
9390
+ },
9391
+ rate: emitterRate,
9392
+ particles: {
9393
+ move: {
9394
+ direction: "top-right"
9395
+ },
9396
+ shape: {
9397
+ type: "emoji",
9398
+ options: {
9399
+ emoji: {
9400
+ value: "🦄"
9401
+ }
9402
+ }
9403
+ }
9404
+ }
9405
+ }, {
9406
+ position: {
9407
+ x: 0,
9408
+ y: 66
9409
+ },
9410
+ rate: emitterRate,
9411
+ particles: {
9412
+ move: {
9413
+ direction: "top-right"
9414
+ },
9415
+ shape: {
9416
+ type: "emoji",
9417
+ options: {
9418
+ emoji: {
9419
+ value: "🌈"
9420
+ }
9421
+ }
9422
+ }
9423
+ }
9424
+ }, {
9425
+ position: {
9426
+ x: 100,
9427
+ y: 33
9428
+ },
9429
+ rate: emitterRate,
9430
+ particles: {
9431
+ move: {
9432
+ direction: "top-left"
9433
+ },
9434
+ shape: {
9435
+ type: "emoji",
9436
+ options: {
9437
+ emoji: {
9438
+ value: "🎉"
9439
+ }
9440
+ }
9441
+ }
9442
+ }
9443
+ }, {
9444
+ position: {
9445
+ x: 100,
9446
+ y: 66
9447
+ },
9448
+ rate: emitterRate,
9449
+ particles: {
9450
+ move: {
9451
+ direction: "top-left"
9452
+ },
9453
+ shape: {
9454
+ type: "emoji",
9455
+ options: {
9456
+ emoji: {
9457
+ value: "🤡"
9458
+ }
9459
+ }
9460
+ }
9461
+ }
9462
+ }, {
9463
+ position: {
9464
+ x: 50,
9465
+ y: 50
9466
+ },
9467
+ rate: emitterRate,
9468
+ particles: {
9469
+ move: {
9470
+ direction: "top"
9471
+ },
9472
+ shape: {
9473
+ type: "emoji",
9474
+ options: {
9475
+ emoji: {
9476
+ value: "👻"
9477
+ }
9478
+ }
9479
+ }
9480
+ }
9481
+ }]
9482
+ };
9483
+ /* harmony default export */ const shapeEmoji = (shapeEmoji_options);
9286
9484
  ;// CONCATENATED MODULE: ./dist/browser/s/shapeHeart.js
9287
9485
  const shapeHeart_options = {
9288
9486
  name: "Shape Heart",
@@ -11177,6 +11375,7 @@ const svgReplace_options = {
11177
11375
 
11178
11376
 
11179
11377
 
11378
+
11180
11379
 
11181
11380
 
11182
11381
  /* harmony default export */ const s = ({
@@ -11184,6 +11383,7 @@ const svgReplace_options = {
11184
11383
  shadow: shadow,
11185
11384
  shapeArrow: shapeArrow,
11186
11385
  shapeCog: shapeCog,
11386
+ shapeEmoji: shapeEmoji,
11187
11387
  shapeHeart: shapeHeart,
11188
11388
  shapeMultilineText: shapeMultilineText,
11189
11389
  shapeOptions: shapeOptions,
@@ -11554,8 +11754,7 @@ const themes_options = {
11554
11754
  onClick: {
11555
11755
  enable: true,
11556
11756
  mode: "push"
11557
- },
11558
- resize: true
11757
+ }
11559
11758
  }
11560
11759
  },
11561
11760
  detectRetina: true