@tsparticles/configs 3.2.2 → 3.4.0

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 (92) hide show
  1. package/browser/c/clickConfetti.js +0 -1
  2. package/browser/e/effectTrailTransform.js +57 -0
  3. package/browser/e/emitterSpawnColor.js +6 -5
  4. package/browser/e/index.js +2 -0
  5. package/browser/f/fireworks.js +3 -1
  6. package/browser/f/fireworks2.js +2 -1
  7. package/browser/g/gradients.js +9 -8
  8. package/browser/i/imagesDirections.js +3 -2
  9. package/browser/m/mouseTrailNoise.js +0 -1
  10. package/browser/p/pop.js +2 -1
  11. package/browser/r/index.js +2 -0
  12. package/browser/r/randomShapes.js +417 -0
  13. package/browser/s/index.js +2 -0
  14. package/browser/s/shapeEmoji.js +6 -6
  15. package/browser/s/shapeInfinity.js +88 -0
  16. package/browser/t/tilt.js +0 -4
  17. package/browser/w/index.js +2 -0
  18. package/browser/w/wobble.js +0 -1
  19. package/browser/w/wobbleBig.js +139 -0
  20. package/cjs/c/clickConfetti.js +0 -1
  21. package/cjs/e/effectTrailTransform.js +59 -0
  22. package/cjs/e/emitterSpawnColor.js +6 -5
  23. package/cjs/e/index.js +2 -0
  24. package/cjs/f/fireworks.js +3 -1
  25. package/cjs/f/fireworks2.js +2 -1
  26. package/cjs/g/gradients.js +9 -8
  27. package/cjs/i/imagesDirections.js +3 -2
  28. package/cjs/m/mouseTrailNoise.js +0 -1
  29. package/cjs/p/pop.js +2 -1
  30. package/cjs/r/index.js +2 -0
  31. package/cjs/r/randomShapes.js +419 -0
  32. package/cjs/s/index.js +2 -0
  33. package/cjs/s/shapeEmoji.js +6 -6
  34. package/cjs/s/shapeInfinity.js +90 -0
  35. package/cjs/t/tilt.js +0 -4
  36. package/cjs/w/index.js +2 -0
  37. package/cjs/w/wobble.js +0 -1
  38. package/cjs/w/wobbleBig.js +141 -0
  39. package/esm/c/clickConfetti.js +0 -1
  40. package/esm/e/effectTrailTransform.js +57 -0
  41. package/esm/e/emitterSpawnColor.js +6 -5
  42. package/esm/e/index.js +2 -0
  43. package/esm/f/fireworks.js +3 -1
  44. package/esm/f/fireworks2.js +2 -1
  45. package/esm/g/gradients.js +9 -8
  46. package/esm/i/imagesDirections.js +3 -2
  47. package/esm/m/mouseTrailNoise.js +0 -1
  48. package/esm/p/pop.js +2 -1
  49. package/esm/r/index.js +2 -0
  50. package/esm/r/randomShapes.js +417 -0
  51. package/esm/s/index.js +2 -0
  52. package/esm/s/shapeEmoji.js +6 -6
  53. package/esm/s/shapeInfinity.js +88 -0
  54. package/esm/t/tilt.js +0 -4
  55. package/esm/w/index.js +2 -0
  56. package/esm/w/wobble.js +0 -1
  57. package/esm/w/wobbleBig.js +139 -0
  58. package/package.json +2 -2
  59. package/report.html +1 -1
  60. package/tsparticles.configs.bundle.js +1 -1
  61. package/tsparticles.configs.bundle.min.js.LICENSE.txt +1 -1
  62. package/tsparticles.configs.js +55 -15
  63. package/tsparticles.configs.min.js +1 -1
  64. package/tsparticles.configs.min.js.LICENSE.txt +1 -1
  65. package/types/e/effectTrailTransform.d.ts +3 -0
  66. package/types/e/index.d.ts +1 -0
  67. package/types/index.d.ts +4 -0
  68. package/types/r/index.d.ts +1 -0
  69. package/types/r/randomShapes.d.ts +3 -0
  70. package/types/s/index.d.ts +1 -0
  71. package/types/s/shapeInfinity.d.ts +3 -0
  72. package/types/w/index.d.ts +1 -0
  73. package/types/w/wobbleBig.d.ts +3 -0
  74. package/umd/c/clickConfetti.js +0 -1
  75. package/umd/e/effectTrailTransform.js +69 -0
  76. package/umd/e/emitterSpawnColor.js +7 -6
  77. package/umd/e/index.js +3 -1
  78. package/umd/f/fireworks.js +4 -2
  79. package/umd/f/fireworks2.js +3 -2
  80. package/umd/g/gradients.js +10 -9
  81. package/umd/i/imagesDirections.js +4 -3
  82. package/umd/m/mouseTrailNoise.js +0 -1
  83. package/umd/p/pop.js +3 -2
  84. package/umd/r/index.js +3 -1
  85. package/umd/r/randomShapes.js +429 -0
  86. package/umd/s/index.js +3 -1
  87. package/umd/s/shapeEmoji.js +7 -7
  88. package/umd/s/shapeInfinity.js +100 -0
  89. package/umd/t/tilt.js +0 -4
  90. package/umd/w/index.js +3 -1
  91. package/umd/w/wobble.js +0 -1
  92. package/umd/w/wobbleBig.js +151 -0
@@ -0,0 +1,151 @@
1
+ (function (factory) {
2
+ if (typeof module === "object" && typeof module.exports === "object") {
3
+ var v = factory(require, exports);
4
+ if (v !== undefined) module.exports = v;
5
+ }
6
+ else if (typeof define === "function" && define.amd) {
7
+ define(["require", "exports"], factory);
8
+ }
9
+ })(function (require, exports) {
10
+ "use strict";
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ const options = {
13
+ key: "wobbleBig",
14
+ name: "Wobble Big",
15
+ background: {
16
+ color: "#000000",
17
+ },
18
+ particles: {
19
+ bounce: {
20
+ vertical: {
21
+ value: 0,
22
+ },
23
+ horizontal: {
24
+ value: 0,
25
+ },
26
+ },
27
+ color: {
28
+ value: ["#1E00FF", "#FF0061", "#E1FF00", "#00FF9E"],
29
+ animation: {
30
+ enable: true,
31
+ speed: 30,
32
+ },
33
+ },
34
+ move: {
35
+ decay: {
36
+ min: 0.05,
37
+ max: 0.15,
38
+ },
39
+ direction: "top",
40
+ enable: true,
41
+ gravity: {
42
+ acceleration: 9.81,
43
+ enable: true,
44
+ maxSpeed: 200,
45
+ },
46
+ outModes: {
47
+ top: "none",
48
+ default: "destroy",
49
+ },
50
+ speed: {
51
+ min: 50,
52
+ max: 150,
53
+ },
54
+ },
55
+ number: {
56
+ value: 0,
57
+ limit: { value: 300 },
58
+ },
59
+ opacity: {
60
+ value: 1,
61
+ animation: {
62
+ enable: false,
63
+ startValue: "max",
64
+ destroy: "min",
65
+ speed: 0.3,
66
+ sync: true,
67
+ },
68
+ },
69
+ rotate: {
70
+ value: {
71
+ min: 0,
72
+ max: 360,
73
+ },
74
+ direction: "random",
75
+ move: true,
76
+ animation: {
77
+ enable: true,
78
+ speed: 60,
79
+ },
80
+ },
81
+ tilt: {
82
+ direction: "random",
83
+ enable: true,
84
+ value: {
85
+ min: 0,
86
+ max: 360,
87
+ },
88
+ animation: {
89
+ enable: true,
90
+ speed: 60,
91
+ },
92
+ },
93
+ shape: {
94
+ type: ["circle", "square", "polygon"],
95
+ options: {
96
+ polygon: [
97
+ {
98
+ sides: 5,
99
+ },
100
+ {
101
+ sides: 6,
102
+ },
103
+ ],
104
+ },
105
+ },
106
+ size: {
107
+ value: 30,
108
+ },
109
+ roll: {
110
+ darken: {
111
+ enable: true,
112
+ value: 30,
113
+ },
114
+ enlighten: {
115
+ enable: true,
116
+ value: 30,
117
+ },
118
+ enable: true,
119
+ mode: "both",
120
+ speed: {
121
+ min: 15,
122
+ max: 25,
123
+ },
124
+ },
125
+ wobble: {
126
+ distance: 30,
127
+ enable: true,
128
+ move: true,
129
+ speed: {
130
+ min: -15,
131
+ max: 15,
132
+ },
133
+ },
134
+ },
135
+ emitters: {
136
+ position: {
137
+ x: 50,
138
+ y: 100,
139
+ },
140
+ size: {
141
+ width: 0,
142
+ height: 0,
143
+ },
144
+ rate: {
145
+ quantity: 10,
146
+ delay: 0.2,
147
+ },
148
+ },
149
+ };
150
+ exports.default = options;
151
+ });