@tsparticles/shape-cards 4.0.0-beta.1 → 4.0.0-beta.10
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/{691.min.js → 192.min.js} +1 -1
- package/{453.min.js → 558.min.js} +1 -1
- package/{555.min.js → 676.min.js} +1 -1
- package/{959.min.js → 712.min.js} +1 -1
- package/855.min.js +1 -0
- package/README.md +35 -0
- package/browser/cards/index.js +1 -1
- package/browser/clubs/index.js +1 -1
- package/browser/diamonds/index.js +1 -1
- package/browser/hearts/index.js +1 -1
- package/browser/index.js +6 -23
- package/browser/spades/index.js +1 -1
- package/browser/suits.js +21 -0
- package/cjs/cards/index.js +1 -1
- package/cjs/clubs/index.js +1 -1
- package/cjs/diamonds/index.js +1 -1
- package/cjs/hearts/index.js +1 -1
- package/cjs/index.js +6 -23
- package/cjs/spades/index.js +1 -1
- package/cjs/suits.js +21 -0
- package/dist_browser_cards_CardDrawer_js.js +1 -1
- package/dist_browser_clubs_ClubDrawer_js.js +1 -1
- package/dist_browser_diamonds_DiamondDrawer_js.js +1 -1
- package/dist_browser_hearts_HeartDrawer_js.js +1 -1
- package/dist_browser_spades_SpadeDrawer_js.js +1 -1
- package/esm/cards/index.js +1 -1
- package/esm/clubs/index.js +1 -1
- package/esm/diamonds/index.js +1 -1
- package/esm/hearts/index.js +1 -1
- package/esm/index.js +6 -23
- package/esm/spades/index.js +1 -1
- package/esm/suits.js +21 -0
- package/package.json +47 -6
- package/report.html +1 -1
- package/tsparticles.shape.cards.js +17 -7
- package/tsparticles.shape.cards.min.js +2 -2
- package/types/index.d.ts +1 -5
- package/types/suits.d.ts +6 -0
- package/27.min.js +0 -1
- package/umd/CardParticle.js +0 -12
- package/umd/CardValue.js +0 -29
- package/umd/ICardData.js +0 -12
- package/umd/ICardSuitsPath.js +0 -12
- package/umd/SuitType.js +0 -20
- package/umd/cards/CardDrawer.js +0 -39
- package/umd/cards/index.js +0 -56
- package/umd/clubs/ClubDrawer.js +0 -22
- package/umd/clubs/index.js +0 -56
- package/umd/diamonds/DiamondDrawer.js +0 -22
- package/umd/diamonds/index.js +0 -56
- package/umd/hearts/HeartDrawer.js +0 -22
- package/umd/hearts/index.js +0 -56
- package/umd/index.js +0 -83
- package/umd/paths.js +0 -187
- package/umd/spades/SpadeDrawer.js +0 -22
- package/umd/spades/index.js +0 -56
- package/umd/utils.js +0 -113
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(this.webpackChunk_tsparticles_shape_cards=this.webpackChunk_tsparticles_shape_cards||[]).push([[
|
|
1
|
+
"use strict";(this.webpackChunk_tsparticles_shape_cards=this.webpackChunk_tsparticles_shape_cards||[]).push([[192],{682(e,y,t){var p,x;t.d(y,{U:()=>p}),(x=p||(p={})).hearts="hearts",x.diamonds="diamonds",x.clubs="clubs",x.spades="spades"},192(e,y,t){t.d(y,{HeartDrawer:()=>s});var p=t(580),x=t(771);class s{draw(e){let{context:y,radius:t}=e;(0,p.drawPath)(y,t,x.f0.hearts)}}},771(e,y,t){t.d(y,{f0:()=>d});var p=t(580),x=t(303),s=t(682);let a=x.quarter*x.half,m=x.half,r=m*x.half,l=-m,n=-r,u=m*a,i=m*x.threeQuarter,b={half:!0,segments:[{type:p.SegmentType.bezier,values:[{x:x.empty,y:l},{x:x.empty,y:l},{x:r,y:l},{x:r,y:n}]},{type:p.SegmentType.bezier,values:[{x:r,y:n},{x:r,y:n},{x:m,y:n},{x:m,y:x.empty}]},{type:p.SegmentType.bezier,values:[{x:m,y:x.empty},{x:m,y:x.empty},{x:m,y:r},{x:r,y:r}]},{type:p.SegmentType.bezier,values:[{x:r,y:r},{x:r,y:r},{x:u,y:r},{x:u,y:u}]},{type:p.SegmentType.bezier,values:[{x:u,y:u},{x:u,y:r},{x:r,y:m},{x:r,y:m}]},{type:p.SegmentType.bezier,values:[{x:r,y:m},{x:r,y:m},{x:x.empty,y:m},{x:x.empty,y:m}]}]},g={half:!0,segments:[{type:p.SegmentType.bezier,values:[{x:x.empty,y:m},{x:x.empty,y:m},{x:i,y:x.empty},{x:i,y:x.empty}]},{type:p.SegmentType.bezier,values:[{x:i,y:x.empty},{x:i,y:x.empty},{x:x.empty,y:l},{x:x.empty,y:l}]}]},h={half:!0,segments:[{type:p.SegmentType.bezier,values:[{x:x.empty,y:m},{x:x.empty,y:m},{x:m,y:x.empty},{x:m,y:n}]},{type:p.SegmentType.bezier,values:[{x:m,y:n},{x:m,y:n},{x:m,y:l},{x:r,y:l}]},{type:p.SegmentType.bezier,values:[{x:r,y:l},{x:r,y:l},{x:x.empty,y:l},{x:x.empty,y:n}]}]},v={half:!0,segments:[{type:p.SegmentType.bezier,values:[{x:x.empty,y:l},{x:x.empty,y:l},{x:m,y:n},{x:m,y:x.empty}]},{type:p.SegmentType.bezier,values:[{x:m,y:x.empty},{x:m,y:x.empty},{x:m,y:r},{x:r,y:r}]},{type:p.SegmentType.bezier,values:[{x:r,y:r},{x:r,y:r},{x:u,y:r},{x:u,y:u}]},{type:p.SegmentType.bezier,values:[{x:u,y:u},{x:u,y:r},{x:r,y:m},{x:r,y:m}]},{type:p.SegmentType.bezier,values:[{x:r,y:m},{x:r,y:m},{x:x.empty,y:m},{x:x.empty,y:m}]}]},d={[s.U.hearts]:h,[s.U.diamonds]:g,[s.U.clubs]:b,[s.U.spades]:v}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(this.webpackChunk_tsparticles_shape_cards=this.webpackChunk_tsparticles_shape_cards||[]).push([[
|
|
1
|
+
"use strict";(this.webpackChunk_tsparticles_shape_cards=this.webpackChunk_tsparticles_shape_cards||[]).push([[558],{682(e,y,t){var p,x;t.d(y,{U:()=>p}),(x=p||(p={})).hearts="hearts",x.diamonds="diamonds",x.clubs="clubs",x.spades="spades"},771(e,y,t){t.d(y,{f0:()=>d});var p=t(580),x=t(303),s=t(682);let a=x.quarter*x.half,m=x.half,r=m*x.half,l=-m,n=-r,u=m*a,i=m*x.threeQuarter,b={half:!0,segments:[{type:p.SegmentType.bezier,values:[{x:x.empty,y:l},{x:x.empty,y:l},{x:r,y:l},{x:r,y:n}]},{type:p.SegmentType.bezier,values:[{x:r,y:n},{x:r,y:n},{x:m,y:n},{x:m,y:x.empty}]},{type:p.SegmentType.bezier,values:[{x:m,y:x.empty},{x:m,y:x.empty},{x:m,y:r},{x:r,y:r}]},{type:p.SegmentType.bezier,values:[{x:r,y:r},{x:r,y:r},{x:u,y:r},{x:u,y:u}]},{type:p.SegmentType.bezier,values:[{x:u,y:u},{x:u,y:r},{x:r,y:m},{x:r,y:m}]},{type:p.SegmentType.bezier,values:[{x:r,y:m},{x:r,y:m},{x:x.empty,y:m},{x:x.empty,y:m}]}]},g={half:!0,segments:[{type:p.SegmentType.bezier,values:[{x:x.empty,y:m},{x:x.empty,y:m},{x:i,y:x.empty},{x:i,y:x.empty}]},{type:p.SegmentType.bezier,values:[{x:i,y:x.empty},{x:i,y:x.empty},{x:x.empty,y:l},{x:x.empty,y:l}]}]},h={half:!0,segments:[{type:p.SegmentType.bezier,values:[{x:x.empty,y:m},{x:x.empty,y:m},{x:m,y:x.empty},{x:m,y:n}]},{type:p.SegmentType.bezier,values:[{x:m,y:n},{x:m,y:n},{x:m,y:l},{x:r,y:l}]},{type:p.SegmentType.bezier,values:[{x:r,y:l},{x:r,y:l},{x:x.empty,y:l},{x:x.empty,y:n}]}]},v={half:!0,segments:[{type:p.SegmentType.bezier,values:[{x:x.empty,y:l},{x:x.empty,y:l},{x:m,y:n},{x:m,y:x.empty}]},{type:p.SegmentType.bezier,values:[{x:m,y:x.empty},{x:m,y:x.empty},{x:m,y:r},{x:r,y:r}]},{type:p.SegmentType.bezier,values:[{x:r,y:r},{x:r,y:r},{x:u,y:r},{x:u,y:u}]},{type:p.SegmentType.bezier,values:[{x:u,y:u},{x:u,y:r},{x:r,y:m},{x:r,y:m}]},{type:p.SegmentType.bezier,values:[{x:r,y:m},{x:r,y:m},{x:x.empty,y:m},{x:x.empty,y:m}]}]},d={[s.U.hearts]:h,[s.U.diamonds]:g,[s.U.clubs]:b,[s.U.spades]:v}},558(e,y,t){t.d(y,{SpadeDrawer:()=>s});var p=t(580),x=t(771);class s{draw(e){let{context:y,radius:t}=e;(0,p.drawPath)(y,t,x.f0.spades)}}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(this.webpackChunk_tsparticles_shape_cards=this.webpackChunk_tsparticles_shape_cards||[]).push([[
|
|
1
|
+
"use strict";(this.webpackChunk_tsparticles_shape_cards=this.webpackChunk_tsparticles_shape_cards||[]).push([[676],{682(e,y,t){var p,x;t.d(y,{U:()=>p}),(x=p||(p={})).hearts="hearts",x.diamonds="diamonds",x.clubs="clubs",x.spades="spades"},676(e,y,t){t.d(y,{DiamondDrawer:()=>s});var p=t(580),x=t(771);class s{draw(e){let{context:y,radius:t}=e;(0,p.drawPath)(y,t,x.f0.diamonds)}}},771(e,y,t){t.d(y,{f0:()=>v});var p=t(580),x=t(303),s=t(682);let a=x.quarter*x.half,m=x.half,r=m*x.half,l=-m,n=-r,i=m*a,u=m*x.threeQuarter,b={half:!0,segments:[{type:p.SegmentType.bezier,values:[{x:x.empty,y:l},{x:x.empty,y:l},{x:r,y:l},{x:r,y:n}]},{type:p.SegmentType.bezier,values:[{x:r,y:n},{x:r,y:n},{x:m,y:n},{x:m,y:x.empty}]},{type:p.SegmentType.bezier,values:[{x:m,y:x.empty},{x:m,y:x.empty},{x:m,y:r},{x:r,y:r}]},{type:p.SegmentType.bezier,values:[{x:r,y:r},{x:r,y:r},{x:i,y:r},{x:i,y:i}]},{type:p.SegmentType.bezier,values:[{x:i,y:i},{x:i,y:r},{x:r,y:m},{x:r,y:m}]},{type:p.SegmentType.bezier,values:[{x:r,y:m},{x:r,y:m},{x:x.empty,y:m},{x:x.empty,y:m}]}]},g={half:!0,segments:[{type:p.SegmentType.bezier,values:[{x:x.empty,y:m},{x:x.empty,y:m},{x:u,y:x.empty},{x:u,y:x.empty}]},{type:p.SegmentType.bezier,values:[{x:u,y:x.empty},{x:u,y:x.empty},{x:x.empty,y:l},{x:x.empty,y:l}]}]},d={half:!0,segments:[{type:p.SegmentType.bezier,values:[{x:x.empty,y:m},{x:x.empty,y:m},{x:m,y:x.empty},{x:m,y:n}]},{type:p.SegmentType.bezier,values:[{x:m,y:n},{x:m,y:n},{x:m,y:l},{x:r,y:l}]},{type:p.SegmentType.bezier,values:[{x:r,y:l},{x:r,y:l},{x:x.empty,y:l},{x:x.empty,y:n}]}]},h={half:!0,segments:[{type:p.SegmentType.bezier,values:[{x:x.empty,y:l},{x:x.empty,y:l},{x:m,y:n},{x:m,y:x.empty}]},{type:p.SegmentType.bezier,values:[{x:m,y:x.empty},{x:m,y:x.empty},{x:m,y:r},{x:r,y:r}]},{type:p.SegmentType.bezier,values:[{x:r,y:r},{x:r,y:r},{x:i,y:r},{x:i,y:i}]},{type:p.SegmentType.bezier,values:[{x:i,y:i},{x:i,y:r},{x:r,y:m},{x:r,y:m}]},{type:p.SegmentType.bezier,values:[{x:r,y:m},{x:r,y:m},{x:x.empty,y:m},{x:x.empty,y:m}]}]},v={[s.U.hearts]:d,[s.U.diamonds]:g,[s.U.clubs]:b,[s.U.spades]:h}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(this.webpackChunk_tsparticles_shape_cards=this.webpackChunk_tsparticles_shape_cards||[]).push([[
|
|
1
|
+
"use strict";(this.webpackChunk_tsparticles_shape_cards=this.webpackChunk_tsparticles_shape_cards||[]).push([[712],{682(e,y,t){var p,x;t.d(y,{U:()=>p}),(x=p||(p={})).hearts="hearts",x.diamonds="diamonds",x.clubs="clubs",x.spades="spades"},712(e,y,t){t.d(y,{ClubDrawer:()=>s});var p=t(580),x=t(771);class s{draw(e){let{context:y,radius:t}=e;(0,p.drawPath)(y,t,x.f0.clubs)}}},771(e,y,t){t.d(y,{f0:()=>d});var p=t(580),x=t(303),s=t(682);let a=x.quarter*x.half,m=x.half,r=m*x.half,l=-m,u=-r,n=m*a,i=m*x.threeQuarter,b={half:!0,segments:[{type:p.SegmentType.bezier,values:[{x:x.empty,y:l},{x:x.empty,y:l},{x:r,y:l},{x:r,y:u}]},{type:p.SegmentType.bezier,values:[{x:r,y:u},{x:r,y:u},{x:m,y:u},{x:m,y:x.empty}]},{type:p.SegmentType.bezier,values:[{x:m,y:x.empty},{x:m,y:x.empty},{x:m,y:r},{x:r,y:r}]},{type:p.SegmentType.bezier,values:[{x:r,y:r},{x:r,y:r},{x:n,y:r},{x:n,y:n}]},{type:p.SegmentType.bezier,values:[{x:n,y:n},{x:n,y:r},{x:r,y:m},{x:r,y:m}]},{type:p.SegmentType.bezier,values:[{x:r,y:m},{x:r,y:m},{x:x.empty,y:m},{x:x.empty,y:m}]}]},g={half:!0,segments:[{type:p.SegmentType.bezier,values:[{x:x.empty,y:m},{x:x.empty,y:m},{x:i,y:x.empty},{x:i,y:x.empty}]},{type:p.SegmentType.bezier,values:[{x:i,y:x.empty},{x:i,y:x.empty},{x:x.empty,y:l},{x:x.empty,y:l}]}]},h={half:!0,segments:[{type:p.SegmentType.bezier,values:[{x:x.empty,y:m},{x:x.empty,y:m},{x:m,y:x.empty},{x:m,y:u}]},{type:p.SegmentType.bezier,values:[{x:m,y:u},{x:m,y:u},{x:m,y:l},{x:r,y:l}]},{type:p.SegmentType.bezier,values:[{x:r,y:l},{x:r,y:l},{x:x.empty,y:l},{x:x.empty,y:u}]}]},v={half:!0,segments:[{type:p.SegmentType.bezier,values:[{x:x.empty,y:l},{x:x.empty,y:l},{x:m,y:u},{x:m,y:x.empty}]},{type:p.SegmentType.bezier,values:[{x:m,y:x.empty},{x:m,y:x.empty},{x:m,y:r},{x:r,y:r}]},{type:p.SegmentType.bezier,values:[{x:r,y:r},{x:r,y:r},{x:n,y:r},{x:n,y:n}]},{type:p.SegmentType.bezier,values:[{x:n,y:n},{x:n,y:r},{x:r,y:m},{x:r,y:m}]},{type:p.SegmentType.bezier,values:[{x:r,y:m},{x:r,y:m},{x:x.empty,y:m},{x:x.empty,y:m}]}]},d={[s.U.hearts]:h,[s.U.diamonds]:g,[s.U.clubs]:b,[s.U.spades]:v}}}]);
|
package/855.min.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(this.webpackChunk_tsparticles_shape_cards=this.webpackChunk_tsparticles_shape_cards||[]).push([[855],{682(e,t,a){var y,l;a.d(t,{U:()=>y}),(l=y||(y={})).hearts="hearts",l.diamonds="diamonds",l.clubs="clubs",l.spades="spades"},855(e,t,a){a.d(t,{CardDrawer:()=>h});var y=a(303),l=a(682),r=a(580),s=a(771);let i=y.double*y.double/y.triple,n=y.double,p=new Map,x={r:215,g:20,b:20},m={r:18,g:18,b:18};function o(e,t,a,p){let{suit:o,value:h}=a,d=t*i,u=t*n,f=d*y.half,b=u*y.half,c=.2*t,v=.4*t,T=.3*t,S=.25*t,z=.1*t,P=o===l.U.hearts||o===l.U.diamonds?(0,y.getStyleFromRgb)(x,p):(0,y.getStyleFromRgb)(m,p);e.save(),g(e,t),e.fillStyle=(0,y.getStyleFromRgb)({r:255,g:255,b:255},p),e.fill(),e.strokeStyle=(0,y.getStyleFromRgb)({r:0,g:0,b:0},p),e.stroke(),e.fillStyle=P,e.font=`bold ${v.toString()}px Arial, serif`,e.textAlign="left",e.textBaseline="middle";let w=-f+c+z,C=-b+c+v*y.half;e.save(),e.translate(w,C),e.beginPath(),(0,r.drawPath)(e,T,s.f0[o]),e.fill(),e.restore(),e.fillText(h,w+S,C),e.save(),e.translate(f-c-z,b-c-v*y.half),e.rotate(Math.PI),e.save(),e.beginPath(),(0,r.drawPath)(e,T,s.f0[o]),e.fill(),e.restore(),e.fillText(h,y.originPoint.x+S,y.originPoint.y),e.restore(),e.save(),e.beginPath(),(0,r.drawPath)(e,.7*t,s.f0[o]),e.fillStyle=P,e.fill(),e.restore(),e.beginPath(),e.arc(y.originPoint.x,y.originPoint.y,0,0,y.doublePI,!1),e.closePath(),e.restore()}function g(e,t){let a=t*i*y.half,l=t*n*y.half,r=.2*t;e.beginPath(),e.moveTo(-a+r,-l),e.lineTo(a-r,-l),e.quadraticCurveTo(a,-l,a,-l+r),e.lineTo(a,l-r),e.quadraticCurveTo(a,l,a-r,l),e.lineTo(-a+r,l),e.quadraticCurveTo(-a,l,-a,l-r),e.lineTo(-a,-l+r),e.quadraticCurveTo(-a,-l,-a+r,-l),e.closePath()}class h{_container;constructor(e){this._container=e}draw(e){let{context:t,particle:a,opacity:l,radius:r}=e;if(!a.cardData)return;let s=t.globalAlpha,x=this._container;t.globalAlpha=l,function(e,t,a,l,r,s){if(r)g(e,t);else{var x,m,h;let r=(x=t,m=l,h=a,`${x.toFixed(2)}-${m?"hdr":"sdr"}-${h.suit}-${h.value}`),g=t*i,d=t*n,u=g*y.half,f=d*y.half,b=p.get(r);if(!b){let e,i;"u"<typeof OffscreenCanvas?((e=(0,y.safeDocument)().createElement("canvas")).width=g,e.height=d,i=e.getContext("2d",s)):i=(e=new OffscreenCanvas(g,d)).getContext("2d",s),i&&(i.translate(u,f),o(i,t,a,l),b=e instanceof HTMLCanvasElement?e:e.transferToImageBitmap(),p.set(r,b))}b?e.drawImage(b,-u,-f,g,d):o(e,t,a,l)}}(t,r,a.cardData,x.hdr,a.isShowingBack(),x.canvas.render.settings),t.globalAlpha=s}particleInit(e,t){let a=t.shapeData;a&&(t.cardData=(0,y.deepExtend)({},a))}}},771(e,t,a){a.d(t,{f0:()=>f});var y=a(580),l=a(303),r=a(682);let s=l.quarter*l.half,i=l.half,n=i*l.half,p=-i,x=-n,m=i*s,o=i*l.threeQuarter,g={half:!0,segments:[{type:y.SegmentType.bezier,values:[{x:l.empty,y:p},{x:l.empty,y:p},{x:n,y:p},{x:n,y:x}]},{type:y.SegmentType.bezier,values:[{x:n,y:x},{x:n,y:x},{x:i,y:x},{x:i,y:l.empty}]},{type:y.SegmentType.bezier,values:[{x:i,y:l.empty},{x:i,y:l.empty},{x:i,y:n},{x:n,y:n}]},{type:y.SegmentType.bezier,values:[{x:n,y:n},{x:n,y:n},{x:m,y:n},{x:m,y:m}]},{type:y.SegmentType.bezier,values:[{x:m,y:m},{x:m,y:n},{x:n,y:i},{x:n,y:i}]},{type:y.SegmentType.bezier,values:[{x:n,y:i},{x:n,y:i},{x:l.empty,y:i},{x:l.empty,y:i}]}]},h={half:!0,segments:[{type:y.SegmentType.bezier,values:[{x:l.empty,y:i},{x:l.empty,y:i},{x:o,y:l.empty},{x:o,y:l.empty}]},{type:y.SegmentType.bezier,values:[{x:o,y:l.empty},{x:o,y:l.empty},{x:l.empty,y:p},{x:l.empty,y:p}]}]},d={half:!0,segments:[{type:y.SegmentType.bezier,values:[{x:l.empty,y:i},{x:l.empty,y:i},{x:i,y:l.empty},{x:i,y:x}]},{type:y.SegmentType.bezier,values:[{x:i,y:x},{x:i,y:x},{x:i,y:p},{x:n,y:p}]},{type:y.SegmentType.bezier,values:[{x:n,y:p},{x:n,y:p},{x:l.empty,y:p},{x:l.empty,y:x}]}]},u={half:!0,segments:[{type:y.SegmentType.bezier,values:[{x:l.empty,y:p},{x:l.empty,y:p},{x:i,y:x},{x:i,y:l.empty}]},{type:y.SegmentType.bezier,values:[{x:i,y:l.empty},{x:i,y:l.empty},{x:i,y:n},{x:n,y:n}]},{type:y.SegmentType.bezier,values:[{x:n,y:n},{x:n,y:n},{x:m,y:n},{x:m,y:m}]},{type:y.SegmentType.bezier,values:[{x:m,y:m},{x:m,y:n},{x:n,y:i},{x:n,y:i}]},{type:y.SegmentType.bezier,values:[{x:n,y:i},{x:n,y:i},{x:l.empty,y:i},{x:l.empty,y:i}]}]},f={[r.U.hearts]:d,[r.U.diamonds]:h,[r.U.clubs]:g,[r.U.spades]:u}}}]);
|
package/README.md
CHANGED
|
@@ -8,6 +8,12 @@
|
|
|
8
8
|
|
|
9
9
|
[tsParticles](https://github.com/tsparticles/tsparticles) additional cards shape.
|
|
10
10
|
|
|
11
|
+
## Quick checklist
|
|
12
|
+
|
|
13
|
+
1. Install `@tsparticles/engine` (or use the CDN bundle below)
|
|
14
|
+
2. Call the package loader function(s) before `tsParticles.load(...)`
|
|
15
|
+
3. Apply the package options in your `tsParticles.load(...)` config
|
|
16
|
+
|
|
11
17
|
## How to use it
|
|
12
18
|
|
|
13
19
|
### CDN / Vanilla JS / jQuery
|
|
@@ -74,3 +80,32 @@ import { loadCardsShape } from "@tsparticles/shape-cards";
|
|
|
74
80
|
await loadCardsShape(tsParticles);
|
|
75
81
|
})();
|
|
76
82
|
```
|
|
83
|
+
|
|
84
|
+
## Option mapping
|
|
85
|
+
|
|
86
|
+
- Primary options key: `particles.shape.type: "cards"`
|
|
87
|
+
- Shape-specific options key: `particles.shape.options.cards`
|
|
88
|
+
|
|
89
|
+
```json
|
|
90
|
+
{
|
|
91
|
+
"particles": {
|
|
92
|
+
"shape": {
|
|
93
|
+
"type": "cards",
|
|
94
|
+
"options": {
|
|
95
|
+
"cards": {}
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
## Common pitfalls
|
|
103
|
+
|
|
104
|
+
- Calling `tsParticles.load(...)` before `loadFullCardsShape(...)`
|
|
105
|
+
- Verify required peer packages before enabling advanced options
|
|
106
|
+
- Change one option group at a time to isolate regressions quickly
|
|
107
|
+
|
|
108
|
+
## Related docs
|
|
109
|
+
|
|
110
|
+
- All packages catalog: <https://github.com/tsparticles/tsparticles>
|
|
111
|
+
- Main docs: <https://particles.js.org/docs/>
|
package/browser/cards/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export async function loadFullCardsShape(engine) {
|
|
2
|
-
engine.checkVersion("4.0.0-beta.
|
|
2
|
+
engine.checkVersion("4.0.0-beta.10");
|
|
3
3
|
await engine.pluginManager.register(e => {
|
|
4
4
|
e.pluginManager.addShape(["card"], async (container) => {
|
|
5
5
|
const { CardDrawer } = await import("./CardDrawer.js");
|
package/browser/clubs/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export async function loadClubsSuitShape(engine) {
|
|
2
|
-
engine.checkVersion("4.0.0-beta.
|
|
2
|
+
engine.checkVersion("4.0.0-beta.10");
|
|
3
3
|
await engine.pluginManager.register(e => {
|
|
4
4
|
e.pluginManager.addShape(["club", "clubs"], async () => {
|
|
5
5
|
const { ClubDrawer } = await import("./ClubDrawer.js");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export async function loadDiamondsSuitShape(engine) {
|
|
2
|
-
engine.checkVersion("4.0.0-beta.
|
|
2
|
+
engine.checkVersion("4.0.0-beta.10");
|
|
3
3
|
await engine.pluginManager.register(e => {
|
|
4
4
|
e.pluginManager.addShape(["diamond", "diamonds"], async () => {
|
|
5
5
|
const { DiamondDrawer } = await import("./DiamondDrawer.js");
|
package/browser/hearts/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export async function loadHeartsSuitShape(engine) {
|
|
2
|
-
engine.checkVersion("4.0.0-beta.
|
|
2
|
+
engine.checkVersion("4.0.0-beta.10");
|
|
3
3
|
await engine.pluginManager.register(e => {
|
|
4
4
|
e.pluginManager.addShape(["heart", "hearts"], async () => {
|
|
5
5
|
const { HeartDrawer } = await import("./HeartDrawer.js");
|
package/browser/index.js
CHANGED
|
@@ -1,24 +1,10 @@
|
|
|
1
|
-
export async function loadCardSuitsShape(engine) {
|
|
2
|
-
engine.checkVersion("4.0.0-beta.1");
|
|
3
|
-
await engine.pluginManager.register(async (e) => {
|
|
4
|
-
const [{ loadClubsSuitShape }, { loadDiamondsSuitShape }, { loadHeartsSuitShape }, { loadSpadesSuitShape },] = await Promise.all([
|
|
5
|
-
import("./clubs/index.js"),
|
|
6
|
-
import("./diamonds/index.js"),
|
|
7
|
-
import("./hearts/index.js"),
|
|
8
|
-
import("./spades/index.js"),
|
|
9
|
-
]);
|
|
10
|
-
await Promise.all([
|
|
11
|
-
loadClubsSuitShape(e),
|
|
12
|
-
loadDiamondsSuitShape(e),
|
|
13
|
-
loadHeartsSuitShape(e),
|
|
14
|
-
loadSpadesSuitShape(e),
|
|
15
|
-
]);
|
|
16
|
-
});
|
|
17
|
-
}
|
|
18
1
|
export async function loadCardsShape(engine) {
|
|
19
|
-
engine.checkVersion("4.0.0-beta.
|
|
2
|
+
engine.checkVersion("4.0.0-beta.10");
|
|
20
3
|
await engine.pluginManager.register(async (e) => {
|
|
21
|
-
const { loadFullCardsShape } = await
|
|
4
|
+
const [{ loadFullCardsShape }, { loadCardSuitsShape }] = await Promise.all([
|
|
5
|
+
import("./cards/index.js"),
|
|
6
|
+
import("./suits.js"),
|
|
7
|
+
]);
|
|
22
8
|
await Promise.all([
|
|
23
9
|
loadFullCardsShape(e),
|
|
24
10
|
loadCardSuitsShape(e),
|
|
@@ -26,7 +12,4 @@ export async function loadCardsShape(engine) {
|
|
|
26
12
|
});
|
|
27
13
|
}
|
|
28
14
|
export * from "./cards/index.js";
|
|
29
|
-
export * from "./
|
|
30
|
-
export * from "./diamonds/index.js";
|
|
31
|
-
export * from "./hearts/index.js";
|
|
32
|
-
export * from "./spades/index.js";
|
|
15
|
+
export * from "./suits.js";
|
package/browser/spades/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export async function loadSpadesSuitShape(engine) {
|
|
2
|
-
engine.checkVersion("4.0.0-beta.
|
|
2
|
+
engine.checkVersion("4.0.0-beta.10");
|
|
3
3
|
await engine.pluginManager.register(e => {
|
|
4
4
|
e.pluginManager.addShape(["spade", "spades"], async () => {
|
|
5
5
|
const { SpadeDrawer } = await import("./SpadeDrawer.js");
|
package/browser/suits.js
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export async function loadCardSuitsShape(engine) {
|
|
2
|
+
engine.checkVersion("4.0.0-beta.10");
|
|
3
|
+
await engine.pluginManager.register(async (e) => {
|
|
4
|
+
const [{ loadClubsSuitShape }, { loadDiamondsSuitShape }, { loadHeartsSuitShape }, { loadSpadesSuitShape },] = await Promise.all([
|
|
5
|
+
import("./clubs/index.js"),
|
|
6
|
+
import("./diamonds/index.js"),
|
|
7
|
+
import("./hearts/index.js"),
|
|
8
|
+
import("./spades/index.js"),
|
|
9
|
+
]);
|
|
10
|
+
await Promise.all([
|
|
11
|
+
loadClubsSuitShape(e),
|
|
12
|
+
loadDiamondsSuitShape(e),
|
|
13
|
+
loadHeartsSuitShape(e),
|
|
14
|
+
loadSpadesSuitShape(e),
|
|
15
|
+
]);
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
export * from "./clubs/index.js";
|
|
19
|
+
export * from "./diamonds/index.js";
|
|
20
|
+
export * from "./hearts/index.js";
|
|
21
|
+
export * from "./spades/index.js";
|
package/cjs/cards/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export async function loadFullCardsShape(engine) {
|
|
2
|
-
engine.checkVersion("4.0.0-beta.
|
|
2
|
+
engine.checkVersion("4.0.0-beta.10");
|
|
3
3
|
await engine.pluginManager.register(e => {
|
|
4
4
|
e.pluginManager.addShape(["card"], async (container) => {
|
|
5
5
|
const { CardDrawer } = await import("./CardDrawer.js");
|
package/cjs/clubs/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export async function loadClubsSuitShape(engine) {
|
|
2
|
-
engine.checkVersion("4.0.0-beta.
|
|
2
|
+
engine.checkVersion("4.0.0-beta.10");
|
|
3
3
|
await engine.pluginManager.register(e => {
|
|
4
4
|
e.pluginManager.addShape(["club", "clubs"], async () => {
|
|
5
5
|
const { ClubDrawer } = await import("./ClubDrawer.js");
|
package/cjs/diamonds/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export async function loadDiamondsSuitShape(engine) {
|
|
2
|
-
engine.checkVersion("4.0.0-beta.
|
|
2
|
+
engine.checkVersion("4.0.0-beta.10");
|
|
3
3
|
await engine.pluginManager.register(e => {
|
|
4
4
|
e.pluginManager.addShape(["diamond", "diamonds"], async () => {
|
|
5
5
|
const { DiamondDrawer } = await import("./DiamondDrawer.js");
|
package/cjs/hearts/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export async function loadHeartsSuitShape(engine) {
|
|
2
|
-
engine.checkVersion("4.0.0-beta.
|
|
2
|
+
engine.checkVersion("4.0.0-beta.10");
|
|
3
3
|
await engine.pluginManager.register(e => {
|
|
4
4
|
e.pluginManager.addShape(["heart", "hearts"], async () => {
|
|
5
5
|
const { HeartDrawer } = await import("./HeartDrawer.js");
|
package/cjs/index.js
CHANGED
|
@@ -1,24 +1,10 @@
|
|
|
1
|
-
export async function loadCardSuitsShape(engine) {
|
|
2
|
-
engine.checkVersion("4.0.0-beta.1");
|
|
3
|
-
await engine.pluginManager.register(async (e) => {
|
|
4
|
-
const [{ loadClubsSuitShape }, { loadDiamondsSuitShape }, { loadHeartsSuitShape }, { loadSpadesSuitShape },] = await Promise.all([
|
|
5
|
-
import("./clubs/index.js"),
|
|
6
|
-
import("./diamonds/index.js"),
|
|
7
|
-
import("./hearts/index.js"),
|
|
8
|
-
import("./spades/index.js"),
|
|
9
|
-
]);
|
|
10
|
-
await Promise.all([
|
|
11
|
-
loadClubsSuitShape(e),
|
|
12
|
-
loadDiamondsSuitShape(e),
|
|
13
|
-
loadHeartsSuitShape(e),
|
|
14
|
-
loadSpadesSuitShape(e),
|
|
15
|
-
]);
|
|
16
|
-
});
|
|
17
|
-
}
|
|
18
1
|
export async function loadCardsShape(engine) {
|
|
19
|
-
engine.checkVersion("4.0.0-beta.
|
|
2
|
+
engine.checkVersion("4.0.0-beta.10");
|
|
20
3
|
await engine.pluginManager.register(async (e) => {
|
|
21
|
-
const { loadFullCardsShape } = await
|
|
4
|
+
const [{ loadFullCardsShape }, { loadCardSuitsShape }] = await Promise.all([
|
|
5
|
+
import("./cards/index.js"),
|
|
6
|
+
import("./suits.js"),
|
|
7
|
+
]);
|
|
22
8
|
await Promise.all([
|
|
23
9
|
loadFullCardsShape(e),
|
|
24
10
|
loadCardSuitsShape(e),
|
|
@@ -26,7 +12,4 @@ export async function loadCardsShape(engine) {
|
|
|
26
12
|
});
|
|
27
13
|
}
|
|
28
14
|
export * from "./cards/index.js";
|
|
29
|
-
export * from "./
|
|
30
|
-
export * from "./diamonds/index.js";
|
|
31
|
-
export * from "./hearts/index.js";
|
|
32
|
-
export * from "./spades/index.js";
|
|
15
|
+
export * from "./suits.js";
|
package/cjs/spades/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export async function loadSpadesSuitShape(engine) {
|
|
2
|
-
engine.checkVersion("4.0.0-beta.
|
|
2
|
+
engine.checkVersion("4.0.0-beta.10");
|
|
3
3
|
await engine.pluginManager.register(e => {
|
|
4
4
|
e.pluginManager.addShape(["spade", "spades"], async () => {
|
|
5
5
|
const { SpadeDrawer } = await import("./SpadeDrawer.js");
|
package/cjs/suits.js
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export async function loadCardSuitsShape(engine) {
|
|
2
|
+
engine.checkVersion("4.0.0-beta.10");
|
|
3
|
+
await engine.pluginManager.register(async (e) => {
|
|
4
|
+
const [{ loadClubsSuitShape }, { loadDiamondsSuitShape }, { loadHeartsSuitShape }, { loadSpadesSuitShape },] = await Promise.all([
|
|
5
|
+
import("./clubs/index.js"),
|
|
6
|
+
import("./diamonds/index.js"),
|
|
7
|
+
import("./hearts/index.js"),
|
|
8
|
+
import("./spades/index.js"),
|
|
9
|
+
]);
|
|
10
|
+
await Promise.all([
|
|
11
|
+
loadClubsSuitShape(e),
|
|
12
|
+
loadDiamondsSuitShape(e),
|
|
13
|
+
loadHeartsSuitShape(e),
|
|
14
|
+
loadSpadesSuitShape(e),
|
|
15
|
+
]);
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
export * from "./clubs/index.js";
|
|
19
|
+
export * from "./diamonds/index.js";
|
|
20
|
+
export * from "./hearts/index.js";
|
|
21
|
+
export * from "./spades/index.js";
|
package/esm/cards/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export async function loadFullCardsShape(engine) {
|
|
2
|
-
engine.checkVersion("4.0.0-beta.
|
|
2
|
+
engine.checkVersion("4.0.0-beta.10");
|
|
3
3
|
await engine.pluginManager.register(e => {
|
|
4
4
|
e.pluginManager.addShape(["card"], async (container) => {
|
|
5
5
|
const { CardDrawer } = await import("./CardDrawer.js");
|
package/esm/clubs/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export async function loadClubsSuitShape(engine) {
|
|
2
|
-
engine.checkVersion("4.0.0-beta.
|
|
2
|
+
engine.checkVersion("4.0.0-beta.10");
|
|
3
3
|
await engine.pluginManager.register(e => {
|
|
4
4
|
e.pluginManager.addShape(["club", "clubs"], async () => {
|
|
5
5
|
const { ClubDrawer } = await import("./ClubDrawer.js");
|
package/esm/diamonds/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export async function loadDiamondsSuitShape(engine) {
|
|
2
|
-
engine.checkVersion("4.0.0-beta.
|
|
2
|
+
engine.checkVersion("4.0.0-beta.10");
|
|
3
3
|
await engine.pluginManager.register(e => {
|
|
4
4
|
e.pluginManager.addShape(["diamond", "diamonds"], async () => {
|
|
5
5
|
const { DiamondDrawer } = await import("./DiamondDrawer.js");
|
package/esm/hearts/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export async function loadHeartsSuitShape(engine) {
|
|
2
|
-
engine.checkVersion("4.0.0-beta.
|
|
2
|
+
engine.checkVersion("4.0.0-beta.10");
|
|
3
3
|
await engine.pluginManager.register(e => {
|
|
4
4
|
e.pluginManager.addShape(["heart", "hearts"], async () => {
|
|
5
5
|
const { HeartDrawer } = await import("./HeartDrawer.js");
|
package/esm/index.js
CHANGED
|
@@ -1,24 +1,10 @@
|
|
|
1
|
-
export async function loadCardSuitsShape(engine) {
|
|
2
|
-
engine.checkVersion("4.0.0-beta.1");
|
|
3
|
-
await engine.pluginManager.register(async (e) => {
|
|
4
|
-
const [{ loadClubsSuitShape }, { loadDiamondsSuitShape }, { loadHeartsSuitShape }, { loadSpadesSuitShape },] = await Promise.all([
|
|
5
|
-
import("./clubs/index.js"),
|
|
6
|
-
import("./diamonds/index.js"),
|
|
7
|
-
import("./hearts/index.js"),
|
|
8
|
-
import("./spades/index.js"),
|
|
9
|
-
]);
|
|
10
|
-
await Promise.all([
|
|
11
|
-
loadClubsSuitShape(e),
|
|
12
|
-
loadDiamondsSuitShape(e),
|
|
13
|
-
loadHeartsSuitShape(e),
|
|
14
|
-
loadSpadesSuitShape(e),
|
|
15
|
-
]);
|
|
16
|
-
});
|
|
17
|
-
}
|
|
18
1
|
export async function loadCardsShape(engine) {
|
|
19
|
-
engine.checkVersion("4.0.0-beta.
|
|
2
|
+
engine.checkVersion("4.0.0-beta.10");
|
|
20
3
|
await engine.pluginManager.register(async (e) => {
|
|
21
|
-
const { loadFullCardsShape } = await
|
|
4
|
+
const [{ loadFullCardsShape }, { loadCardSuitsShape }] = await Promise.all([
|
|
5
|
+
import("./cards/index.js"),
|
|
6
|
+
import("./suits.js"),
|
|
7
|
+
]);
|
|
22
8
|
await Promise.all([
|
|
23
9
|
loadFullCardsShape(e),
|
|
24
10
|
loadCardSuitsShape(e),
|
|
@@ -26,7 +12,4 @@ export async function loadCardsShape(engine) {
|
|
|
26
12
|
});
|
|
27
13
|
}
|
|
28
14
|
export * from "./cards/index.js";
|
|
29
|
-
export * from "./
|
|
30
|
-
export * from "./diamonds/index.js";
|
|
31
|
-
export * from "./hearts/index.js";
|
|
32
|
-
export * from "./spades/index.js";
|
|
15
|
+
export * from "./suits.js";
|
package/esm/spades/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export async function loadSpadesSuitShape(engine) {
|
|
2
|
-
engine.checkVersion("4.0.0-beta.
|
|
2
|
+
engine.checkVersion("4.0.0-beta.10");
|
|
3
3
|
await engine.pluginManager.register(e => {
|
|
4
4
|
e.pluginManager.addShape(["spade", "spades"], async () => {
|
|
5
5
|
const { SpadeDrawer } = await import("./SpadeDrawer.js");
|
package/esm/suits.js
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export async function loadCardSuitsShape(engine) {
|
|
2
|
+
engine.checkVersion("4.0.0-beta.10");
|
|
3
|
+
await engine.pluginManager.register(async (e) => {
|
|
4
|
+
const [{ loadClubsSuitShape }, { loadDiamondsSuitShape }, { loadHeartsSuitShape }, { loadSpadesSuitShape },] = await Promise.all([
|
|
5
|
+
import("./clubs/index.js"),
|
|
6
|
+
import("./diamonds/index.js"),
|
|
7
|
+
import("./hearts/index.js"),
|
|
8
|
+
import("./spades/index.js"),
|
|
9
|
+
]);
|
|
10
|
+
await Promise.all([
|
|
11
|
+
loadClubsSuitShape(e),
|
|
12
|
+
loadDiamondsSuitShape(e),
|
|
13
|
+
loadHeartsSuitShape(e),
|
|
14
|
+
loadSpadesSuitShape(e),
|
|
15
|
+
]);
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
export * from "./clubs/index.js";
|
|
19
|
+
export * from "./diamonds/index.js";
|
|
20
|
+
export * from "./hearts/index.js";
|
|
21
|
+
export * from "./spades/index.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tsparticles/shape-cards",
|
|
3
|
-
"version": "4.0.0-beta.
|
|
3
|
+
"version": "4.0.0-beta.10",
|
|
4
4
|
"description": "tsParticles cards shape",
|
|
5
5
|
"homepage": "https://particles.js.org",
|
|
6
6
|
"repository": {
|
|
@@ -94,14 +94,55 @@
|
|
|
94
94
|
"browser": "./browser/index.js",
|
|
95
95
|
"import": "./esm/index.js",
|
|
96
96
|
"require": "./cjs/index.js",
|
|
97
|
-
"
|
|
98
|
-
|
|
97
|
+
"default": "./esm/index.js"
|
|
98
|
+
},
|
|
99
|
+
"./cards": {
|
|
100
|
+
"types": "./types/cards/index.d.ts",
|
|
101
|
+
"browser": "./browser/cards/index.js",
|
|
102
|
+
"import": "./esm/cards/index.js",
|
|
103
|
+
"require": "./cjs/cards/index.js",
|
|
104
|
+
"default": "./esm/cards/index.js"
|
|
105
|
+
},
|
|
106
|
+
"./clubs": {
|
|
107
|
+
"types": "./types/clubs/index.d.ts",
|
|
108
|
+
"browser": "./browser/clubs/index.js",
|
|
109
|
+
"import": "./esm/clubs/index.js",
|
|
110
|
+
"require": "./cjs/clubs/index.js",
|
|
111
|
+
"default": "./esm/clubs/index.js"
|
|
112
|
+
},
|
|
113
|
+
"./diamons": {
|
|
114
|
+
"types": "./types/diamons/index.d.ts",
|
|
115
|
+
"browser": "./browser/diamons/index.js",
|
|
116
|
+
"import": "./esm/diamons/index.js",
|
|
117
|
+
"require": "./cjs/diamons/index.js",
|
|
118
|
+
"default": "./esm/diamons/index.js"
|
|
119
|
+
},
|
|
120
|
+
"./hearts": {
|
|
121
|
+
"types": "./types/hearts/index.d.ts",
|
|
122
|
+
"browser": "./browser/hearts/index.js",
|
|
123
|
+
"import": "./esm/hearts/index.js",
|
|
124
|
+
"require": "./cjs/hearts/index.js",
|
|
125
|
+
"default": "./esm/hearts/index.js"
|
|
126
|
+
},
|
|
127
|
+
"./spades": {
|
|
128
|
+
"types": "./types/spades/index.d.ts",
|
|
129
|
+
"browser": "./browser/spades/index.js",
|
|
130
|
+
"import": "./esm/spades/index.js",
|
|
131
|
+
"require": "./cjs/spades/index.js",
|
|
132
|
+
"default": "./esm/spades/index.js"
|
|
133
|
+
},
|
|
134
|
+
"./suits": {
|
|
135
|
+
"types": "./types/suits.d.ts",
|
|
136
|
+
"browser": "./browser/suits.js",
|
|
137
|
+
"import": "./esm/suits.js",
|
|
138
|
+
"require": "./cjs/suits.js",
|
|
139
|
+
"default": "./esm/suits.js"
|
|
99
140
|
},
|
|
100
141
|
"./package.json": "./package.json"
|
|
101
142
|
},
|
|
102
|
-
"
|
|
103
|
-
"@tsparticles/engine": "4.0.0-beta.
|
|
104
|
-
"@tsparticles/path-utils": "4.0.0-beta.
|
|
143
|
+
"peerDependencies": {
|
|
144
|
+
"@tsparticles/engine": "4.0.0-beta.10",
|
|
145
|
+
"@tsparticles/path-utils": "4.0.0-beta.10"
|
|
105
146
|
},
|
|
106
147
|
"publishConfig": {
|
|
107
148
|
"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/shape-cards [
|
|
6
|
+
<title>@tsparticles/shape-cards [8 Apr 2026 at 15:56]</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="
|