Cards are almost complete now!

This commit is contained in:
Ninjananas committed 2024-09-04 14:28:55 +02:00
1 parent 18ad380529
commit 2f641feeb0
16 files changed
+304 -121

No files matched your search

BIN
View File
Binary file not shown.
+115
View File
@@ -0,0 +1,115 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
width="2.75in"
height="3.75in"
viewBox="0 0 69.850001 95.249999"
version="1.1"
id="svg1"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<defs
id="defs1">
<rect
x="0.41329846"
y="0.95647952"
width="263.16362"
height="359.74931"
id="rect2" />
</defs>
<g
id="layer1">
<text
xml:space="preserve"
transform="scale(0.26458333)"
id="text2"
style="font-style:normal;font-weight:normal;font-size:10.6667px;line-height:1.25;font-family:sans-serif;white-space:pre;fill:#f2f2f2;fill-opacity:1;stroke:none;shape-inside:url(#rect2);-inkscape-font-specification:'sans-serif, Normal';font-stretch:normal;font-variant:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-east-asian:normal"><tspan
x="0.4140625"
y="10.662397"
id="tspan1">0 0 1 0 1 1 0 1 0 1 0 1 0 0 0 0 1 0 1 1 1 1 1 </tspan><tspan
x="0.4140625"
y="23.995773"
id="tspan3">0 0 0 0 1 0 1 0 0 0 1 1 1 0 1 0 0 1 0 1 0 1 1 </tspan><tspan
x="0.4140625"
y="37.329149"
id="tspan4">0 0 0 1 0 1 0 1 1 0 1 0 0 0 0 1 0 1 1 0 1 0 1 </tspan><tspan
x="0.4140625"
y="50.662527"
id="tspan5">0 1 1 0 1 1 0 1 0 1 1 0 1 1 1 0 0 1 0 0 0 1 0 </tspan><tspan
x="0.4140625"
y="63.995901"
id="tspan6">1 1 0 0 1 1 1 1 1 1 0 0 1 1 0 1 0 1 1 0 1 1 </tspan><tspan
x="0.4140625"
y="77.329275"
id="tspan7">0 1 1 1 0 0 1 1 0 0 1 0 1 1 0 1 0 1 1 1 1 </tspan><tspan
x="0.4140625"
y="90.662649"
id="tspan8">0 0 0 0 1 1 0 0 1 1 0 1 0 1 0 0 1 1 0 0 1 0 1 1 </tspan><tspan
x="0.4140625"
y="103.99602"
id="tspan9">1 1 0 1 1 1 0 0 0 1 0 0 1 1 0 0 0 1 1 1 1 1 1 </tspan><tspan
x="0.4140625"
y="117.3294"
id="tspan10">1 0 0 0 1 0 1 1 1 1 1 1 1 0 1 0 1 1 0 1 0 0 1 </tspan><tspan
x="0.4140625"
y="130.66277"
id="tspan11">0 0 1 0 0 0 0 1 0 1 0 1 1 1 1 1 1 1 0 0 0 1 </tspan><tspan
x="0.4140625"
y="143.99615"
id="tspan12">0 1 0 0 1 1 1 1 1 1 1 1 0 0 0 1 1 1 1 0 0 0 </tspan><tspan
x="0.4140625"
y="157.32953"
id="tspan13">0 0 1 1 0 1 1 1 0 0 0 0 1 0 1 0 1 1 1 0 1 0 1 0 </tspan><tspan
x="0.4140625"
y="170.6629"
id="tspan14">1 0 1 1 1 1 1 1 1 1 0 0 1 1 1 0 1 0 0 1 1 1 </tspan><tspan
x="0.4140625"
y="183.99627"
id="tspan15">1 1 0 1 0 1 0 1 1 1 1 0 1 1 1 0 0 0 1 1 0 1 0 1 </tspan><tspan
x="0.4140625"
y="197.32965"
id="tspan16">1 1 1 1 0 0 0 0 1 0 0 0 1 1 1 1 0 0 0 1 0 1 0 </tspan><tspan
x="0.4140625"
y="210.66302"
id="tspan17">0 0 1 1 0 1 0 1 0 1 0 0 0 1 1 0 1 1 0 0 1 0 </tspan><tspan
x="0.4140625"
y="223.9964"
id="tspan18">1 0 1 0 1 0 1 1 0 1 1 0 1 1 1 0 1 1 0 1 0 </tspan><tspan
x="0.4140625"
y="237.32977"
id="tspan19">0 0 1 1 1 0 0 1 0 1 1 1 1 1 1 0 1 0 1 0 1 </tspan><tspan
x="0.4140625"
y="250.66314"
id="tspan20">0 0 0 1 0 0 0 1 0 1 0 0 0 0 1 0 1 0 0 0 0 1 1 </tspan><tspan
x="0.4140625"
y="263.99652"
id="tspan21">0 0 0 0 1 0 1 0 1 1 1 0 0 0 0 1 1 1 0 1 0 0 1 0 </tspan><tspan
x="0.4140625"
y="277.32991"
id="tspan22">0 0 1 0 1 1 0 0 1 1 1 1 0 1 0 1 0 1 0 0 1 1 </tspan><tspan
x="0.4140625"
y="290.66328"
id="tspan23">0 1 0 0 1 0 1 0 1 1 1 1 0 0 1 0 0 0 1 0 1 0 0 </tspan><tspan
x="0.4140625"
y="303.99666"
id="tspan24">1 0 1 0 0 1 1 0 1 1 0 1 0 1 1 1 0 1 0 0 1 1 0 1 </tspan><tspan
x="0.4140625"
y="317.33003"
id="tspan25">0 1 1 0 1 1 1 0 1 1 1 1 0 1 1 0 0 1 0 1 1 1 0 </tspan><tspan
x="0.4140625"
y="330.6634"
id="tspan26">1 0 0 1 0 0 0 0 1 1 0 1 1 0 1 0 1 0 1 1 0 1 </tspan><tspan
x="0.4140625"
y="343.99678"
id="tspan27">0 1 0 0 1 0 0 0 0 0 1 0 0 0 0 1 1 1 1 0 1 1 0 0 </tspan><tspan
x="0.4140625"
y="357.33015"
id="tspan28">1 1 1 1 1 1 0 1 1 1 0 0 0 1 0 1 1 1 0 0 1 1 </tspan><tspan
x="0.4140625"
y="370.41044"
id="tspan30"><tspan
dx="0 6.1013579 2.7733445 2.773344 2.773345 6.1013575 2.773344 2.7733459 6.1013565 2.7733459 6.1013565 2.7733459 2.7733421 2.7733459 6.1013565 2.7733459 2.7733459 6.1013565 2.7733459 2.7733459 6.1013565 2.7733459 2.7733459 2.7733383 6.1013565 2.7733459 2.7733459 6.1013565 2.7733459 6.1013565 2.7733459 6.1013565 2.7733459 6.1013565 2.7733459 2.7733459 2.7733459 6.1013489 2.7733459 2.7733459 6.1013641 2.7733459 2.7733459 6.1013489 2.7733459 2.7733459 6.1013641 2.7733459 2.7733307 6.1013641 2.7733459 2.7733459 2.7733459 6.1013489 2.7733459 2.7733459 2.7733459 6.1013641 2.7733459 2.7733459 2.7733307 6.1013641 2.7733459 2.7733459 2.7733459 6.1013489 2.7733459 6.1013489 2.7733459 6.1013794 2.7733459 6.1013489 2.7733459 6.1013489 2.7733459 2.7733459 6.1013489 2.7733459 6.1013794 2.7733459 2.7733459 2.7733154 6.1013794 2.7733459 2.7733459 6.1013489 2.7733459 6.1013489 2.7733459 2.7733459 2.7733459 6.1013489 2.7733459 6.1013794 2.7733459 2.7733459 6.1013489 2.7733459 2.7733459 6.1013489 2.7733459 2.7733459 2.7733459 6.1013489 2.7733459 2.7733459 2.7733459 6.1013489 2.7733459 6.1013794 2.7733459 2.7733459 6.1013489 2.7733459 2.7733459 2.7733459 6.1013489 2.7733459 2.7733459 2.7733459 6.1013489 2.7733459 2.7733459 2.7733459 6.1013489 2.7733459 2.7733459 6.1013489 2.7733459 2.7733459 6.1013794 2.7733459 2.7733459 2.7733459 6.1013184 2.7733765 2.7733154 6.1013794 2.7733765 2.7733154 2.7733154 6.1013794 2.7733765 2.7733154 2.7733765 6.1013184 2.7733765 2.7733154 6.1013794 2.7733154 2.7733765 6.1013184 2.7733765 2.7733154 6.1013794 2.7733154 6.1013794 2.7733765 2.7733154 2.7733765 6.1013184 2.7733765 6.1013184 2.7733765 2.7733154 2.7733765 6.1013184 2.7733765 2.7733154 2.7733765 6.1013184 2.7733765 2.7733154 6.1013794 2.7733765 2.7733154 2.7733765 6.1013184 2.7733765 2.7733154 2.7733765 6.1013184 2.7733765 2.7733154 6.1013794 2.7733154 6.1013794 2.7733154 6.1013794 2.7733765 2.7733154 6.1013794 2.7733154 2.7733765 6.1013184 2.7733765 2.7733154 6.1013794 2.7733154 2.7733765 2.7733154 6.1013794 2.7733154 2.7733765 2.7733154 6.1013794 2.7733765 2.7733154 2.7733154 6.1013794 2.7733765 6.1013184 2.7733765 2.7733154 2.7733765 6.1013184 2.7733765 6.1013184 2.7733765 2.7733154 6.1013794 2.7733765 2.7733154 2.7733154 6.1013794 2.7733765 2.7733154 2.7733765 6.1013184 2.7733765 6.1013184 2.7733765 2.7733154 6.1013794 2.7733154 2.7733765 2.7733154 6.1013794 2.7733154 6.1013794 2.7733765 2.7733154 6.1013794 2.7733154 2.7733765 2.7733154 6.1013794 2.7733154 2.7733765 6.1013184 2.7733765 2.7733154 6.1013794 2.7733154 2.7733765 2.7733154 6.1013794 2.7733765 2.7733154 2.7733765 6.1013184 2.7733765 2.7733154 6.1013794 2.7733154 2.7733765 6.1013184 2.7733765 2.7733154 2.7733154 6.1014404 2.7733154 2.7733154 2.7733154 6.1014404 2.7733154 2.7733154 6.1014404 2.7733154 6.1013184 2.7733154 2.7734375 6.1013184 2.7733154 2.7733154 2.7734375 6.1013184 2.7733154 6.1014404 2.7733154 2.7733154 6.1013184 2.7734375 2.7733154 2.7733154 6.1013184 2.7734375 2.7733154 6.1013184 2.7733154 2.7734375 2.7733154 6.1013184 2.7733154 6.1014404 2.7733154 6.1013184 2.7734375 2.7733154 6.1013184 2.7733154 6.1014404 2.7733154 6.1013184 2.7733154 6.1014404 2.7733154 2.7733154 2.7734375 6.1013184 2.7733154 2.7733154 6.1014404 2.7733154 6.1013184 2.7733154 2.7734375 6.1013184 2.7733154 6.1014404 2.7733154 2.7733154 6.1013184 2.7734375 2.7733154 2.7733154 6.1013184 2.7734375 2.7733154 6.1013184 2.7733154 2.7734375 2.7733154 6.1013184 2.7734375 6.1013184 2.7733154 6.1013184 2.7734375 2.7733154 2.7733154 6.1013184 2.7734375 2.7733154 6.1013184 2.7733154 2.7734375 6.1013184 2.7733154 6.1014404 2.7733154 6.1013184 2.7733154 6.1014404 2.7733154 2.7733154 2.7733154 6.1014404 2.7733154 6.1013184 2.7734375 2.7733154 2.7733154 6.1013184 2.7734375 2.7733154 6.1013184 2.7733154 6.1014404 2.7733154 2.7733154 6.1014404 2.7733154 2.7733154 6.1013184 2.7734375 2.7733154 2.7733154 6.1013184 2.7734375 2.7733154 2.7733154 6.1013184 2.7734375 2.7733154 6.1013184 2.7733154 6.1014404 2.7733154 6.1013184 2.7734375 6.1013184 2.7733154 6.1013184 2.7734375 2.7733154 2.7733154 6.1013184 2.7734375 2.7733154 2.7733154 6.1014404 2.7733154 6.1013184 2.7733154 2.7734375 6.1013184 2.7733154 6.1013184 2.7734375 2.7733154 2.7733154 6.1014404 2.7733154 2.7733154 2.7733154 6.1014404 2.7733154 2.7733154 6.1013184 2.7734375 6.1013184 2.7733154 2.7733154 2.7734375 6.1013184 2.7733154 2.7733154 6.1014404 2.7733154 2.7733154 2.7733154 6.1014404 2.7733154 2.7733154 2.7733154 6.1014404 2.7733154 6.1013184 2.7734375 6.1013184 2.7733154 2.7733154 2.7734375 6.1013184 2.7733154 2.7733154 2.7734375 6.1013184 2.7733154 2.7733154 2.7734375 6.1013184 2.7733154 2.7734375 2.7733154 6.1013184 2.7733154 6.1014404 2.7733154 2.7733154 2.7733154 6.1014404 2.7733154 2.7733154 6.1014404 2.7733154 2.7733154 2.7733154 6.1014404 2.7733154 2.7733154 2.7733154 6.1014404 2.7733154 2.7733154 2.7733154 6.1014404 2.7733154 2.7733154 2.7733154 6.1014404 2.7733154 6.1013184 2.7733154 6.1014404 2.7733154 2.7733154 2.7734375 6.101Line truncated
id="tspan29">1 1 1 1 1 0 0 0 1 0 0 1 0 0 1 1 1 1 0 0 1 0 0 0 0 0 1 0 0 1 0 1 0 1 1 1 0 0 1 1 0 1 0 1 0 1 0 0 0 0 0 0 0 1 1 0 1 0 0 1 0 1 1 1 1 1 1 1 1 1 1 1 1 0 0 1 0 1 0 0 1 0 0 1 1 1 0 0 0 0 0 1 0 1 0 0 1 1 0 1 0 1 1 1 0 1 1 0 1 0 0 0 0 0 0 1 0 1 0 0 1 0 1 0 0 0 0 0 0 0 0 1 1 1 1 0 0 0 1 1 0 0 1 1 1 1 0 0 1 1 1 1 0 0 0 1 1 0 0 1 1 1 0 0 0 0 1 1 1 0 1 1 0 0 0 0 0 0 1 0 0 1 0 1 1 0 0 0 1 0 0 0 1 0 1 1 1 0 0 1 0 0 0 0 1 0 1 0 0 1 1 0 1 0 0 1 0 1 1 0 0 0 1 1 1 0 1 0 0 0 0 1 1 0 1 0 1 1 1 0 1 1 0 0 1 0 1 0 0 1 0 0 1 0 0 1 0 0 1 0 0 0 0 0 1 1 0 1 1 0 0 1 1 1 1 1 0 1 0 1 0 1 0 1 1 0 0 0 1 0 1 1 0 0 0 0 0 0 1 0 0 1 1 0 0 1 1 0 1 1 1 0 0 0 1 0 0 0 1 0 0 0 0 1 1 0 0 0 0 1 1 0 0 1 1 1 0 0 0 1 1 0 1 0 0 1 1 0 1 1 1 0 1 1 1 0 1 1 1 1 0 1 1 1 1 1 1 0 1 0 1 1 1 0 0 1 1 1 1 0 0 0 1 0 0 0 0 </tspan></tspan></text>
</g>
</svg>

After

Width:  |  Height:  |  Size: 18 KiB

+40
View File
@@ -0,0 +1,40 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
viewBox="0 0 468.55099 468.55099"
version="1.1"
id="svg2"
width="468.55099"
height="468.55099"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<defs
id="defs2">
<radialGradient
id="sbed-electric-gradient-0">
<stop
offset="0%"
stop-color="#000"
stop-opacity="1"
id="stop1" />
<stop
offset="100%"
stop-color="#ffffff"
stop-opacity="1"
id="stop2" />
</radialGradient>
</defs>
<g
class=""
id="g2"
transform="translate(-21.724503,-21.724317)">
<path
d="M 376,211 H 256 V 16 L 136,301 h 120 v 195 z"
fill="#f8e71c"
fill-opacity="1"
transform="rotate(15,256,256)"
stroke="#000000"
stroke-opacity="1"
stroke-width="8"
id="path2" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 931 B

@@ -0,0 +1 @@
<svg style="height: 512px; width: 512px;" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><defs><radialGradient id="delapouite-crosshair-gradient-0"><stop offset="0%" stop-color="#000" stop-opacity="1"></stop><stop offset="100%" stop-color="#ffffff" stop-opacity="1"></stop></radialGradient></defs><g class="" style="" transform="translate(0,0)"><path d="M247 32v23.21C143.25 59.8 59.798 143.25 55.21 247H32v18h23.21C59.8 368.75 143.25 452.202 247 456.79V480h18v-23.21C368.75 452.2 452.202 368.75 456.79 265H480v-18h-23.21C452.2 143.25 368.75 59.798 265 55.21V32h-18zm0 41.223V128h18V73.223C359 77.76 434.24 153 438.777 247H384v18h54.777C434.24 359 359 434.24 265 438.777V384h-18v54.777C153 434.24 77.76 359 73.223 265H128v-18H73.223C77.76 153 153 77.76 247 73.223zM247 224v23h-23v18h23v23h18v-23h23v-18h-23v-23h-18z" fill="#000000" fill-opacity="1"></path></g></svg>

After

Width:  |  Height:  |  Size: 876 B

@@ -0,0 +1 @@
<svg style="height: 512px; width: 512px;" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><defs><radialGradient id="delapouite-satellite-communication-gradient-0"><stop offset="0%" stop-color="#000" stop-opacity="1"></stop><stop offset="100%" stop-color="#ffffff" stop-opacity="1"></stop></radialGradient></defs><g class="" style="" transform="translate(0,0)"><path d="M189.1 18l14.5 14.47 14.1-14.11-.4-.36zm54.3 0l-.3.31 21.3 21.26 17-16.99-4.6-4.58zm-73.8 6.01l-11.7 11.67 14.2 28.28 18.7-18.72zm60.8 7.06l-14.1 14.11 21.2 21.25 14.1-14.1zm-26.9 26.89l-18.7 18.73 28.3 14.16 11.7-11.66zM163.2 72.8L147 89l12.8 12.8L176 85.52zm-50.1 7.77L80.61 113.1l58.79 58.8h32.5v-32.6zm101.7 52.03c-1.4 19.6-11.8 39.7-27.2 55-15.3 15.4-35.4 25.8-55 27.2l3.5 17.8c24.1-2.3 46.8-14.8 64.3-32.2 17.4-17.5 29.9-40.2 32.2-64.3zm47.5 9.5c-6.4 63.8-56.4 113.7-120.2 120.2l3.5 17.7c70.6-8 126.4-63.8 134.4-134.4zM89.03 147l-16.22 16.2L85.54 176l16.26-16.3zM340 157.6c-7.4 37.9-28.2 78.8-58.7 112.3-32.2 35.5-74.9 62.6-123.6 70.6l3.5 17.7c53.1-8.9 99.1-38.4 133.5-76.1 32.5-35.9 55-79.2 63-121zm-304.21.3l-11.66 11.7 21.23 21.2 18.71-18.7zM434 176.4C422.9 231.5 393.8 285 353.7 329l16 9.2c40.7-45.7 70.5-100.7 82-158.3zm-357.2 8.4l-18.73 18.7 21.22 21.3 11.66-11.7zM18 189v28.2l.46.5 14.13-14.1zm27.3 27.3l-14.11 14.1 21.26 21.2 14.09-14.1zm-26.88 26.8l-.42.4v33.2l4.7 4.7 16.99-17zm418.38 95.4l-98.3 98.3c11.4 6.5 30.5 12.6 49.5 14.8 24.1 2.6 47.8-1.7 54.8-8.8 7.1-7 11.4-30.7 8.8-54.8-2.2-19-8.3-38.1-14.8-49.5zm-92.4 5.9l22.3 38.8 16.5-16.5zm-15.4 9.2c-44 40.2-97.5 69.3-152.6 80.4l3.5 17.7c57.6-11.5 112.6-41.3 158.3-82zM469.4 425c-1.8 12.1-6.1 22.8-13.8 30.6-7.8 7.7-18.5 12-30.6 13.8V487h62v-62z" fill="#000000" fill-opacity="1"></path></g></svg>

After

Width:  |  Height:  |  Size: 1.7 KiB

+1
View File
@@ -0,0 +1 @@
<svg style="height: 512px; width: 512px;" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><defs><radialGradient id="delapouite-cooking-pot-gradient-0"><stop offset="0%" stop-color="#000" stop-opacity="1"></stop><stop offset="100%" stop-color="#ffffff" stop-opacity="1"></stop></radialGradient><linearGradient id="delapouite-cooking-pot-gradient-1"><stop offset="0%" stop-color="#fff" stop-opacity="1"></stop><stop offset="100%" stop-color="#e8e8e8" stop-opacity="1"></stop></linearGradient></defs><g class="" style="" transform="translate(0,0)"><path d="M256 100c-8 0-16 4-32 12l10.848 32.543C179.665 147.226 112.76 160.04 98.68 183h314.625c-7.012-11.422-27.093-20.334-52.305-26.738V135h-18v17.266c-21.203-4.107-44.4-6.68-65.848-7.723L288 112c-16-8-24-12-32-12zM96 201v14H55v18h41v151c0 16 16 32 32 32h256c16 0 32-16 32-32V233h41v-18h-41v-14H96z" fill="url(#delapouite-cooking-pot-gradient-1)" stroke="#000000" stroke-opacity="1" stroke-width="8"></path></g></svg>

After

Width:  |  Height:  |  Size: 973 B

@@ -0,0 +1 @@
<svg style="height: 512px; width: 512px;" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><defs><radialGradient id="lorc-cash-gradient-0"><stop offset="0%" stop-color="#000" stop-opacity="1"></stop><stop offset="100%" stop-color="#ffffff" stop-opacity="1"></stop></radialGradient></defs><g class="" style="" transform="translate(0,0)"><path d="M210.6 44.39l-7-4.39c-13.7-8.4-30.8-13.28-45.5-8.7-15.8 4.92-28.4 17.09-35 35.37l-9.4-4.84c-16.2-8.34-24.68-8.47-31.71-5.31-5.61 2.51-11.46 8.55-18.09 17.37l82.4 63.71c12.9 4.2 31.8 4.1 50.7-.8 19-4.9 37.9-14.5 51.7-27.4l31.1-76.9c-27.4-21.65-52.4-9.11-69.2 11.89zm53.1 76.51c-17 17.2-42.3 28.8-62 34-6.9 1.8-13.8 3.1-20.5 3.8-3.7 6.1-6.8 12.3-9.2 18.5 4.8 24.4 13.8 44.4 27.3 60.8l-14.4 12c-8.3-10-15.7-20.8-21.3-32.8-.9 23.2 4.3 47.2 12.8 72.2l-17.7 6c-15.6-45.6-20.9-92.3 1-136.3-7.4-.6-14.4-2-20.9-4.3l-.3-.1c-4.3 4.1-8.4 8.4-12.3 12.9-31.57 36.6-48.96 85.3-39.86 123.2 4.87 20.3 13.6 39.5 26.16 55.9 18.4-.4 35.8 0 51.6 6 7.5-.8 15.2-1.3 23.2-1.3 28.5 0 54.3 5.3 73.8 14.5 7.6 3.6 14.5 7.9 20 12.8 0-5.3.8-11 2.4-15.2-8.9-8.4-14.5-18.6-14.5-30.2 0-16.1 10.7-29.4 26.2-39 0-4.6.9-9 2.5-13.2-10.1-8.7-16.6-19.5-16.6-32.1 0-7.9 2.6-15.1 7-21.6-4.4-6.4-7-13.6-7-21.5 0-3.9.6-7.5 1.7-11-9.7-8.6-15.8-19.2-15.8-31.4 0-12.1 6-22.6 15.6-31.1-5.9-4.6-12.2-8.5-18.9-11.5zm111.4 2.3c-26 0-49.5 5.5-65.6 13.6-16.2 8.1-23.8 18.1-23.8 26.7 0 8.7 7.6 18.7 23.8 26.8 16.1 8.1 39.6 13.6 65.6 13.6 11.3 0 22-1.1 31.9-2.9v-17c13.9-2.1 25.4-5.9 32.8-10.8v17.6c12.5-3.6 24.5-16.9 24.8-27.3 0-8.6-7.6-18.6-23.8-26.7-16.2-8.1-39.6-13.6-65.7-13.6zm96.5 67.7c-3.3 3.5-7.2 6.8-11.6 9.8l.2 29c12.6-7.5 18.5-16.2 18.5-23.8 0-4.8-2.3-10-7.1-15zm-171.8 15.4c.3 8.6 7.9 18.3 23.8 26.3 16.2 8.2 39.6 13.6 65.7 13.6 16.3 0 31.6-2.2 44.7-5.8l.7-27.2c-17.2 6-37.6 9.3-59.6 9.3-28.5 0-54.4-5.7-74-15.5-.5-.2-.9-.5-1.3-.7zm2 34.8c-1.4 2.7-2 5.4-2 7.9 0 8.7 7.6 18.7 23.8 26.8 16.2 8.1 39.6 13.5 65.7 13.5 13.2 0 25.7-1.3 37-3.8v-24c-11.6 2.2-24 3.3-37 3.3-28.6 0-54.5-5.6-74.1-15.5-4.9-2.4-9.4-5.2-13.4-8.2zm174.9 0c-6.1 4.3-11.4 7.5-17.6 10.2v22.3c13.3-7.7 19.6-16.7 19.6-24.6 0-2.5-.6-5.2-2-7.9zm7.5 36.8c-2 2-4.2 3.9-6.6 5.8v32.4c10.3-7 15.3-14.7 15.3-21.7 0-5.3-2.9-11-8.7-16.5zm-170.1 14c-.1.9-.2 1.7-.2 2.5 0 8.7 7.6 18.6 23.8 26.7 16.2 8.2 39.7 13.6 65.7 13.6 14.9 0 29.1-1.8 41.4-4.8V300c-16.3 5.2-35.2 8-55.5 8-28.6 0-54.5-5.7-74.1-15.5-.4-.2-.7-.4-1.1-.6zm-13.6 21.4c-8.7 6.5-12.8 13.6-12.8 20 0 8.7 7.6 18.6 23.8 26.8 16.2 8.1 39.6 13.5 65.7 13.5 9.5 0 18.7-.7 27.3-2v-18.2h-1.1c-28.6 0-54.5-5.7-74.1-15.6-12.5-6.2-22.9-14.5-28.8-24.5zM463 343.9c-7.9 2.8-16.5 5.1-25.7 6.6v12.1c1.9-.8 3.8-1.6 5.6-2.5 9.8-5 16.4-10.6 20.1-16.2zm9.2 18.2c-3.8 3.8-8.2 7.2-13.1 10.3V401c13.3-7.6 19.6-16.6 19.6-24.5 0-4.6-2.1-9.6-6.5-14.4zm-348.7 2.8c-10.2.1-21.2 1.4-32.6 4.1-22.81 5.3-42.42 15-55.22 25.7-12.8 10.6-17.8 21.4-16.3 29.1 1.5 7.7 9.4 14.8 24.8 18.9 15.35 4 36.82 4.2 59.62-1.1 9.2-2.2 17.8-5 25.7-8.3v-20.7c14.6-6.5 25.5-14.3 30.4-21.9v24.4c12.1-10.4 16.8-20.8 15.4-28.4-1.4-7.7-9.4-14.8-24.8-18.8-7.7-2-16.9-3.1-27-3zm64.6 5.2c2.7 3.9 4.6 8.3 5.6 13.2 1.1 6 .6 11.8-1.2 17.5 9.9 2.6 18.9 6.1 26.7 10.5 4.4 2.4 8.5 5.3 12.1 8.3 9-2.1 16.6-5.1 22-8.7v20.6c16.1-7.6 23.5-16.9 23.5-24.3 0-7.5-7.4-16.8-23.6-24.4-16.1-7.5-39.3-12.6-65.1-12.7zm111.8 5c-.1.4-.1.9-.1 1.4 0 8.7 7.6 18.6 23.8 26.8 16.2 8.1 39.6 13.5 65.7 13.5 13.2 0 25.7-1.4 37-3.8v-26.9c-14.8 4-31.5 6.2-49.1 6.2-28.6 0-54.5-5.7-74.1-15.5-1.1-.6-2.2-1.2-3.2-1.7zm2.8 37.3c-2 3.3-2.9 6.5-2.9 9.6 0 8.7 7.6 18.6 23.8 26.8 16.2 8.1 39.6 13.5 65.7 13.5 13.2 0 25.7-1.4 37-3.8v-26.4c-11.6 2.2-24 3.4-37 3.4-28.6 0-54.5-5.7-74.1-15.6-4.5-2.2-8.7-4.7-12.5-7.5zm173.1 0c-5.8 3.9-10.9 7-16.7 9.5v24.6c13.3-7.6 19.6-16.6 19.6-24.5 0-3.1-.9-6.3-2.9-9.6zm-292.6 5.4c-3.5 4.4-7.6 8.6-12.2 12.4-15.6 13.1-37.6 23.7-63 29.6-9.06 2.1-18.06 3.4-26.7 4.1 3.2 5.3 8.83 10.5 17.07 15.1 13.63 7.7 33.63 12.9 55.83 12.9 10.1 0 19.7-1.1 28.5-3v-20.8c13.8-2.1 25.4-5.9 32.8-10.8v18.4c10-7 14.8-14.9 14.8-22.4 0-8.7-6.5-18-20.2-25.7-7.4-4.1-16.6-7.5-26.9-9.8z" fill="#ffffff" fill-opacity="1" stroke="#000000" stroke-opacity="1" stroke-width="8"></path></g></svg>

After

Width:  |  Height:  |  Size: 4.0 KiB

+47
View File
@@ -0,0 +1,47 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
style="height: 512px; width: 512px;"
viewBox="0 0 512 512"
version="1.1"
id="svg2"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<defs
id="defs2">
<radialGradient
id="delapouite-3d-glasses-gradient-0">
<stop
offset="0%"
stop-color="#000"
stop-opacity="1"
id="stop1" />
<stop
offset="100%"
stop-color="#ffffff"
stop-opacity="1"
id="stop2" />
</radialGradient>
</defs>
<g
class=""
style=""
transform="translate(0,0)"
id="g2">
<path
d="M176 80L39.36 247h77.74L176 144l32 48v-48l-32-64zm160 0l-32 64v48l32-48 58.9 103h77.7L336 80zM25 265v174h194.2l36.8-55.2 36.8 55.2H487V265H25zm23 23h176v64l-32 64H48V288zm240 0h176v128H320l-32-64v-64z"
fill="#000000"
fill-opacity="1"
stroke="#000000"
stroke-opacity="1"
stroke-width="8"
id="path2" />
</g>
<path
style="fill:#0000ff;stroke-width:0.636816"
d="m 52.218905,351.8408 v -59.8607 h 83.741295 83.74129 v 29.29613 29.29613 l -15.28488,30.56457 -15.28488,30.56456 H 120.67532 52.218905 Z"
id="path3" />
<path
style="fill:#ff0000;stroke-width:0.636816"
d="M 307.58339,381.13693 292.29851,350.57236 V 321.27623 291.9801 h 83.74129 83.74129 v 59.8607 59.86069 h -68.45641 -68.45641 z"
id="path4" />
</svg>

After

Width:  |  Height:  |  Size: 1.4 KiB

@@ -0,0 +1 @@
<svg style="height: 512px; width: 512px;" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><defs><radialGradient id="lorc-uncertainty-gradient-0"><stop offset="0%" stop-color="#000" stop-opacity="1"></stop><stop offset="100%" stop-color="#ffffff" stop-opacity="1"></stop></radialGradient></defs><g class="" style="" transform="translate(0,0)"><path d="M257.78 19.438c-127.92.016-231.75 103.855-231.75 231.78 0 55.734 19.71 106.776 52.532 146.72L57.75 434.094h132.406l-66.312-114.72-22.375 39c-20.9-30.478-33.064-67.442-33.064-107.155 0-104.523 84.854-189.376 189.375-189.376 104.523 0 189.408 84.853 189.408 189.375 0 39.108-11.68 75.664-32 105.874l-21.875-37.72L327 434.095h132.406l-21.594-37.47c32.225-39.78 51.75-90.253 51.75-145.405 0-127.927-103.827-231.766-231.75-231.782h-.03zm-.655 75.468c-49.528-.047-110.474 29.232-128.406 104.938l60.75 14.312c26.965-76.242 90.87-70.824 113.31-28.625 26.775 50.346-89.687 107.283-84.124 190.407h77.688c6.49-98.144 118.973-123.49 59.562-229.53C337.963 114.38 301 96.572 261.876 95.03V95c-1.573-.062-3.153-.092-4.75-.094zM258.5 395.97c-26.95 0-48.594 21.644-48.594 48.592 0 26.95 21.645 48.594 48.594 48.594 26.95 0 48.594-21.645 48.594-48.594 0-26.948-21.645-48.593-48.594-48.593z" fill="#ffffff" fill-opacity="1" stroke="#000000" stroke-opacity="1" stroke-width="8"></path></g></svg>

After

Width:  |  Height:  |  Size: 1.3 KiB

+1
View File
@@ -0,0 +1 @@
<svg style="height: 512px; width: 512px;" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><defs><radialGradient id="lorc-powder-gradient-0"><stop offset="0%" stop-color="#000" stop-opacity="1"></stop><stop offset="100%" stop-color="#ffffff" stop-opacity="1"></stop></radialGradient><linearGradient id="lorc-powder-gradient-1"><stop offset="0%" stop-color="#fff" stop-opacity="1"></stop><stop offset="100%" stop-color="#e8e8e8" stop-opacity="1"></stop></linearGradient></defs><g class="" style="" transform="translate(0,0)"><path d="M260.28 71.406c-12.493.18-23.276 7.03-35.31 16.313C160.78 137.22 81.93 205.86 59.874 254c-8.294-11.01-37.188-8.578-37.188 6.656 0 13.07 20.105 16.687 31.594 11.094-.615 4.334-.52 8.38.345 12.125-6.367 1.883-11.28 5.995-11.28 12.28 0 13.762 22.29 17.075 33.343 10.158 5.03 2.766 10.308 5.383 15.812 7.812-.82 1.512-1.25 3.237-1.25 5.156 0 11.616 15.868 15.766 27.47 12.626-.146.71-.22 1.472-.22 2.25 0 18.294 39.406 18.13 39.406 0 0-.147-.026-.293-.03-.437 14.275 2.734 29.115 4.778 44.28 6.155 3.003 14.32 32.657 14.91 38.25 2.063 15.032.29 30.163 0 45.156-.875-.136.693-.25 1.43-.25 2.187 0 14.17 23.653 17.252 34.313 9.5 11.71 17.38 56 14.1 56-9.375 0-2.304-.407-4.408-1.188-6.313 9.565 4.504 22.57 5.225 33.25 2.157 2.438 16.508 39.282 15.748 39.282-1.783 0-9.43-10.643-13.827-20.876-13.406.577-1.795.906-3.732.906-5.81 0-1.85-.26-3.57-.72-5.19 5.083-1.994 9.978-4.1 14.658-6.28 12.24-5.705 17.59-14.928 17.687-26.563 11.533 5.37 31.313 1.566 31.313-11.28 0-14.457-25.064-17.168-35.22-8.657-18.55-51.64-99.242-128.954-160.78-175.188-13.177-9.9-23.94-13.796-33.657-13.656zM479.314 302.5c-9.854.043-19.72 4.577-19.72 13.47 0 18.293 39.407 18.13 39.407 0 0-9.066-9.834-13.513-19.688-13.47zM34.97 314.063c-9.854.043-19.72 4.576-19.72 13.468 0 18.296 39.406 18.13 39.406 0 0-9.064-9.834-13.51-19.687-13.467zM80.374 342.5c-10.71.047-21.43 4.817-22.156 14.156-10.41-.53-21.5 3.978-21.5 13.406 0 17.342 35.404 18.098 39.093 2.688 12.385 1.59 26.75-3.445 26.75-15.063 0-10.204-11.096-15.236-22.188-15.187zm89.22 10.406c-6.657.03-13.32 2.1-16.94 6.188-13.492-2.84-30.874 2.275-30.874 15.094 0 19.417 37.687 21.175 45.157 5.718 10.654.872 22.344-3.65 22.344-13.53 0-9.066-9.833-13.513-19.686-13.47zm89.186 1.625c-9.852.044-19.717 4.578-19.717 13.47 0 18.294 39.437 18.13 39.437 0 0-9.065-9.866-13.512-19.72-13.47zm210.626 6.064c-12.95.056-25.906 6.03-25.906 17.72 0 24.043 51.78 23.826 51.78-.002 0-11.913-12.923-17.775-25.874-17.718zm-75.187 7.125c-9.854.042-19.72 4.575-19.72 13.467 0 18.295 39.438 18.13 39.438 0 0-9.064-9.866-13.51-19.72-13.468zm-181.283 13.75c-11.298.048-22.593 5.24-22.593 15.436 0 12.487 16.006 17.455 28.97 15.063 6.844 18.704 50.905 16.82 50.905-5.158 0-15.218-21.107-20.517-36.376-16.28-3.558-6.105-12.228-9.1-20.906-9.063zm121.844 6.936c-6.21.027-12.443 1.842-16.186 5.406-11.597-4.94-30.78-1.042-30.78 11.375-.002 14.898 26.137 17.537 35.842 8.22 11.597 5.024 30.813 1.126 30.813-11.532 0-9.065-9.836-13.512-19.69-13.47zM94.44 390.97c-11.3.048-22.626 5.24-22.626 15.436 0 20.978 45.22 20.79 45.22 0 0-10.394-11.296-15.487-22.594-15.437zM429.5 404.81c-11.092.05-22.188 5.146-22.188 15.157 0 20.594 44.375 20.41 44.375 0 0-10.206-11.095-15.206-22.187-15.158zm-270.656 1.844c-11.3.05-22.594 5.24-22.594 15.438 0 20.978 45.188 20.79 45.188 0 0-10.395-11.296-15.487-22.594-15.438z" fill="url(#lorc-powder-gradient-1)" stroke="#000000" stroke-opacity="1" stroke-width="8"></path></g></svg>

After

Width:  |  Height:  |  Size: 3.4 KiB

@@ -0,0 +1 @@
<svg style="height: 512px; width: 512px;" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><defs><radialGradient id="lorc-auto-repair-gradient-0"><stop offset="0%" stop-color="#000" stop-opacity="1"></stop><stop offset="100%" stop-color="#ffffff" stop-opacity="1"></stop></radialGradient></defs><g class="" style="" transform="translate(0,0)"><path d="M241.406 21l-15.22 34.75c-7.864.478-15.703 1.472-23.467 2.97l-23.282-30.064-25.094 8.532-.125 38.25c-10.63 5.464-20.817 12.07-30.44 19.78L88.313 79.25 70.156 98.563 88.312 133c-5.852 8.346-10.925 17.072-15.218 26.094l-38.938 1.062-7.906 25.28 31.438 23.158c-1.505 9.38-2.24 18.858-2.282 28.344L20.5 254.625l3.656 26.25 38.313 7.5c2.284 7.982 5.107 15.826 8.5 23.5L45.72 343.22l14.093 22.436 39.25-9.187c2.47 2.895 5.037 5.757 7.718 8.53 5.643 5.835 11.565 11.206 17.72 16.125l-7.625 39.313 22.938 13.25 29.968-26.094c8.606 3.462 17.435 6.23 26.407 8.312l9.782 38.406 26.405 2.157 15.875-36.22c10.97-.66 21.904-2.3 32.656-4.938l25.22 29.22 24.593-9.844-.72-14.813-57.406-43.53c-16.712 4.225-34.042 5.356-51.063 3.436-31.754-3.58-62.27-17.92-86.218-42.686-54.738-56.614-53.173-146.67 3.438-201.406 27.42-26.513 62.69-39.963 98-40.344 37.59-.406 75.214 13.996 103.438 43.187 45.935 47.512 52.196 118.985 19.562 173.095l31.97 24.25c3.997-6.28 7.594-12.75 10.75-19.375l38.655-1.063 7.906-25.28-31.217-23c1.513-9.457 2.262-19.035 2.28-28.594l34.688-17.625-3.655-26.25-38.28-7.5c-3.196-10.993-7.444-21.762-12.75-32.125l22.81-31.594-15.25-21.657-37.56 10.906c-.472-.5-.93-1.007-1.408-1.5-5.998-6.205-12.33-11.89-18.937-17.064l7.188-37.125L334 43.78l-28.5 24.814c-9.226-3.713-18.702-6.603-28.313-8.75l-9.343-36.688L241.406 21zM183.25 174.5c-10.344.118-20.597 2.658-30 7.28l45.22 34.314c13.676 10.376 17.555 30.095 7.06 43.937-10.498 13.85-30.656 15.932-44.53 5.408l-45.188-34.282c-4.627 24.793 4.135 51.063 25.594 67.344 19.245 14.597 43.944 17.33 65.22 9.688l4.78-1.72 4.03 3.063 135.19 102.564 4.03 3.062-.344 5.063c-1.637 22.55 7.59 45.61 26.844 60.217 21.46 16.28 49.145 17.63 71.78 6.5l-45.186-34.28c-13.874-10.526-17.282-30.506-6.78-44.344 10.5-13.84 30.537-15.405 44.217-5.032l45.188 34.283c4.616-24.784-4.11-51.067-25.563-67.344-19.313-14.658-43.817-17.562-64.968-10.033l-4.75 1.688-4.03-3.063-135.19-102.562-4.03-3.063.344-5.03c1.55-22.387-7.85-45.194-27.157-59.845-12.544-9.516-27.222-13.978-41.78-13.812zm43.563 90.25l163.875 124.344L379.406 404 215.5 279.625l11.313-14.875z" fill="#000000" fill-opacity="1"></path></g></svg>

After

Width:  |  Height:  |  Size: 2.4 KiB

+1
View File
@@ -0,0 +1 @@
<svg style="height: 512px; width: 512px;" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><rect fill="#c9c9c9" height="512" width="512" rx="32" ry="32" fill-opacity="1"></rect><g class="" style="" transform="translate(0,0)"><path d="M23.563 75.28C17.71 179.527 82.54 207.685 181.875 198.688 158.455 135.47 111.857 89.686 23.563 75.28zm474.625 0c-88.295 14.405-134.894 60.19-158.313 123.407 99.334 8.997 164.164-19.16 158.313-123.406zM55.03 283.53c20.276 35.905 40.59 66.526 60.908 91.876 96.78 28.22 194.46 26.484 293.406-1.312 19.378-25.143 38.59-55.332 57.594-90.563-121.66 108.32-286.123 103.457-411.907 0zM389.407 398.19c-84.598 20.145-168.747 21.634-252.22 1.812 85.106 90.85 170.073 89.535 252.22-1.813z" fill="#000000" fill-opacity="1"></path></g></svg>

After

Width:  |  Height:  |  Size: 769 B

+33
View File
@@ -0,0 +1,33 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
width="5.8208332mm"
height="5.8210001mm"
viewBox="0 0 5.8208332 5.8210001"
version="1.1"
id="svg1"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<defs
id="defs1" />
<g
id="layer1"
transform="translate(-120.91458,-104.24583)">
<g
fill="none"
stroke="currentColor"
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
id="g2"
transform="matrix(0.26458333,0,0,0.26458333,120.65,103.98133)">
<path
d="m 9,12 2,2 4,-4"
id="path1" />
<path
d="M 5,7 C 5,5.9 5.9,5 7,5 h 10 a 2,2 0 0 1 2,2 V 19 H 5 Z M 22,19 H 2"
id="path2" />
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 843 B

-121
View File
@@ -1,121 +0,0 @@
from typing import *
# Card size info
TOTAL_HEIGHT = 1125
TOTAL_WIDTH = 825
BLEED_MARGIN = 37.5
SAFE_MARGIN = 75
MAX_SAFE_X = TOTAL_WIDTH - SAFE_MARGIN
MAX_SAFE_Y = TOTAL_HEIGHT - SAFE_MARGIN
# Icon info
ICON_SIZE = 125
ICON_MARGIN_LEFT = 0
ICON_MARGIN_TOP = 0
ICON_X = ICON_MARGIN_LEFT + SAFE_MARGIN
ICON_Y = ICON_MARGIN_TOP + SAFE_MARGIN
# Banner info
BANNER_WIDTH = 75
BANNER_HEIGHT = 225
BANNER_X = ICON_X + ICON_SIZE + 10
BANNER_Y = 0
BANNER_TEXT_FONT = "\"ethnocentric 12\""
BANNER_TEXT_X = BANNER_X - 10
BANNER_TEXT_Y = BANNER_HEIGHT // 3
BANNER_TEXT_WIDTH = BANNER_WIDTH + 20
# Name info
NAME_X = ICON_X + ICON_SIZE
NAME_Y = SAFE_MARGIN + 10
NAME_WIDTH = MAX_SAFE_X - NAME_X
NAME_HEIGHT = 125
NAME_FONT = "\"ethnocentric 11\""
NAME_WITH_BANNER_X = BANNER_X + BANNER_WIDTH
NAME_WITH_BANNER_WIDTH = NAME_WIDTH - (NAME_WITH_BANNER_X - NAME_X)
def central_sym(x: int, y: int) -> Tuple[int, int]:
return TOTAL_WIDTH - x, TOTAL_HEIGHT - y
# Alternative objects
ALT_ICON_X, ALT_ICON_Y = central_sym(ICON_X, ICON_Y)
ALT_BANNER_X, ALT_BANNER_Y = central_sym(BANNER_X, BANNER_Y)
ALT_BANNER_TEXT_X, ALT_BANNER_TEXT_Y = central_sym(BANNER_TEXT_X, BANNER_TEXT_Y)
LAYOUT: str = f"""
icon:
x: {ICON_X}
y: {ICON_Y}
width: {ICON_SIZE}
height: {ICON_SIZE}
alt_icon:
extends: icon
x: {ALT_ICON_X}
y: {ALT_ICON_Y}
angle: 3.14159
banner:
x: {BANNER_X}
y: {BANNER_Y}
width: {BANNER_WIDTH}
height: {BANNER_HEIGHT}
banner_text:
x: {BANNER_TEXT_X}
y: {BANNER_TEXT_Y}
width: {BANNER_TEXT_WIDTH}
height: 2c
font: {BANNER_TEXT_FONT}
align: center
# hint: blue
alt_banner:
extends: banner
x: {ALT_BANNER_X}
y: {ALT_BANNER_Y}
angle: 3.14159
alt_banner_text:
extends: banner_text
angle: 3.14159
x: {ALT_BANNER_TEXT_X}
y: {ALT_BANNER_TEXT_Y}
name:
x: {NAME_X}
y: {NAME_Y}
width: {NAME_WIDTH}
height: {NAME_HEIGHT}
align: center
valign: middle
font: {NAME_FONT}
# hint: red
name_with_banner:
extends: name
x: {NAME_WITH_BANNER_X}
width: {NAME_WITH_BANNER_WIDTH}
cut:
x: {BLEED_MARGIN}
y: {BLEED_MARGIN}
width: {TOTAL_WIDTH - (2 * BLEED_MARGIN)}
height: {TOTAL_HEIGHT - (2 * BLEED_MARGIN)}
stroke_color: gray
stroke_width: 2
safe:
x: {SAFE_MARGIN}
y: {SAFE_MARGIN}
width: {TOTAL_WIDTH - (2 * SAFE_MARGIN)}
height: {TOTAL_HEIGHT - (2 * SAFE_MARGIN)}
radius: 0.5c
dash: 3mm 3mm
"""
if __name__ == "__main__":
open("layout.yml", "w").write(LAYOUT)
+42
View File
@@ -10,6 +10,8 @@ BLEED_MARGIN = 1
SAFE_MARGIN = 2 SAFE_MARGIN = 2
MAX_SAFE_X = TOTAL_WIDTH - SAFE_MARGIN MAX_SAFE_X = TOTAL_WIDTH - SAFE_MARGIN
MAX_SAFE_Y = TOTAL_HEIGHT - SAFE_MARGIN MAX_SAFE_Y = TOTAL_HEIGHT - SAFE_MARGIN
SAFE_WIDTH = TOTAL_WIDTH - 2 * SAFE_MARGIN
SAFE_HEIGHT = TOTAL_HEIGHT - 2 * SAFE_MARGIN
# Icon info # Icon info
ICON_SIZE = 3.7 ICON_SIZE = 3.7
@@ -46,7 +48,27 @@ ALT_ICON_X, ALT_ICON_Y = central_sym(ICON_X, ICON_Y)
ALT_BANNER_X, ALT_BANNER_Y = central_sym(BANNER_X, BANNER_Y) ALT_BANNER_X, ALT_BANNER_Y = central_sym(BANNER_X, BANNER_Y)
ALT_BANNER_TEXT_X, ALT_BANNER_TEXT_Y = central_sym(BANNER_TEXT_X, BANNER_TEXT_Y) ALT_BANNER_TEXT_X, ALT_BANNER_TEXT_Y = central_sym(BANNER_TEXT_X, BANNER_TEXT_Y)
# Effects
EFFECT_FRAME_WIDTH = SAFE_WIDTH - 2
EFFECT_FRAME_HEIGHT = 6
EFFECT_FRAME_RADIUS = 0.2
EFFECT_FRAME_MARGIN_BOTTOM = 2
EFFECT_FRAME_X = (TOTAL_WIDTH - EFFECT_FRAME_WIDTH) / 2.
EFFECT_FRAME_Y = MAX_SAFE_Y - EFFECT_FRAME_MARGIN_BOTTOM - EFFECT_FRAME_HEIGHT
EFFECT_TEXT_MARGIN = 1
EFFECT_TEXT_X = EFFECT_FRAME_X + EFFECT_TEXT_MARGIN
EFFECT_TEXT_Y = EFFECT_FRAME_Y + EFFECT_TEXT_MARGIN
EFFECT_TEXT_WIDTH = EFFECT_FRAME_WIDTH - 2 * EFFECT_TEXT_MARGIN
EFFECT_TEXT_HEIGHT = EFFECT_FRAME_HEIGHT - 2 * EFFECT_TEXT_MARGIN
POKER_LAYOUT: str = f""" POKER_LAYOUT: str = f"""
background:
x: 0
y: 0
width: {TOTAL_WIDTH}c
height: {TOTAL_HEIGHT}c
icon: icon:
x: {ICON_X}c x: {ICON_X}c
y: {ICON_Y}c y: {ICON_Y}c
@@ -102,6 +124,26 @@ name_with_banner:
x: {NAME_WITH_BANNER_X}c x: {NAME_WITH_BANNER_X}c
width: {NAME_WITH_BANNER_WIDTH}c width: {NAME_WITH_BANNER_WIDTH}c
effect_frame:
x: {EFFECT_FRAME_X}c
y: {EFFECT_FRAME_Y}c
width: {EFFECT_FRAME_WIDTH}c
height: {EFFECT_FRAME_HEIGHT}c
radius: {EFFECT_FRAME_RADIUS}c
stroke_width: 0.3mm
effect_text:
x: {EFFECT_TEXT_X}c
y: {EFFECT_TEXT_Y}c
width: {EFFECT_TEXT_WIDTH}c
height: {EFFECT_TEXT_HEIGHT}c
font_size: 9
spacing: 5
align: center
valign: middle
markup: true
border: border:
x: 0 x: 0
y: 0 y: 0
+19
View File
@@ -10,6 +10,10 @@ def rank_to_banner_svg(rank)
rank.nil? ? nil : (rank.start_with?('+') || rank.start_with?('-')) ? "banniere_mod.svg" : "banniere_rang.svg" rank.nil? ? nil : (rank.start_with?('+') || rank.start_with?('-')) ? "banniere_mod.svg" : "banniere_rang.svg"
end end
def embed_custom(embed, id)
embed.svg width: '0.8c', height: '0.8c', dx: '0c', dy: '-0.7c', key: ":#{id}:", file: "._graphics/#{id}.svg"
end
DPI = 300 DPI = 300
CELL_PX = DPI / 8.0 CELL_PX = DPI / 8.0
BLEED = 0.125 # In inches BLEED = 0.125 # In inches
@@ -26,6 +30,7 @@ Squib::Deck.new(
dpi: DPI, dpi: DPI,
) do ) do
background color: 'white' background color: 'white'
svg file: 'bg_numbers.svg', layout: 'background'
build :debug do build :debug do
rect layout: 'border', stroke_color: 'black' rect layout: 'border', stroke_color: 'black'
@@ -49,6 +54,20 @@ Squib::Deck.new(
svg file: alt_banner_file, layout: 'alt_banner' svg file: alt_banner_file, layout: 'alt_banner'
text str: data['rang_alt'], layout: 'alt_banner_text' text str: data['rang_alt'], layout: 'alt_banner_text'
fill_color = data['effet'].map { |effet| effet.nil? ? '#0000': '#f5f5f5ff' }
stroke_color = data['effet'].map { |effet| effet.nil? ? '#0000': '#bb98' }
rect layout: 'effect_frame', fill_color: fill_color, stroke_color: stroke_color
text(str: data['effet'], layout: 'effect_text') do |embed|
embed_custom(embed, 'effet')
embed_custom(embed, 'magouille')
embed_custom(embed, 'pv')
embed_custom(embed, 'icone_ind')
embed_custom(embed, 'icone_gau')
embed_custom(embed, 'icone_roy')
embed_custom(embed, 'icone_ana')
embed_custom(embed, 'icone_dro')
embed_custom(embed, 'icone_eco')
end
build :debug do build :debug do
save_pdf sprue: 'sprues/debug.yml', file: 'debug.pdf' save_pdf sprue: 'sprues/debug.yml', file: 'debug.pdf'