@tsparticles/palette-dust-haze 4.0.0-alpha.5 → 4.0.0-beta.12

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.
@@ -1 +1 @@
1
- "use strict";(this.webpackChunk_tsparticles_palette_dust_haze=this.webpackChunk_tsparticles_palette_dust_haze||[]).push([[428],{428(e,t,s){s.d(t,{options:()=>a});let a={name:"Dust Haze",background:"#1a1200",blendMode:"source-over",colors:{fill:{enable:!0,value:["#443300","#775500","#AA8833","#CCAA55","#DDBB77","#EED099"]}}}}}]);
1
+ "use strict";(this.webpackChunk_tsparticles_palette_dust_haze=this.webpackChunk_tsparticles_palette_dust_haze||[]).push([[264],{264(e,t,s){s.d(t,{options:()=>a});let a={name:"Dust Haze",background:"#1a1200",blendMode:"source-over",colors:{fill:{enable:!0,value:["#443300","#775500","#AA8833","#CCAA55","#DDBB77","#EED099"]}}}}}]);
package/README.md CHANGED
@@ -64,15 +64,18 @@
64
64
  ## Quick checklist
65
65
 
66
66
  1. Install `@tsparticles/engine` (or use the CDN bundle below)
67
- 2. Call the package loader function(s) before `tsParticles.load(...)`
68
- 3. Apply the package options in your `tsParticles.load(...)` config
67
+ 2. Load a base package (for example `@tsparticles/basic`) and call `loadDustHazePalette` before `tsParticles.load(...)`
68
+ 3. Apply the palette plus a minimal particles configuration in your options
69
+
70
+ A palette defines colors, not complete behavior, so pair it with a runtime package and particle options.
69
71
 
70
72
  ## How to use it
71
73
 
72
74
  ### CDN / Vanilla JS / jQuery
73
75
 
74
76
  ```html
75
- <script src="https://cdn.jsdelivr.net/npm/@tsparticles/palette-dust-haze@4/tsparticles.palette-dust-haze.bundle.min.js"></script>
77
+ <script src="https://cdn.jsdelivr.net/npm/@tsparticles/basic@4/tsparticles.basic.bundle.min.js"></script>
78
+ <script src="https://cdn.jsdelivr.net/npm/@tsparticles/palette-dust-haze@4/tsparticles.palette-dust-haze.min.js"></script>
76
79
  ```
77
80
 
78
81
  ### Usage
@@ -80,16 +83,28 @@
80
83
  Once the scripts are loaded you can set up `tsParticles` like this:
81
84
 
82
85
  ```javascript
83
- (async () => {
84
- await loadDustHazePalette(tsParticles);
86
+ (async engine => {
87
+ await loadBasic(engine);
88
+ await loadDustHazePalette(engine);
89
+
90
+ const options = {
91
+ particles: {
92
+ number: { value: 200 },
93
+ shape: { type: "circle" },
94
+ size: { value: { min: 10, max: 15 } },
95
+ move: {
96
+ enable: true,
97
+ speed: 2,
98
+ },
99
+ },
100
+ palette: "dust-haze",
101
+ };
85
102
 
86
- await tsParticles.load({
103
+ await engine.load({
87
104
  id: "tsparticles",
88
- options: {
89
- palette: "dust-haze",
90
- },
105
+ options,
91
106
  });
92
- })();
107
+ })(tsParticles);
93
108
  ```
94
109
 
95
110
  #### Customization
@@ -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-alpha.5
7
+ * v4.0.0-beta.12
8
8
  */
9
9
  "use strict";
10
10
  /*
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@tsparticles/palette-dust-haze",
3
- "version": "4.0.0-alpha.5",
3
+ "version": "4.0.0-beta.12",
4
4
  "description": "tsParticles dust haze atmosphere palette",
5
5
  "homepage": "https://particles.js.org",
6
6
  "repository": {
7
7
  "type": "git",
8
- "url": "git+https://github.com/tsparticles/palettes.git",
8
+ "url": "git+https://github.com/tsparticles/tsparticles.git",
9
9
  "directory": "palettes/atmosphere/dustHaze"
10
10
  },
11
11
  "keywords": [
@@ -98,7 +98,7 @@
98
98
  "./package.json": "./package.json"
99
99
  },
100
100
  "dependencies": {
101
- "@tsparticles/engine": "^4.0.0-beta.11"
101
+ "@tsparticles/engine": "4.0.0-beta.12"
102
102
  },
103
103
  "type": "module",
104
104
  "jsdelivr": "tsparticles.palette-dust-haze.min.js",
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-dust-haze [9 Apr 2026 at 00:29]</title>
6
+ <title>@tsparticles/palette-dust-haze [15 Apr 2026 at 17:14]</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/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QYDQvJXaBeNzce45Fp28ZQLrEZVuFqgBwOalArKXnW1UzlnSusQKJqKYNuz4tOnI6sZG4zanpemv+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-alpha.5
7
+ * v4.0.0-beta.12
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,s,l=document.getElementsByTagName("script"),u=0;u<l.length;u++){var p=l[u];if(p.getAttribute("src")==e||p.getAttribute("data-webpack")=="@tsparticles/palette-dust-haze:"+r){a=p;break}}a||(s=!0,(a=document.createElement("script")).charset="utf-8",n.nc&&a.setAttribute("nonce",n.nc),a.setAttribute("data-webpack","@tsparticles/palette-dust-haze:"+r),a.src=e),i[e]=[t];var c=(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(c.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=c.bind(null,a.onerror),a.onload=c.bind(null,a.onload),s&&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&&(s=n.g.location+"");var i,s,l=n.g.document;if(!s&&l&&(l.currentScript&&"SCRIPT"===l.currentScript.tagName.toUpperCase()&&(s=l.currentScript.src),!s)){var u=l.getElementsByTagName("script");if(u.length)for(var p=u.length-1;p>-1&&(!s||!/^http(s?):/.test(s));)s=u[p--].src}if(!s)throw Error("Automatic publicPath is not supported in this browser");n.p=s=s.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),e={291: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),s=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;s.message="Loading chunk "+t+` failed.
2
- (`+a+": "+i+")",s.name="ChunkLoadError",s.type=a,s.request=i,o[1](s)}},"chunk-"+t,t)}},t=(t,r)=>{var o,a,[i,s,l]=r,u=0;if(i.some(t=>0!==e[t])){for(o in s)n.o(s,o)&&(n.m[o]=s[o]);l&&l(n)}for(t&&t(r);u<i.length;u++)a=i[u],n.o(e,a)&&e[a]&&e[a][0](),e[a]=0},(r=this.webpackChunk_tsparticles_palette_dust_haze=this.webpackChunk_tsparticles_palette_dust_haze||[]).forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r));var c={};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("dust-haze",t)})}return n.r(c),n.d(c,{loadDustHazePalette:()=>d}),c})());
2
+ (`+a+": "+i+")",s.name="ChunkLoadError",s.type=a,s.request=i,o[1](s)}},"chunk-"+t,t)}},t=(t,r)=>{var o,a,[i,s,l]=r,u=0;if(i.some(t=>0!==e[t])){for(o in s)n.o(s,o)&&(n.m[o]=s[o]);l&&l(n)}for(t&&t(r);u<i.length;u++)a=i[u],n.o(e,a)&&e[a]&&e[a][0](),e[a]=0},(r=this.webpackChunk_tsparticles_palette_dust_haze=this.webpackChunk_tsparticles_palette_dust_haze||[]).forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r));var c={};async function d(e){await e.pluginManager.register(async e=>{let{options:t}=await n.e(264).then(n.bind(n,264));e.pluginManager.addPalette("dust-haze",t)})}return n.r(c),n.d(c,{loadDustHazePalette:()=>d}),c})());