@tsparticles/palette-heat-duality 4.0.0-beta.0 → 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_heat_duality=this.webpackChunk_tsparticles_palette_heat_duality||[]).push([[428],{428(e,t,a){a.d(t,{options:()=>l});let l={name:"Heat Duality",background:"#0a0500",blendMode:"source-over",colors:{fill:{enable:!0,value:["#0022AA","#FF4400"]}}}}}]);
1
+ "use strict";(this.webpackChunk_tsparticles_palette_heat_duality=this.webpackChunk_tsparticles_palette_heat_duality||[]).push([[264],{264(e,t,a){a.d(t,{options:()=>l});let l={name:"Heat Duality",background:"#0a0500",blendMode:"source-over",colors:{fill:{enable:!0,value:["#0022AA","#FF4400"]}}}}}]);
package/README.md CHANGED
@@ -46,15 +46,18 @@
46
46
  ## Quick checklist
47
47
 
48
48
  1. Install `@tsparticles/engine` (or use the CDN bundle below)
49
- 2. Call the package loader function(s) before `tsParticles.load(...)`
50
- 3. Apply the package options in your `tsParticles.load(...)` config
49
+ 2. Load a base package (for example `@tsparticles/basic`) and call `loadHeatDualityPalette` before `tsParticles.load(...)`
50
+ 3. Apply the palette plus a minimal particles configuration in your options
51
+
52
+ A palette defines colors, not complete behavior, so pair it with a runtime package and particle options.
51
53
 
52
54
  ## How to use it
53
55
 
54
56
  ### CDN / Vanilla JS / jQuery
55
57
 
56
58
  ```html
57
- <script src="https://cdn.jsdelivr.net/npm/@tsparticles/palette-heat-duality@3/tsparticles.palette.heat-duality.bundle.min.js"></script>
59
+ <script src="https://cdn.jsdelivr.net/npm/@tsparticles/basic@4/tsparticles.basic.bundle.min.js"></script>
60
+ <script src="https://cdn.jsdelivr.net/npm/@tsparticles/palette-heat-duality@4/tsparticles.palette.heat-duality.min.js"></script>
58
61
  ```
59
62
 
60
63
  ### Usage
@@ -62,16 +65,28 @@
62
65
  Once the scripts are loaded you can set up `tsParticles` like this:
63
66
 
64
67
  ```javascript
65
- (async () => {
66
- await loadHeatDualityPalette(tsParticles);
68
+ (async engine => {
69
+ await loadBasic(engine);
70
+ await loadHeatDualityPalette(engine);
67
71
 
68
- await tsParticles.load({
69
- id: "tsparticles",
70
- options: {
71
- palette: "heat-duality",
72
+ const options = {
73
+ particles: {
74
+ number: { value: 200 },
75
+ shape: { type: "circle" },
76
+ size: { value: { min: 10, max: 15 } },
77
+ move: {
78
+ enable: true,
79
+ speed: 2,
80
+ },
72
81
  },
82
+ palette: "heat-duality",
83
+ };
84
+
85
+ await engine.load({
86
+ id: "tsparticles",
87
+ options,
73
88
  });
74
- })();
89
+ })(tsParticles);
75
90
  ```
76
91
 
77
92
  #### 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-beta.0
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-heat-duality",
3
- "version": "4.0.0-beta.0",
3
+ "version": "4.0.0-beta.12",
4
4
  "description": "tsParticles heat duality 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/atmospheric/heatDuality"
10
10
  },
11
11
  "keywords": [
@@ -99,7 +99,7 @@
99
99
  "./package.json": "./package.json"
100
100
  },
101
101
  "dependencies": {
102
- "@tsparticles/engine": "^4.0.0-beta.11"
102
+ "@tsparticles/engine": "4.0.0-beta.12"
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-heat-duality [8 Apr 2026 at 22:40]</title>
6
+ <title>@tsparticles/palette-heat-duality [15 Apr 2026 at 17:15]</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/AXEaF8EPmnrrKsv0LvWR3fg5sWDNAFZOgAgaKvZDogHNU9MFwnnYROkc56R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tOnI6sZG4zanpemv+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-beta.0
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 a in r)("object"==typeof exports?exports:e)[a]=r[a]}}(this,()=>(()=>{"use strict";var e,t,r,a={},o={};function i(e){var t=o[e];if(void 0!==t)return t.exports;var r=o[e]={exports:{}};return a[e](r,r.exports,i),r.exports}i.m=a,i.d=(e,t)=>{for(var r in t)i.o(t,r)&&!i.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},i.f={},i.e=e=>Promise.all(Object.keys(i.f).reduce((t,r)=>(i.f[r](e,t),t),[])),i.u=e=>""+e+".min.js",i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}}(),i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n={},i.l=(e,t,r,a)=>{if(n[e])return void n[e].push(t);if(void 0!==r)for(var o,l,s=document.getElementsByTagName("script"),u=0;u<s.length;u++){var p=s[u];if(p.getAttribute("src")==e||p.getAttribute("data-webpack")=="@tsparticles/palette-heat-duality:"+r){o=p;break}}o||(l=!0,(o=document.createElement("script")).charset="utf-8",i.nc&&o.setAttribute("nonce",i.nc),o.setAttribute("data-webpack","@tsparticles/palette-heat-duality:"+r),o.src=e),n[e]=[t];var c=(t,r)=>{o.onerror=o.onload=null,clearTimeout(d);var a=n[e];if(delete n[e],o.parentNode&&o.parentNode.removeChild(o),a&&a.forEach(e=>e(r)),t)return t(r)},d=setTimeout(c.bind(null,void 0,{type:"timeout",target:o}),12e4);o.onerror=c.bind(null,o.onerror),o.onload=c.bind(null,o.onload),l&&document.head.appendChild(o)},i.r=e=>{"u">typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.g.importScripts&&(l=i.g.location+"");var n,l,s=i.g.document;if(!l&&s&&(s.currentScript&&"SCRIPT"===s.currentScript.tagName.toUpperCase()&&(l=s.currentScript.src),!l)){var u=s.getElementsByTagName("script");if(u.length)for(var p=u.length-1;p>-1&&(!l||!/^http(s?):/.test(l));)l=u[p--].src}if(!l)throw Error("Automatic publicPath is not supported in this browser");i.p=l=l.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),e={335:0},i.f.j=(t,r)=>{var a=i.o(e,t)?e[t]:void 0;if(0!==a)if(a)r.push(a[2]);else{var o=new Promise((r,o)=>a=e[t]=[r,o]);r.push(a[2]=o);var n=i.p+i.u(t),l=Error();i.l(n,r=>{if(i.o(e,t)&&(0!==(a=e[t])&&(e[t]=void 0),a)){var o=r&&("load"===r.type?"missing":r.type),n=r&&r.target&&r.target.src;l.message="Loading chunk "+t+` failed.
2
- (`+o+": "+n+")",l.name="ChunkLoadError",l.type=o,l.request=n,a[1](l)}},"chunk-"+t,t)}},t=(t,r)=>{var a,o,[n,l,s]=r,u=0;if(n.some(t=>0!==e[t])){for(a in l)i.o(l,a)&&(i.m[a]=l[a]);s&&s(i)}for(t&&t(r);u<n.length;u++)o=n[u],i.o(e,o)&&e[o]&&e[o][0](),e[o]=0},(r=this.webpackChunk_tsparticles_palette_heat_duality=this.webpackChunk_tsparticles_palette_heat_duality||[]).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 i.e(428).then(i.bind(i,428));e.pluginManager.addPalette("heat-duality",t)})}return i.r(c),i.d(c,{loadHeatDualityPalette:()=>d}),c})());
2
+ (`+o+": "+n+")",l.name="ChunkLoadError",l.type=o,l.request=n,a[1](l)}},"chunk-"+t,t)}},t=(t,r)=>{var a,o,[n,l,s]=r,u=0;if(n.some(t=>0!==e[t])){for(a in l)i.o(l,a)&&(i.m[a]=l[a]);s&&s(i)}for(t&&t(r);u<n.length;u++)o=n[u],i.o(e,o)&&e[o]&&e[o][0](),e[o]=0},(r=this.webpackChunk_tsparticles_palette_heat_duality=this.webpackChunk_tsparticles_palette_heat_duality||[]).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 i.e(264).then(i.bind(i,264));e.pluginManager.addPalette("heat-duality",t)})}return i.r(c),i.d(c,{loadHeatDualityPalette:()=>d}),c})());