@tsparticles/palette-hologram 4.0.0-alpha.5 → 4.0.0-beta.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.
- package/428.min.js +1 -0
- package/README.md +70 -0
- package/browser/options.js +42 -8
- package/cjs/options.js +42 -8
- package/dist_browser_options_js.js +2 -2
- package/esm/options.js +42 -8
- package/package.json +5 -5
- package/report.html +1 -1
- package/tsparticles.palette.palette-hologram.js +1 -1
- package/tsparticles.palette.palette-hologram.min.js +1 -1
- package/28.min.js +0 -1
- package/umd/index.js +0 -54
- package/umd/options.js +0 -28
package/428.min.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(this.webpackChunk_tsparticles_palette_hologram=this.webpackChunk_tsparticles_palette_hologram||[]).push([[428],{428(F,e,a){a.d(e,{options:()=>l});let l={name:"Hologram",background:"#000a0d",blendMode:"screen",colors:[{fill:{enable:!0,value:["#003844","#007A8A","#00C6C7","#68EEFF","#8F76FF","#D89CFF"]}},{stroke:{value:["#AAFFFF","#C8FAFF","#8CEBFF"],width:{min:.6,max:1.4}}},{fill:{enable:!0,value:["#003844","#007A8A","#00C6C7","#68EEFF","#8F76FF","#D89CFF"]},stroke:{value:["#00F0FF","#8F76FF","#FFFFFF"],width:{min:1.6,max:3.2}}}]}}}]);
|
package/README.md
CHANGED
|
@@ -10,8 +10,67 @@
|
|
|
10
10
|
|
|
11
11
|
[](https://www.producthunt.com/posts/tsparticles?utm_source=badge-featured&utm_medium=badge&utm_souce=badge-tsparticles") <a href="https://www.buymeacoffee.com/matteobruni"><img src="https://img.buymeacoffee.com/button-api/?text=Buy me a beer&emoji=🍺&slug=matteobruni&button_colour=5F7FFF&font_colour=ffffff&font_family=Arial&outline_colour=000000&coffee_colour=FFDD00"></a>
|
|
12
12
|
|
|
13
|
+
## Sample
|
|
14
|
+
|
|
15
|
+
[](https://particles.js.org/samples/palettes/hologram)
|
|
16
|
+
|
|
13
17
|
## Colors
|
|
14
18
|
|
|
19
|
+
<table>
|
|
20
|
+
<tbody>
|
|
21
|
+
<tr>
|
|
22
|
+
<td align="center">
|
|
23
|
+
<svg width="32" height="32" viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg" role="img" aria-label="#003344"><rect width="32" height="32" fill="#003344" /></svg><br />
|
|
24
|
+
<code>#003344</code>
|
|
25
|
+
</td>
|
|
26
|
+
<td align="center">
|
|
27
|
+
<svg width="32" height="32" viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg" role="img" aria-label="#006688"><rect width="32" height="32" fill="#006688" /></svg><br />
|
|
28
|
+
<code>#006688</code>
|
|
29
|
+
</td>
|
|
30
|
+
<td align="center">
|
|
31
|
+
<svg width="32" height="32" viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg" role="img" aria-label="#00AACC"><rect width="32" height="32" fill="#00AACC" /></svg><br />
|
|
32
|
+
<code>#00AACC</code>
|
|
33
|
+
</td>
|
|
34
|
+
<td align="center">
|
|
35
|
+
<svg width="32" height="32" viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg" role="img" aria-label="#00DDFF"><rect width="32" height="32" fill="#00DDFF" /></svg><br />
|
|
36
|
+
<code>#00DDFF</code>
|
|
37
|
+
</td>
|
|
38
|
+
<td align="center">
|
|
39
|
+
<svg width="32" height="32" viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg" role="img" aria-label="#44EEFF"><rect width="32" height="32" fill="#44EEFF" /></svg><br />
|
|
40
|
+
<code>#44EEFF</code>
|
|
41
|
+
</td>
|
|
42
|
+
</tr>
|
|
43
|
+
<tr>
|
|
44
|
+
<td align="center">
|
|
45
|
+
<svg width="32" height="32" viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg" role="img" aria-label="#AAFFFF"><rect width="32" height="32" fill="#AAFFFF" /></svg><br />
|
|
46
|
+
<code>#AAFFFF</code>
|
|
47
|
+
</td>
|
|
48
|
+
<td align="center">
|
|
49
|
+
<svg width="32" height="32" viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg" role="img" aria-label="#FFFFFF"><rect width="32" height="32" fill="#FFFFFF" /></svg><br />
|
|
50
|
+
<code>#FFFFFF</code>
|
|
51
|
+
</td>
|
|
52
|
+
</tr>
|
|
53
|
+
<tr>
|
|
54
|
+
<td colspan="5" align="center">
|
|
55
|
+
<svg width="40" height="40" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg" role="img" aria-label="#000a0d"><rect width="40" height="40" fill="#000a0d" /></svg><br />
|
|
56
|
+
<strong>Background</strong><br />
|
|
57
|
+
<code>#000a0d</code>
|
|
58
|
+
</td>
|
|
59
|
+
</tr>
|
|
60
|
+
<tr>
|
|
61
|
+
<td colspan="5" align="center">
|
|
62
|
+
<strong>Blend mode:</strong> <code>screen</code> | <strong>Fill:</strong> <code>false</code>
|
|
63
|
+
</td>
|
|
64
|
+
</tr>
|
|
65
|
+
</tbody>
|
|
66
|
+
</table>
|
|
67
|
+
|
|
68
|
+
## Quick checklist
|
|
69
|
+
|
|
70
|
+
1. Install `@tsparticles/engine` (or use the CDN bundle below)
|
|
71
|
+
2. Call the package loader function(s) before `tsParticles.load(...)`
|
|
72
|
+
3. Apply the package options in your `tsParticles.load(...)` config
|
|
73
|
+
|
|
15
74
|
## How to use it
|
|
16
75
|
|
|
17
76
|
### CDN / Vanilla JS / jQuery
|
|
@@ -64,6 +123,17 @@ Checkout the documentation in the component library repository and call the `loa
|
|
|
64
123
|
|
|
65
124
|
The options shown above are valid for all the component libraries.
|
|
66
125
|
|
|
126
|
+
## Common pitfalls
|
|
127
|
+
|
|
128
|
+
- Calling `tsParticles.load(...)` before `loadHologramPalette(...)`
|
|
129
|
+
- Verify required peer packages before enabling advanced options
|
|
130
|
+
- Change one option group at a time to isolate regressions quickly
|
|
131
|
+
|
|
132
|
+
## Related docs
|
|
133
|
+
|
|
134
|
+
- Presets and palettes catalog: <https://github.com/tsparticles/palettes>
|
|
135
|
+
- Main docs: <https://particles.js.org/docs/>
|
|
136
|
+
|
|
67
137
|
---
|
|
68
138
|
|
|
69
139
|
```mermaid
|
package/browser/options.js
CHANGED
|
@@ -3,13 +3,47 @@ export const options = {
|
|
|
3
3
|
background: "#000a0d",
|
|
4
4
|
blendMode: "screen",
|
|
5
5
|
colors: [
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
6
|
+
{
|
|
7
|
+
fill: {
|
|
8
|
+
enable: true,
|
|
9
|
+
value: [
|
|
10
|
+
"#003844",
|
|
11
|
+
"#007A8A",
|
|
12
|
+
"#00C6C7",
|
|
13
|
+
"#68EEFF",
|
|
14
|
+
"#8F76FF",
|
|
15
|
+
"#D89CFF",
|
|
16
|
+
],
|
|
17
|
+
},
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
stroke: {
|
|
21
|
+
value: ["#AAFFFF", "#C8FAFF", "#8CEBFF"],
|
|
22
|
+
width: {
|
|
23
|
+
min: 0.6,
|
|
24
|
+
max: 1.4,
|
|
25
|
+
},
|
|
26
|
+
},
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
fill: {
|
|
30
|
+
enable: true,
|
|
31
|
+
value: [
|
|
32
|
+
"#003844",
|
|
33
|
+
"#007A8A",
|
|
34
|
+
"#00C6C7",
|
|
35
|
+
"#68EEFF",
|
|
36
|
+
"#8F76FF",
|
|
37
|
+
"#D89CFF",
|
|
38
|
+
],
|
|
39
|
+
},
|
|
40
|
+
stroke: {
|
|
41
|
+
value: ["#00F0FF", "#8F76FF", "#FFFFFF"],
|
|
42
|
+
width: {
|
|
43
|
+
min: 1.6,
|
|
44
|
+
max: 3.2,
|
|
45
|
+
},
|
|
46
|
+
},
|
|
47
|
+
},
|
|
13
48
|
],
|
|
14
|
-
fill: false,
|
|
15
49
|
};
|
package/cjs/options.js
CHANGED
|
@@ -3,13 +3,47 @@ export const options = {
|
|
|
3
3
|
background: "#000a0d",
|
|
4
4
|
blendMode: "screen",
|
|
5
5
|
colors: [
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
6
|
+
{
|
|
7
|
+
fill: {
|
|
8
|
+
enable: true,
|
|
9
|
+
value: [
|
|
10
|
+
"#003844",
|
|
11
|
+
"#007A8A",
|
|
12
|
+
"#00C6C7",
|
|
13
|
+
"#68EEFF",
|
|
14
|
+
"#8F76FF",
|
|
15
|
+
"#D89CFF",
|
|
16
|
+
],
|
|
17
|
+
},
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
stroke: {
|
|
21
|
+
value: ["#AAFFFF", "#C8FAFF", "#8CEBFF"],
|
|
22
|
+
width: {
|
|
23
|
+
min: 0.6,
|
|
24
|
+
max: 1.4,
|
|
25
|
+
},
|
|
26
|
+
},
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
fill: {
|
|
30
|
+
enable: true,
|
|
31
|
+
value: [
|
|
32
|
+
"#003844",
|
|
33
|
+
"#007A8A",
|
|
34
|
+
"#00C6C7",
|
|
35
|
+
"#68EEFF",
|
|
36
|
+
"#8F76FF",
|
|
37
|
+
"#D89CFF",
|
|
38
|
+
],
|
|
39
|
+
},
|
|
40
|
+
stroke: {
|
|
41
|
+
value: ["#00F0FF", "#8F76FF", "#FFFFFF"],
|
|
42
|
+
width: {
|
|
43
|
+
min: 1.6,
|
|
44
|
+
max: 3.2,
|
|
45
|
+
},
|
|
46
|
+
},
|
|
47
|
+
},
|
|
13
48
|
],
|
|
14
|
-
fill: false,
|
|
15
49
|
};
|
|
@@ -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
|
-
* v4.0.0-
|
|
7
|
+
* v4.0.0-beta.0
|
|
8
8
|
*/
|
|
9
9
|
"use strict";
|
|
10
10
|
/*
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
\*********************************/
|
|
24
24
|
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
25
25
|
|
|
26
|
-
eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ options: () => (/* binding */ options)\n/* harmony export */ });\nconst options = {\n name: \"Hologram\",\n background: \"#000a0d\",\n blendMode: \"screen\",\n colors: [\n \"#
|
|
26
|
+
eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ options: () => (/* binding */ options)\n/* harmony export */ });\nconst options = {\n name: \"Hologram\",\n background: \"#000a0d\",\n blendMode: \"screen\",\n colors: [\n {\n fill: {\n enable: true,\n value: [\n \"#003844\",\n \"#007A8A\",\n \"#00C6C7\",\n \"#68EEFF\",\n \"#8F76FF\",\n \"#D89CFF\"\n ]\n }\n },\n {\n stroke: {\n value: [\n \"#AAFFFF\",\n \"#C8FAFF\",\n \"#8CEBFF\"\n ],\n width: {\n min: 0.6,\n max: 1.4\n }\n }\n },\n {\n fill: {\n enable: true,\n value: [\n \"#003844\",\n \"#007A8A\",\n \"#00C6C7\",\n \"#68EEFF\",\n \"#8F76FF\",\n \"#D89CFF\"\n ]\n },\n stroke: {\n value: [\n \"#00F0FF\",\n \"#8F76FF\",\n \"#FFFFFF\"\n ],\n width: {\n min: 1.6,\n max: 3.2\n }\n }\n }\n ]\n};\n\n\n//# sourceURL=webpack://@tsparticles/palette-hologram/./dist/browser/options.js?\n}");
|
|
27
27
|
|
|
28
28
|
/***/ }
|
|
29
29
|
|
package/esm/options.js
CHANGED
|
@@ -3,13 +3,47 @@ export const options = {
|
|
|
3
3
|
background: "#000a0d",
|
|
4
4
|
blendMode: "screen",
|
|
5
5
|
colors: [
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
6
|
+
{
|
|
7
|
+
fill: {
|
|
8
|
+
enable: true,
|
|
9
|
+
value: [
|
|
10
|
+
"#003844",
|
|
11
|
+
"#007A8A",
|
|
12
|
+
"#00C6C7",
|
|
13
|
+
"#68EEFF",
|
|
14
|
+
"#8F76FF",
|
|
15
|
+
"#D89CFF",
|
|
16
|
+
],
|
|
17
|
+
},
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
stroke: {
|
|
21
|
+
value: ["#AAFFFF", "#C8FAFF", "#8CEBFF"],
|
|
22
|
+
width: {
|
|
23
|
+
min: 0.6,
|
|
24
|
+
max: 1.4,
|
|
25
|
+
},
|
|
26
|
+
},
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
fill: {
|
|
30
|
+
enable: true,
|
|
31
|
+
value: [
|
|
32
|
+
"#003844",
|
|
33
|
+
"#007A8A",
|
|
34
|
+
"#00C6C7",
|
|
35
|
+
"#68EEFF",
|
|
36
|
+
"#8F76FF",
|
|
37
|
+
"#D89CFF",
|
|
38
|
+
],
|
|
39
|
+
},
|
|
40
|
+
stroke: {
|
|
41
|
+
value: ["#00F0FF", "#8F76FF", "#FFFFFF"],
|
|
42
|
+
width: {
|
|
43
|
+
min: 1.6,
|
|
44
|
+
max: 3.2,
|
|
45
|
+
},
|
|
46
|
+
},
|
|
47
|
+
},
|
|
13
48
|
],
|
|
14
|
-
fill: false,
|
|
15
49
|
};
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tsparticles/palette-hologram",
|
|
3
|
-
"version": "4.0.0-
|
|
3
|
+
"version": "4.0.0-beta.0",
|
|
4
4
|
"description": "tsParticles hologram palette",
|
|
5
5
|
"homepage": "https://particles.js.org",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
|
-
"url": "git+https://github.com/tsparticles/
|
|
9
|
-
"directory": "palettes/hologram"
|
|
8
|
+
"url": "git+https://github.com/tsparticles/palettes.git",
|
|
9
|
+
"directory": "palettes/tech/hologram"
|
|
10
10
|
},
|
|
11
11
|
"keywords": [
|
|
12
12
|
"front-end",
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
"author": "Matteo Bruni <matteo.bruni@me.com>",
|
|
66
66
|
"license": "MIT",
|
|
67
67
|
"bugs": {
|
|
68
|
-
"url": "https://github.com/tsparticles/
|
|
68
|
+
"url": "https://github.com/tsparticles/palettes/issues"
|
|
69
69
|
},
|
|
70
70
|
"funding": [
|
|
71
71
|
{
|
|
@@ -99,7 +99,7 @@
|
|
|
99
99
|
"./package.json": "./package.json"
|
|
100
100
|
},
|
|
101
101
|
"dependencies": {
|
|
102
|
-
"@tsparticles/engine": "^4.0.0-beta.
|
|
102
|
+
"@tsparticles/engine": "^4.0.0-beta.11"
|
|
103
103
|
},
|
|
104
104
|
"publishConfig": {
|
|
105
105
|
"access": "public"
|
package/report.html
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<head>
|
|
4
4
|
<meta charset="UTF-8" />
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
6
|
-
<title>@tsparticles/palette-hologram [
|
|
6
|
+
<title>@tsparticles/palette-hologram [8 Apr 2026 at 22:40]</title>
|
|
7
7
|
<link
|
|
8
8
|
rel="shortcut icon"
|
|
9
9
|
href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAMAAACdt4HsAAABrVBMVEUAAAD///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////+O1foceMD///+J0/qK1Pr7/v8Xdr/9///W8P4UdL7L7P0Scr2r4Pyj3vwad8D5/f/2/f+55f3E6f34+/2H0/ojfMKpzOd0rNgQcb3F3O/j9f7c8v6g3Pz0/P/w+v/q+P7n9v6T1/uQ1vuE0vqLut/y+v+Z2fvt+f+15Pzv9fuc2/vR7v2V2Pvd6/bg9P7I6/285/2y4/yp3/zp8vk8i8kqgMT7/P31+fyv4vxGkcz6/P6/6P3j7vfS5PNnpNUxhcbO7f7F6v3O4vHK3/DA2u631Ouy0eqXweKJud5wqthfoNMMbLvY8f73+v2dxeR8sNtTmdDx9/zX6PSjyeaCtd1YnNGX2PuQveCGt95Nls42h8dLlM3F4vBtAAAAM3RSTlMAAyOx0/sKBvik8opWGBMOAe3l1snDm2E9LSb06eHcu5JpHbarfHZCN9CBb08zzkdNS0kYaptYAAAFV0lEQVRYw92X51/aYBDHHS2O2qqttVbrqNq9m+TJIAYIShBkWwqIiCgoWvfeq7Z2/s29hyQNyUcR7LveGwVyXy6XH8/9rqxglLfUPLxVduUor3h0rfp2TYvpivk37929TkG037hffoX0+peVtZQc1589rigVUdXS/ABSAyEmGIO/1XfvldSK8vs3OqB6u3m0nxmIrvgB0dj7rr7Y9IbuF68hnfFaiHA/sxqm0wciIG43P60qKv9WXWc1RXGh/mFESFABTSBi0sNAKzqet17eCtOb3kZIDwxEEU0oAIJGYxNBDhBND29e0rtXXbcpuPmED9IhEAAQ/AXEaF8EPmnrrKsv0LvWR3fg5sWDNAFZOgAgaKvZDogHNU9MFwnnYROkc56RD5CjAbQX9Ow4g7upCsvYu55aSI/Nj0H1akgKQEUM94dwK65hYRmFU9MIcH/fqJYOZYcnuJSU/waKDgTOEVaVKhwrTRP5XzgSpAITYzom7UvkhFX5VutmxeNnWDjjswTKTyfgluNDGbUpWissXhF3s7mlSml+czWkg3D0l1nNjGNjz3myOQOa1KM/jOS6ebdbAVTCi4gljHSFrviza7tOgRWcS0MOUX9zdNgag5w7rRqA44Lzw0hr1WqES36dFliSJFlh2rXIae3FFcDDgKdxrUIDePr8jGcSClV1u7A9xeN0ModY/pHMxmR1EzRh8TJiwqsHmKW0l4FCEZI+jHio+JdPPE9qwQtTRxku2D8sIeRL2LnxWSllANCQGOIiqVHAz2ye2JR0DcH+HoxDkaADLjgxjKQ+AwCX/g0+DNgdG0ukYCONAe+dbc2IAc6fwt1ARoDSezNHxV2Cmzwv3O6lDMV55edBGwGK9n1+x2F8EDfAGCxug8MhpsMEcTEAWf3rx2vZhe/LAmtIn/6apE6PN0ULKgywD9mmdxbmFl3OvD5AS5fW5zLbv/YHmcsBTjf/afDz3MaZTVCfAP9z6/Bw6ycv8EUBWJIn9zYcoAWWlW9+OzO3vkTy8H+RANLmdrpOuYWdZYEXpo+TlCJrW5EARb7fF+bWdqf3hhyZI1nWJQHgznErZhbjoEsWqi8dQNoE294aldzFurwSABL2XXMf9+H1VQGke9exw5P/AnA5Pv5ngMul7LOvO922iwACu8WkCwLCafvM4CeWPxfA8lNHcWZSoi8EwMAIciKX2Z4SWCMAa3snCZ/G4EA8D6CMLNFsGQhkkz/gQNEBbPCbWsxGUpYVu3z8IyNAknwJkfPMEhLyrdi5RTyUVACkw4GSFRNWJNEW+fgPGwHD8/JxnRuLabN4CGNRkAE23na2+VmEAUmrYymSGjMAYqH84YUIyzgzs3XC7gNgH36Vcc4zKY9o9fgPBXUAiHHwVboBHGLiX6Zcjp1f2wu4tvzZKo0ecPnDtQYDQvJXaBeNzce45Fp28ZQLrEZVuFqgBwOalArKXnW1UzlnSusQKJqKYNuz4tOnI6sZG4zanpemv+7ySU2jbA9h6uhcgpfy6G2PahirDZ6zvq6zDduMVFTKvzw8wgyEdelwY9in3XkEPs3osJuwRQ4qTkfzifndg9Gfc4pdsu82+tTnHZTBa2EAMrqr2t43pguc8tNm7JQVQ2S0ukj2d22dhXYP0/veWtwKrCkNoNimAN5+Xr/oLrxswKbVJjteWrX7eR63o4j9q0GxnaBdWgGA5VStpanIjQmEhV0/nVt5VOFUvix6awJhPcAaTEShgrG+iGyvb5a0Ndb1YGHFPEwoqAinoaykaID1o1pdPNu7XsnCKQ3R+hwWIIhGvORcJUBYXe3Xa3vq/mF/N9V13ugufMkfXn+KHsRD0B8AAAAASUVORK5CYII="
|
|
@@ -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
|
-
* v4.0.0-
|
|
7
|
+
* v4.0.0-beta.0
|
|
8
8
|
*/
|
|
9
9
|
/*
|
|
10
10
|
* ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var r=t();for(var o in r)("object"==typeof exports?exports:e)[o]=r[o]}}(this,()=>(()=>{"use strict";var e,t,r,o={},a={};function n(e){var t=a[e];if(void 0!==t)return t.exports;var r=a[e]={exports:{}};return o[e](r,r.exports,n),r.exports}n.m=o,n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.f={},n.e=e=>Promise.all(Object.keys(n.f).reduce((t,r)=>(n.f[r](e,t),t),[])),n.u=e=>""+e+".min.js",n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),i={},n.l=(e,t,r,o)=>{if(i[e])return void i[e].push(t);if(void 0!==r)for(var a,l,s=document.getElementsByTagName("script"),p=0;p<s.length;p++){var c=s[p];if(c.getAttribute("src")==e||c.getAttribute("data-webpack")=="@tsparticles/palette-hologram:"+r){a=c;break}}a||(l=!0,(a=document.createElement("script")).charset="utf-8",n.nc&&a.setAttribute("nonce",n.nc),a.setAttribute("data-webpack","@tsparticles/palette-hologram:"+r),a.src=e),i[e]=[t];var u=(t,r)=>{a.onerror=a.onload=null,clearTimeout(d);var o=i[e];if(delete i[e],a.parentNode&&a.parentNode.removeChild(a),o&&o.forEach(e=>e(r)),t)return t(r)},d=setTimeout(u.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=u.bind(null,a.onerror),a.onload=u.bind(null,a.onload),l&&document.head.appendChild(a)},n.r=e=>{"u">typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.g.importScripts&&(l=n.g.location+"");var i,l,s=n.g.document;if(!l&&s&&(s.currentScript&&"SCRIPT"===s.currentScript.tagName.toUpperCase()&&(l=s.currentScript.src),!l)){var p=s.getElementsByTagName("script");if(p.length)for(var c=p.length-1;c>-1&&(!l||!/^http(s?):/.test(l));)l=p[c--].src}if(!l)throw Error("Automatic publicPath is not supported in this browser");n.p=l=l.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),e={601:0},n.f.j=(t,r)=>{var o=n.o(e,t)?e[t]:void 0;if(0!==o)if(o)r.push(o[2]);else{var a=new Promise((r,a)=>o=e[t]=[r,a]);r.push(o[2]=a);var i=n.p+n.u(t),l=Error();n.l(i,r=>{if(n.o(e,t)&&(0!==(o=e[t])&&(e[t]=void 0),o)){var a=r&&("load"===r.type?"missing":r.type),i=r&&r.target&&r.target.src;l.message="Loading chunk "+t+` failed.
|
|
2
|
-
(`+a+": "+i+")",l.name="ChunkLoadError",l.type=a,l.request=i,o[1](l)}},"chunk-"+t,t)}},t=(t,r)=>{var o,a,[i,l,s]=r,p=0;if(i.some(t=>0!==e[t])){for(o in l)n.o(l,o)&&(n.m[o]=l[o]);s&&s(n)}for(t&&t(r);p<i.length;p++)a=i[p],n.o(e,a)&&e[a]&&e[a][0](),e[a]=0},(r=this.webpackChunk_tsparticles_palette_hologram=this.webpackChunk_tsparticles_palette_hologram||[]).forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r));var u={};async function d(e){await e.pluginManager.register(async e=>{let{options:t}=await n.e(
|
|
2
|
+
(`+a+": "+i+")",l.name="ChunkLoadError",l.type=a,l.request=i,o[1](l)}},"chunk-"+t,t)}},t=(t,r)=>{var o,a,[i,l,s]=r,p=0;if(i.some(t=>0!==e[t])){for(o in l)n.o(l,o)&&(n.m[o]=l[o]);s&&s(n)}for(t&&t(r);p<i.length;p++)a=i[p],n.o(e,a)&&e[a]&&e[a][0](),e[a]=0},(r=this.webpackChunk_tsparticles_palette_hologram=this.webpackChunk_tsparticles_palette_hologram||[]).forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r));var u={};async function d(e){await e.pluginManager.register(async e=>{let{options:t}=await n.e(428).then(n.bind(n,428));e.pluginManager.addPalette("hologram",t)})}return n.r(u),n.d(u,{loadHologramPalette:()=>d}),u})());
|
package/28.min.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(this.webpackChunk_tsparticles_palette_hologram=this.webpackChunk_tsparticles_palette_hologram||[]).push([[28],{28(e,t,F){F.d(t,{options:()=>a});let a={name:"Hologram",background:"#000a0d",blendMode:"screen",colors:["#003344","#006688","#00AACC","#00DDFF","#44EEFF","#AAFFFF","#FFFFFF"],fill:!1}}}]);
|
package/umd/index.js
DELETED
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
2
|
-
if (k2 === undefined) k2 = k;
|
|
3
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
4
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
5
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
6
|
-
}
|
|
7
|
-
Object.defineProperty(o, k2, desc);
|
|
8
|
-
}) : (function(o, m, k, k2) {
|
|
9
|
-
if (k2 === undefined) k2 = k;
|
|
10
|
-
o[k2] = m[k];
|
|
11
|
-
}));
|
|
12
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
13
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
14
|
-
}) : function(o, v) {
|
|
15
|
-
o["default"] = v;
|
|
16
|
-
});
|
|
17
|
-
var __importStar = (this && this.__importStar) || (function () {
|
|
18
|
-
var ownKeys = function(o) {
|
|
19
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
20
|
-
var ar = [];
|
|
21
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
22
|
-
return ar;
|
|
23
|
-
};
|
|
24
|
-
return ownKeys(o);
|
|
25
|
-
};
|
|
26
|
-
return function (mod) {
|
|
27
|
-
if (mod && mod.__esModule) return mod;
|
|
28
|
-
var result = {};
|
|
29
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
30
|
-
__setModuleDefault(result, mod);
|
|
31
|
-
return result;
|
|
32
|
-
};
|
|
33
|
-
})();
|
|
34
|
-
(function (factory) {
|
|
35
|
-
if (typeof module === "object" && typeof module.exports === "object") {
|
|
36
|
-
var v = factory(require, exports);
|
|
37
|
-
if (v !== undefined) module.exports = v;
|
|
38
|
-
}
|
|
39
|
-
else if (typeof define === "function" && define.amd) {
|
|
40
|
-
define(["require", "exports"], factory);
|
|
41
|
-
}
|
|
42
|
-
})(function (require, exports) {
|
|
43
|
-
"use strict";
|
|
44
|
-
var __syncRequire = typeof module === "object" && typeof module.exports === "object";
|
|
45
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
46
|
-
exports.loadHologramPalette = loadHologramPalette;
|
|
47
|
-
const paletteName = "hologram";
|
|
48
|
-
async function loadHologramPalette(engine) {
|
|
49
|
-
await engine.pluginManager.register(async (e) => {
|
|
50
|
-
const { options } = await (__syncRequire ? Promise.resolve().then(() => __importStar(require("./options.js"))) : new Promise((resolve_1, reject_1) => { require(["./options.js"], resolve_1, reject_1); }).then(__importStar));
|
|
51
|
-
e.pluginManager.addPalette(paletteName, options);
|
|
52
|
-
});
|
|
53
|
-
}
|
|
54
|
-
});
|
package/umd/options.js
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
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
|
-
exports.options = void 0;
|
|
13
|
-
exports.options = {
|
|
14
|
-
name: "Hologram",
|
|
15
|
-
background: "#000a0d",
|
|
16
|
-
blendMode: "screen",
|
|
17
|
-
colors: [
|
|
18
|
-
"#003344",
|
|
19
|
-
"#006688",
|
|
20
|
-
"#00AACC",
|
|
21
|
-
"#00DDFF",
|
|
22
|
-
"#44EEFF",
|
|
23
|
-
"#AAFFFF",
|
|
24
|
-
"#FFFFFF",
|
|
25
|
-
],
|
|
26
|
-
fill: false,
|
|
27
|
-
};
|
|
28
|
-
});
|