]> git.rm.cloudns.org Git - xonotic/mediasource.git/commitdiff
Add sources of medal icons for xonstat
authorSeverin Meyer <sev.ch@web.de>
Thu, 24 Mar 2016 18:01:34 +0000 (19:01 +0100)
committerSeverin Meyer <sev.ch@web.de>
Thu, 24 Mar 2016 18:01:34 +0000 (19:01 +0100)
gfx/medals/duel1.svg [new file with mode: 0644]
gfx/medals/duel2.svg [new file with mode: 0644]
gfx/medals/duel3.svg [new file with mode: 0644]
gfx/medals/render.sh [new file with mode: 0755]

diff --git a/gfx/medals/duel1.svg b/gfx/medals/duel1.svg
new file mode 100644 (file)
index 0000000..d7c892c
--- /dev/null
@@ -0,0 +1,63 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="64" height="64" version="1.1">
+       <path fill="#073469" opacity=".6" d="m18.5 14-13 21.5 7.5 12.5h38l7.5-12.5-13-21.5z"/>
+       <g fill="#405f7c" font-family="Xolonium">
+               <text style="text-anchor:end" font-size="7px" x="33.5" y="59">MMM</text>
+               <text font-weight="bold" font-size="9px" x="33" y="59">YY</text>
+       </g>
+       <path fill="#144068" d="m25 9-20 33 7.5 12.5 8.5-4.5h22l8.5 4.5 7.5-12.5-20-33z"/>
+       <g fill="#aabbc6">
+               <g opacity=".3">
+                       <path d="m29 12v1.5h2v4h2v-5.5zm0 6v1.5h6v-1.5z"/>
+                       <path id="B31" opacity="0" d="m24 46v1h1v-1h-1z"/>
+                       <path id="B30" opacity="1" d="m25 46v1h1v-1h-1z"/>
+                       <path id="B29" opacity="0" d="m26 46v1h1v-1h-1z"/>
+                       <path id="B28" opacity="0" d="m27 46v1h1v-1h-1z"/>
+                       <path id="B27" opacity="1" d="m28 46v1h1v-1h-1z"/>
+                       <path id="B26" opacity="1" d="m29 46v1h1v-1h-1z"/>
+                       <path id="B25" opacity="0" d="m30 46v1h1v-1h-1z"/>
+                       <path id="B24" opacity="0" d="m31 46v1h1v-1h-1z"/>
+                       <path id="B23" opacity="0" d="m32 46v1h1v-1h-1z"/>
+                       <path id="B22" opacity="0" d="m33 46v1h1v-1h-1z"/>
+                       <path id="B21" opacity="1" d="m34 46v1h1v-1h-1z"/>
+                       <path id="B20" opacity="1" d="m35 46v1h1v-1h-1z"/>
+                       <path id="B19" opacity="0" d="m36 46v1h1v-1h-1z"/>
+                       <path id="B18" opacity="0" d="m37 46v1h1v-1h-1z"/>
+                       <path id="B17" opacity="1" d="m38 46v1h1v-1h-1z"/>
+                       <path id="B16" opacity="1" d="m39 46v1h1v-1h-1z"/>
+                       <path id="B15" opacity="0" d="m24 47v1h1v-1h-1z"/>
+                       <path id="B14" opacity="0" d="m25 47v1h1v-1h-1z"/>
+                       <path id="B13" opacity="1" d="m26 47v1h1v-1h-1z"/>
+                       <path id="B12" opacity="1" d="m27 47v1h1v-1h-1z"/>
+                       <path id="B11" opacity="0" d="m28 47v1h1v-1h-1z"/>
+                       <path id="B10" opacity="0" d="m29 47v1h1v-1h-1z"/>
+                       <path id="B09" opacity="1" d="m30 47v1h1v-1h-1z"/>
+                       <path id="B08" opacity="1" d="m31 47v1h1v-1h-1z"/>
+                       <path id="B07" opacity="0" d="m32 47v1h1v-1h-1z"/>
+                       <path id="B06" opacity="1" d="m33 47v1h1v-1h-1z"/>
+                       <path id="B05" opacity="0" d="m34 47v1h1v-1h-1z"/>
+                       <path id="B04" opacity="1" d="m35 47v1h1v-1h-1z"/>
+                       <path id="B03" opacity="0" d="m36 47v1h1v-1h-1z"/>
+                       <path id="B02" opacity="1" d="m37 47v1h1v-1h-1z"/>
+                       <path id="B01" opacity="0" d="m38 47v1h1v-1h-1z"/>
+                       <path id="B00" opacity="0" d="m39 47v1h1v-1h-1z"/>
+               </g>
+               <path opacity=".15" d="m18.5 46 1.75 2h3.75v-2zm21.5 0v2h3.75l1.75-2z"/>
+       </g>
+       <g fill="#fdecbd">
+               <path opacity=".5" d="m40.4941 20.0234-0.318359 0.394531a11.5 11.5 0 0 1 3.3243 8.0821 11.5 11.5 0 0 1 -9.3438 11.2871l-1.4062 3.2129h-1.5l-1.4043-3.209a11.5 11.5 0 0 1 -9.3457 -11.291 11.5 11.5 0 0 1 3.3281 -8.0781l-0.3203-0.3965a13.5 13.5 0 0 0 -5.0078 10.4746 13.5 13.5 0 0 0 13.5 13.5 13.5 13.5 0 0 0 13.5 -13.5 13.5 13.5 0 0 0 -5.0059 -10.4766z"/>
+               <g transform="matrix(.215 0 0 .215 18.24 16.25)">
+                       <use xlink:href="#duel" fill="#144068" stroke="#144068" stroke-width="14"/>
+                       <path id="duel" d="m25.3 19c5.1 17.3 23.2 38.2 53.8 63.9l1.8-3.7c-29.1-24.4-44-41.4-51.3-59.2 8.6 17.7 23.9 34.3 53 58.7l-2.7 6.3 3.8 3.2-3.9 4.6 2.3 1.9c6-4.1 6-4.1 9.8-0.9l17 14.2c1.6 0 7.1-7 7.1-8.4l-16.8-14.1c-3.8-3.2-3.8-3.2-0.9-9.9l-2.3-1.9-4.5 5.3c-23-19.3-47.6-41.8-56.9-58.7zm77.5 0-9.3 1.3c-5.3 9.5-15.4 21.1-27.2 32.4l4.1 3.8c13.6-13.2 22.3-24.7 28-36.5-4.9 12-13.2 23.9-27.1 37.5l2.9 2.6c15.5-15.5 25.1-29.3 28.6-41.1zm-49.1 45.2c-5.7 5-11.5 10-17.2 14.8l-4.5-5.3-2.3 1.9c3 6.6 3 6.7-0.9 9.9l-16.8 14.1c0 1.4 5.5 8.4 7.1 8.4l16.9-14.2c3.8-3.2 3.8-3.2 9.8 0.9l2.3-1.9-3.9-4.6 3.8-3.2-2.7-6.3c4.4-3.7 8.5-7.3 12.3-10.6zm5.2 4.9c-3.6 3.2-7.5 6.6-11.7 10.1l1.8 3.7c4.6-3.8 8.8-7.5 12.8-11.1z"/>
+               </g>
+               <g id="wings">
+                       <path d="m52.1895 13.168-8.17095 6.9893a15.875 15.875 0 0 1 1.10742 1.44043l6.876-4.46875 0.1875-3.96094z"/>
+                       <path opacity="0.82" d="m57.827 9.0625-4.94726 4.43262-0.21289 4.14942-7.00975 4.54883c0.87592 1.44298 1.51798 3.0155 1.90234 4.65918l9.09865-4.66797 1.49512-10.2959z"/>
+                       <path d="m52.215 27.25-4.38281 2.09961a15.875 15.875 0 0 1 0.0428 1.1504 15.875 15.875 0 0 1 -0.01955 0.38965l3.30755-0.5371 1.052-3.10255z"/>
+                       <path opacity="0.82" d="m56.6135 25.7158-3.6875 1.69531-1.29883 3.58789-3.68164 0.598635a16 16 0 0 1 -0.77832 3.95508l6.124-0.091797 2.97852-7.0371 0.34375-2.70801z"/>
+                       <path d="m48.373 38.1768-2.6074 0.206a15.875 15.875 0 0 1 -0.67676 1.09961l1.90528 0.243164 1.3789-1.54883z"/>
+                       <path opacity="0.82" d="m48.7969 38.503-1.53808 1.75781-2.35547-0.330078a16 16 0 0 1 -1.67969 1.96484l4.96484 1.2832 3.90332-4.6748-3.29492-0.0009765z"/>
+               </g>
+               <use xlink:href="#wings" transform="matrix(-1,0,0,1,64,0)"/>
+       </g>
+</svg>
diff --git a/gfx/medals/duel2.svg b/gfx/medals/duel2.svg
new file mode 100644 (file)
index 0000000..e2ddd12
--- /dev/null
@@ -0,0 +1,61 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="64" height="64" version="1.1">
+       <path fill="#073469" opacity=".6" d="m18.5 14-13 21.5 7.5 12.5h38l7.5-12.5-13-21.5z"/>
+       <g fill="#405f7c" font-family="Xolonium">
+               <text style="text-anchor:end" font-size="7px" x="33.5" y="59">MMM</text>
+               <text font-weight="bold" font-size="9px" x="33" y="59">YY</text>
+       </g>
+       <path fill="#144068" d="m25 9-20 33 7.5 12.5 8.5-4.5h22l8.5 4.5 7.5-12.5-20-33z"/>
+       <g fill="#aabbc6">
+               <g opacity=".3">
+                       <path d="m29 12v1.5h4v-1.5zm4.5 0v2.68173c0 0.2159-0.13635 0.31825-0.39775 0.31825h-2.67046c-1.28405 0-1.9318 0.51155-1.9318 1.54565v2.95435h2v-2.68173c0-0.2159 0.13635-0.31825 0.39775-0.31825h2.67046c1.28405 0 1.9318-0.5111 1.9318-1.5452v-1.40918c0-1.03405-0.64775-1.5456-1.9318-1.5456zm-2.5 6v1.5h4.5v-1.5z"/>
+                       <path id="B31" opacity="0" d="m24 46v1h1v-1h-1z"/>
+                       <path id="B30" opacity="1" d="m25 46v1h1v-1h-1z"/>
+                       <path id="B29" opacity="0" d="m26 46v1h1v-1h-1z"/>
+                       <path id="B28" opacity="0" d="m27 46v1h1v-1h-1z"/>
+                       <path id="B27" opacity="1" d="m28 46v1h1v-1h-1z"/>
+                       <path id="B26" opacity="1" d="m29 46v1h1v-1h-1z"/>
+                       <path id="B25" opacity="1" d="m30 46v1h1v-1h-1z"/>
+                       <path id="B24" opacity="0" d="m31 46v1h1v-1h-1z"/>
+                       <path id="B23" opacity="0" d="m32 46v1h1v-1h-1z"/>
+                       <path id="B22" opacity="1" d="m33 46v1h1v-1h-1z"/>
+                       <path id="B21" opacity="0" d="m34 46v1h1v-1h-1z"/>
+                       <path id="B20" opacity="0" d="m35 46v1h1v-1h-1z"/>
+                       <path id="B19" opacity="1" d="m36 46v1h1v-1h-1z"/>
+                       <path id="B18" opacity="0" d="m37 46v1h1v-1h-1z"/>
+                       <path id="B17" opacity="0" d="m38 46v1h1v-1h-1z"/>
+                       <path id="B16" opacity="1" d="m39 46v1h1v-1h-1z"/>
+                       <path id="B15" opacity="0" d="m24 47v1h1v-1h-1z"/>
+                       <path id="B14" opacity="1" d="m25 47v1h1v-1h-1z"/>
+                       <path id="B13" opacity="0" d="m26 47v1h1v-1h-1z"/>
+                       <path id="B12" opacity="0" d="m27 47v1h1v-1h-1z"/>
+                       <path id="B11" opacity="0" d="m28 47v1h1v-1h-1z"/>
+                       <path id="B10" opacity="0" d="m29 47v1h1v-1h-1z"/>
+                       <path id="B09" opacity="1" d="m30 47v1h1v-1h-1z"/>
+                       <path id="B08" opacity="1" d="m31 47v1h1v-1h-1z"/>
+                       <path id="B07" opacity="0" d="m32 47v1h1v-1h-1z"/>
+                       <path id="B06" opacity="1" d="m33 47v1h1v-1h-1z"/>
+                       <path id="B05" opacity="0" d="m34 47v1h1v-1h-1z"/>
+                       <path id="B04" opacity="0" d="m35 47v1h1v-1h-1z"/>
+                       <path id="B03" opacity="0" d="m36 47v1h1v-1h-1z"/>
+                       <path id="B02" opacity="1" d="m37 47v1h1v-1h-1z"/>
+                       <path id="B01" opacity="0" d="m38 47v1h1v-1h-1z"/>
+                       <path id="B00" opacity="1" d="m39 47v1h1v-1h-1z"/>
+               </g>
+               <path opacity=".15" d="m18.5 46 1.75 2h3.75v-2zm21.5 0v2h3.75l1.75-2z"/>
+       </g>
+       <g fill="#d5eef1">
+               <path opacity=".5" d="m40.4941 20.0234-0.318359 0.394531a11.5 11.5 0 0 1 3.3243 8.0821 11.5 11.5 0 0 1 -9.3438 11.2871l-1.4062 3.2129h-1.5l-1.4043-3.209a11.5 11.5 0 0 1 -9.3457 -11.291 11.5 11.5 0 0 1 3.3281 -8.0781l-0.3203-0.3965a13.5 13.5 0 0 0 -5.0078 10.4746 13.5 13.5 0 0 0 13.5 13.5 13.5 13.5 0 0 0 13.5 -13.5 13.5 13.5 0 0 0 -5.0059 -10.4766z"/>
+               <g transform="matrix(.215 0 0 .215 18.24 16.25)">
+                       <use xlink:href="#duel" fill="#144068" stroke="#144068" stroke-width="14"/>
+                       <path id="duel" d="m25.3 19c5.1 17.3 23.2 38.2 53.8 63.9l1.8-3.7c-29.1-24.4-44-41.4-51.3-59.2 8.6 17.7 23.9 34.3 53 58.7l-2.7 6.3 3.8 3.2-3.9 4.6 2.3 1.9c6-4.1 6-4.1 9.8-0.9l17 14.2c1.6 0 7.1-7 7.1-8.4l-16.8-14.1c-3.8-3.2-3.8-3.2-0.9-9.9l-2.3-1.9-4.5 5.3c-23-19.3-47.6-41.8-56.9-58.7zm77.5 0-9.3 1.3c-5.3 9.5-15.4 21.1-27.2 32.4l4.1 3.8c13.6-13.2 22.3-24.7 28-36.5-4.9 12-13.2 23.9-27.1 37.5l2.9 2.6c15.5-15.5 25.1-29.3 28.6-41.1zm-49.1 45.2c-5.7 5-11.5 10-17.2 14.8l-4.5-5.3-2.3 1.9c3 6.6 3 6.7-0.9 9.9l-16.8 14.1c0 1.4 5.5 8.4 7.1 8.4l16.9-14.2c3.8-3.2 3.8-3.2 9.8 0.9l2.3-1.9-3.9-4.6 3.8-3.2-2.7-6.3c4.4-3.7 8.5-7.3 12.3-10.6zm5.2 4.9c-3.6 3.2-7.5 6.6-11.7 10.1l1.8 3.7c4.6-3.8 8.8-7.5 12.8-11.1z"/>
+               </g>
+               <g id="wings">
+                       <path d="m52.215 27.25-4.38281 2.09961a15.875 15.875 0 0 1 0.0428 1.1504 15.875 15.875 0 0 1 -0.01955 0.38965l3.30755-0.5371 1.052-3.10255z"/>
+                       <path opacity="0.82" d="m56.6135 25.7158-3.6875 1.69531-1.29883 3.58789-3.68164 0.598635a16 16 0 0 1 -0.77832 3.95508l6.124-0.091797 2.97852-7.0371 0.34375-2.70801z"/>
+                       <path d="m48.373 38.1768-2.6074 0.206a15.875 15.875 0 0 1 -0.67676 1.09961l1.90528 0.243164 1.3789-1.54883z"/>
+                       <path opacity="0.82" d="m48.7969 38.503-1.53808 1.75781-2.35547-0.330078a16 16 0 0 1 -1.67969 1.96484l4.96484 1.2832 3.90332-4.6748-3.29492-0.0009765z"/>
+               </g>
+               <use xlink:href="#wings" transform="matrix(-1,0,0,1,64,0)"/>
+       </g>
+</svg>
diff --git a/gfx/medals/duel3.svg b/gfx/medals/duel3.svg
new file mode 100644 (file)
index 0000000..219f0f9
--- /dev/null
@@ -0,0 +1,59 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="64" height="64" version="1.1">
+       <path fill="#073469" opacity=".6" d="m18.5 14-13 21.5 7.5 12.5h38l7.5-12.5-13-21.5z"/>
+       <g fill="#405f7c" font-family="Xolonium">
+               <text style="text-anchor:end" font-size="7px" x="33.5" y="59">MMM</text>
+               <text font-weight="bold" font-size="9px" x="33" y="59">YY</text>
+       </g>
+       <path fill="#144068" d="m25 9-20 33 7.5 12.5 8.5-4.5h22l8.5 4.5 7.5-12.5-20-33z"/>
+       <g fill="#aabbc6">
+               <g opacity=".3">
+                       <path d="m28.5 12v1.5h4.5v-1.5zm5 0v2.68173c0 0.2159-0.13635 0.31825-0.39775 0.31825h-3.60225v1.5h3.60228c0.261364 0 0.397727 0.102362 0.397727 0.31827v2.68173h0.068182c1.284 0 1.93175-0.5111 1.93175-1.5452v-0.977275c0-0.6704-0.2729-1.11385-0.807-1.3525 0.5341-0.23865 0.807-0.68165 0.807-1.3521v-0.727275c0-1.03405-0.64775-1.5456-1.9318-1.5456zm-5 6v1.5h4.5v-1.5z"/>
+                       <path id="B31" opacity="0" d="m24 46v1h1v-1h-1z"/>
+                       <path id="B30" opacity="1" d="m25 46v1h1v-1h-1z"/>
+                       <path id="B29" opacity="0" d="m26 46v1h1v-1h-1z"/>
+                       <path id="B28" opacity="0" d="m27 46v1h1v-1h-1z"/>
+                       <path id="B27" opacity="1" d="m28 46v1h1v-1h-1z"/>
+                       <path id="B26" opacity="1" d="m29 46v1h1v-1h-1z"/>
+                       <path id="B25" opacity="1" d="m30 46v1h1v-1h-1z"/>
+                       <path id="B24" opacity="0" d="m31 46v1h1v-1h-1z"/>
+                       <path id="B23" opacity="0" d="m32 46v1h1v-1h-1z"/>
+                       <path id="B22" opacity="1" d="m33 46v1h1v-1h-1z"/>
+                       <path id="B21" opacity="0" d="m34 46v1h1v-1h-1z"/>
+                       <path id="B20" opacity="0" d="m35 46v1h1v-1h-1z"/>
+                       <path id="B19" opacity="1" d="m36 46v1h1v-1h-1z"/>
+                       <path id="B18" opacity="1" d="m37 46v1h1v-1h-1z"/>
+                       <path id="B17" opacity="1" d="m38 46v1h1v-1h-1z"/>
+                       <path id="B16" opacity="1" d="m39 46v1h1v-1h-1z"/>
+                       <path id="B15" opacity="0" d="m24 47v1h1v-1h-1z"/>
+                       <path id="B14" opacity="1" d="m25 47v1h1v-1h-1z"/>
+                       <path id="B13" opacity="0" d="m26 47v1h1v-1h-1z"/>
+                       <path id="B12" opacity="0" d="m27 47v1h1v-1h-1z"/>
+                       <path id="B11" opacity="1" d="m28 47v1h1v-1h-1z"/>
+                       <path id="B10" opacity="1" d="m29 47v1h1v-1h-1z"/>
+                       <path id="B09" opacity="1" d="m30 47v1h1v-1h-1z"/>
+                       <path id="B08" opacity="1" d="m31 47v1h1v-1h-1z"/>
+                       <path id="B07" opacity="0" d="m32 47v1h1v-1h-1z"/>
+                       <path id="B06" opacity="1" d="m33 47v1h1v-1h-1z"/>
+                       <path id="B05" opacity="0" d="m34 47v1h1v-1h-1z"/>
+                       <path id="B04" opacity="0" d="m35 47v1h1v-1h-1z"/>
+                       <path id="B03" opacity="0" d="m36 47v1h1v-1h-1z"/>
+                       <path id="B02" opacity="0" d="m37 47v1h1v-1h-1z"/>
+                       <path id="B01" opacity="1" d="m38 47v1h1v-1h-1z"/>
+                       <path id="B00" opacity="0" d="m39 47v1h1v-1h-1z"/>
+               </g>
+               <path opacity=".15" d="m18.5 46 1.75 2h3.75v-2zm21.5 0v2h3.75l1.75-2z"/>
+       </g>
+       <g fill="#ffd5bb">
+               <path opacity=".5" d="m40.4941 20.0234-0.318359 0.394531a11.5 11.5 0 0 1 3.3243 8.0821 11.5 11.5 0 0 1 -9.3438 11.2871l-1.4062 3.2129h-1.5l-1.4043-3.209a11.5 11.5 0 0 1 -9.3457 -11.291 11.5 11.5 0 0 1 3.3281 -8.0781l-0.3203-0.3965a13.5 13.5 0 0 0 -5.0078 10.4746 13.5 13.5 0 0 0 13.5 13.5 13.5 13.5 0 0 0 13.5 -13.5 13.5 13.5 0 0 0 -5.0059 -10.4766z"/>
+               <g transform="matrix(.215 0 0 .215 18.24 16.25)">
+                       <use xlink:href="#duel" fill="#144068" stroke="#144068" stroke-width="14"/>
+                       <path id="duel" d="m25.3 19c5.1 17.3 23.2 38.2 53.8 63.9l1.8-3.7c-29.1-24.4-44-41.4-51.3-59.2 8.6 17.7 23.9 34.3 53 58.7l-2.7 6.3 3.8 3.2-3.9 4.6 2.3 1.9c6-4.1 6-4.1 9.8-0.9l17 14.2c1.6 0 7.1-7 7.1-8.4l-16.8-14.1c-3.8-3.2-3.8-3.2-0.9-9.9l-2.3-1.9-4.5 5.3c-23-19.3-47.6-41.8-56.9-58.7zm77.5 0-9.3 1.3c-5.3 9.5-15.4 21.1-27.2 32.4l4.1 3.8c13.6-13.2 22.3-24.7 28-36.5-4.9 12-13.2 23.9-27.1 37.5l2.9 2.6c15.5-15.5 25.1-29.3 28.6-41.1zm-49.1 45.2c-5.7 5-11.5 10-17.2 14.8l-4.5-5.3-2.3 1.9c3 6.6 3 6.7-0.9 9.9l-16.8 14.1c0 1.4 5.5 8.4 7.1 8.4l16.9-14.2c3.8-3.2 3.8-3.2 9.8 0.9l2.3-1.9-3.9-4.6 3.8-3.2-2.7-6.3c4.4-3.7 8.5-7.3 12.3-10.6zm5.2 4.9c-3.6 3.2-7.5 6.6-11.7 10.1l1.8 3.7c4.6-3.8 8.8-7.5 12.8-11.1z"/>
+               </g>
+               <g id="wings">
+                       <path d="m48.373 38.1768-2.6074 0.206a15.875 15.875 0 0 1 -0.67676 1.09961l1.90528 0.243164 1.3789-1.54883z"/>
+                       <path opacity="0.82" d="m48.7969 38.503-1.53808 1.75781-2.35547-0.330078a16 16 0 0 1 -1.67969 1.96484l4.96484 1.2832 3.90332-4.6748-3.29492-0.0009765z"/>
+               </g>
+               <use xlink:href="#wings" transform="matrix(-1,0,0,1,64,0)"/>
+       </g>
+</svg>
diff --git a/gfx/medals/render.sh b/gfx/medals/render.sh
new file mode 100755 (executable)
index 0000000..75cd7f9
--- /dev/null
@@ -0,0 +1,30 @@
+#!/bin/sh -e
+# TASK
+#   Insert date, render all svg files
+#   and compress the resulting png files.
+#
+# DEPENDENCIES
+#   convert
+#   pngquant (Reduces colors to 8bit)
+#   optipng  (Removes unnecessary data)
+#   advpng   (Compresses with zopfli algorithm)
+#
+# USAGE
+#   ./render.sh MONTH(MMM) YEAR(YY)
+
+
+month="$1"
+year="$2"
+
+
+mkdir -p "png"
+
+
+for svg in *.svg; do
+       png="png/${svg%.*}.png"
+
+       sed -e "s|MMM|$month|" -e "s|YY|$year|" "$svg" | convert -background none - "$png"
+       pngquant --nofs --speed 1 --quality 70-75 --skip-if-larger --force --output "$png" "$png"
+       optipng -o 5 -strip all "$png"
+       advpng --recompress --shrink-insane -i 1000 "$png"
+done