From f4754c009d97b963b0c9dfcb55811af795bc0035 Mon Sep 17 00:00:00 2001 From: Feuerfuchs <git@feuerfuchs.dev> Date: Sat, 28 Sep 2019 18:08:18 +0200 Subject: new: hypercofe, generalized hyper script --- blobfoxhypercofe.svg | 293 +++++++++++++++++++++++++++++++++++++++++++++++++++ blobfoxhyperowo.sh | 34 ------ gen.sh | 13 ++- hyperize.sh | 38 +++++++ 4 files changed, 337 insertions(+), 41 deletions(-) create mode 100644 blobfoxhypercofe.svg delete mode 100755 blobfoxhyperowo.sh create mode 100755 hyperize.sh diff --git a/blobfoxhypercofe.svg b/blobfoxhypercofe.svg new file mode 100644 index 0000000..3218db2 --- /dev/null +++ b/blobfoxhypercofe.svg @@ -0,0 +1,293 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<!-- Created with Inkscape (http://www.inkscape.org/) --> + +<svg + xmlns:dc="http://purl.org/dc/elements/1.1/" + xmlns:cc="http://creativecommons.org/ns#" + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:svg="http://www.w3.org/2000/svg" + xmlns="http://www.w3.org/2000/svg" + xmlns:xlink="http://www.w3.org/1999/xlink" + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" + width="128" + height="128" + viewBox="0 0 128 128" + version="1.1" + id="svg8" + inkscape:version="0.92.4 5da689c313, 2019-01-14" + sodipodi:docname="blobfoxhypercofe.svg" + inkscape:export-filename="/home/kevin/Encfs/Media-Enc/Projekte/Grafiken/2019.07.30 - blobfox/blobfoxowo.png" + inkscape:export-xdpi="96" + inkscape:export-ydpi="96"> + <defs + id="defs2"> + <linearGradient + inkscape:collect="always" + id="linearGradient879"> + <stop + style="stop-color:#ff7505;stop-opacity:1" + offset="0" + id="stop875" /> + <stop + style="stop-color:#ff8702;stop-opacity:1" + offset="1" + id="stop877" /> + </linearGradient> + <mask + maskUnits="userSpaceOnUse" + id="mask914"> + <path + sodipodi:nodetypes="sssssssss" + inkscape:connector-curvature="0" + id="path916" + d="m 154.91191,68.610466 c 0,13.30933 -2.85091,14.61151 -2.85091,22.03668 0,7.52238 3.27922,9.891904 1.87863,15.118954 -1.74673,6.51888 -11.67541,15.3198 -32.30034,19.24611 -19.5495,3.72157 -44.712872,3.71493 -57.603772,1.17936 -12.97147,-2.55141 -33.636043,-9.97066 -35.993433,-20.68009 -3.35292,-15.232034 0.95023,-36.744664 10.314153,-53.450134 13.12204,-23.41004 38.49929,-39.74165 76.385222,-32.80327 18.75365,3.43453 40.17044,20.22728 40.17045,49.35239 z" + style="opacity:1;fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:2.79999995;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:markers stroke fill" /> + </mask> + <clipPath + clipPathUnits="userSpaceOnUse" + id="clipPath939"> + <path + style="opacity:1;fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:2.79999995;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:markers stroke fill" + d="m 150.70195,0.51324812 c -3.5881,-1.83838902 -33.06651,6.51462968 -45.38553,27.09708688 5.48775,7.742314 19.19939,1.052482 24.75224,0.675897 -1.51761,2.342881 -3.95771,7.251483 -4.00944,10.319043 2.25571,0.870741 6.46398,0.348129 8.50111,-1.397205 1.40822,2.738472 0.2768,11.991364 8.03107,13.355 11.96243,-15.595326 13.61577,-47.2291846 8.11055,-50.04982188 z" + id="path941" + inkscape:connector-curvature="0" + sodipodi:nodetypes="scccccs" /> + </clipPath> + <clipPath + clipPathUnits="userSpaceOnUse" + id="clipPath846"> + <path + sodipodi:nodetypes="ssssssscccccccccs" + inkscape:connector-curvature="0" + id="path848" + d="m 391.79445,425.41973 c 1.65688,13.01782 -0.96948,14.64639 -0.0451,21.90893 0.93646,7.35762 4.43884,9.26701 3.71966,14.55393 -0.89694,6.59355 -9.51252,16.43773 -29.19693,22.84564 -18.65801,6.07378 -43.27107,9.19988 -56.19527,8.32464 -13.005,-0.88071 -34.14057,-5.56492 -37.77955,-15.74632 -5.17572,-14.481 -3.54688,-36.67033 3.43423,-53.56343 3.058,-7.39987 11.25258,-21.29807 21.35685,-27.6922 l 8.11698,-0.59557 -12.76711,-1.32585 c 5.83499,-2.87893 11.39007,-4.67336 15.7895,-5.33112 1.44139,0.88585 3.34146,1.6891 5.00507,2.25111 -3.5138,-1.72411 -8.61797,-10.20742 -11.06095,-13.14333 13.21468,-0.66879 24.87025,3.07218 30.03025,5.55927 l -4.32337,-6.20877 c 6.88088,0.77679 11.29124,4.58866 18.48127,4.89245 18.77046,1.02466 41.8087,14.78343 45.43449,43.27062 z" + style="opacity:1;fill:url(#linearGradient850);fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:2.79999995;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:markers stroke fill" /> + </clipPath> + <linearGradient + inkscape:collect="always" + xlink:href="#linearGradient879" + id="linearGradient850" + gradientUnits="userSpaceOnUse" + gradientTransform="matrix(0.97809727,-0.12449018,0.12449018,0.97809727,231.7888,378.02587)" + x1="114.28658" + y1="112.44355" + x2="95.348198" + y2="85.856133" /> + <clipPath + clipPathUnits="userSpaceOnUse" + id="clipPath848"> + <path + sodipodi:nodetypes="scccccs" + inkscape:connector-curvature="0" + id="path850" + d="M 151.14447,0.33917988 C 146.26964,-2.2314866 116.36421,8.7225203 104.2178,29.016572 c 5.41086,7.633828 19.06431,-0.122979 24.53933,-0.494288 -1.49634,2.310053 -4.03617,8.310589 -4.08717,11.335166 2.22409,0.85854 9.31981,0.611108 12.13198,-2.270484 1.5001,5.35635 -1.15567,17.091196 6.48995,18.435725 10.36626,-17.966089 13.24747,-52.8385826 7.85258,-55.68351112 z" + style="opacity:1;fill:#333333;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:2.79999995;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:markers stroke fill" /> + </clipPath> + </defs> + <sodipodi:namedview + id="base" + pagecolor="#ffffff" + bordercolor="#666666" + borderopacity="1.0" + inkscape:pageopacity="0.0" + inkscape:pageshadow="2" + inkscape:zoom="1.979899" + inkscape:cx="-72.911795" + inkscape:cy="111.6455" + inkscape:document-units="px" + inkscape:current-layer="layer2" + showgrid="false" + units="px" + fit-margin-top="0" + fit-margin-left="0" + fit-margin-right="0" + fit-margin-bottom="0" + inkscape:window-width="3840" + inkscape:window-height="1982" + inkscape:window-x="2880" + inkscape:window-y="0" + inkscape:window-maximized="1" + showguides="false" /> + <metadata + id="metadata5"> + <rdf:RDF> + <cc:Work + rdf:about=""> + <dc:format>image/svg+xml</dc:format> + <dc:type + rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> + <dc:title></dc:title> + </cc:Work> + </rdf:RDF> + </metadata> + <g + inkscape:groupmode="layer" + id="layer3" + inkscape:label="Ear back"> + <path + style="opacity:1;fill:#313131;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:2.79999948;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:markers stroke fill" + d="M 29.016837,8.35592 C 34.202192,4.9502168 46.589501,26.899553 61.820088,33.611725 L 37.898219,47.022188 C 38.34816,37.134751 21.498685,13.293788 29.016837,8.35592 Z" + id="rect870-2" + inkscape:connector-curvature="0" + sodipodi:nodetypes="sccs" /> + <path + clip-path="none" + sodipodi:nodetypes="sccccccss" + inkscape:connector-curvature="0" + id="path872" + d="m 28.816664,12.318941 c -1.90318,0.176239 -3.100656,7.834248 0.863281,15.863866 -1.070049,-0.913879 -1.722349,-1.31437 -4.427742,-2.086557 0.860193,5.434196 1.669606,9.722352 6.986348,12.532257 l -6.009465,-0.908505 c 2.420263,4.264815 6.144545,8.715543 12.149724,9.994835 l 4.170111,-4.719702 c -7.8296,-1.028161 -4.540893,-14.913961 -7.34132,-23.658679 -1.646262,-5.140676 -4.76114,-7.168439 -6.390937,-7.017515 z" + style="opacity:1;fill:#ebdccc;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:2.79999995;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:markers stroke fill" /> + </g> + <g + inkscape:groupmode="layer" + id="layer4" + inkscape:label="Body"> + <path + style="opacity:1;fill:#ff8702;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:2.79999971;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:markers stroke fill" + d="m 131.33574,72.045408 c 0,12.097655 -2.59136,13.28128 -2.59136,20.030468 0,6.837544 2.98068,8.991344 1.70762,13.742534 -1.58772,5.9254 -10.6125,13.92508 -29.35974,17.49393 -17.769721,3.38277 -40.642225,3.37674 -52.359541,1.072 C 36.94216,122.06521 18.158892,115.32141 16.016115,105.58697 12.968442,91.741649 16.973576,71.600552 25.391271,57.002916 33.353341,43.195405 42.902864,34.136262 55.637676,34.564374 L 42.943547,31.495446 c 9.225607,-2.292663 13.30508,-3.195091 21.474056,0.694346 -4.723992,-3.628617 -7.357115,-10.883391 -9.51141,-14.027246 12.162676,0.926524 22.386262,6.280477 26.815599,9.155527 l -1.659589,-6.902824 c 5.707433,1.744091 8.220278,5.656086 14.760199,6.770794 17.046338,3.121846 36.513338,18.3858 36.513338,44.859365 z" + id="path837" + inkscape:connector-curvature="0" + sodipodi:nodetypes="ssssssscccccccs" /> + </g> + <g + inkscape:groupmode="layer" + id="layer5" + inkscape:label="Ear front"> + <path + sodipodi:nodetypes="sccccs" + inkscape:connector-curvature="0" + id="path873-7" + d="m 130.48959,8.355468 c -4.59097,-2.4209696 -32.755149,7.895175 -44.194325,27.007506 5.095809,7.189297 23.062015,-0.370107 26.698065,-4.749665 l 4.51131,8.710993 c 0.47234,5.183771 -1.61085,20.205977 5.58962,21.472202 9.76266,-16.919905 12.47613,-49.761766 7.39533,-52.441036 z" + style="opacity:1;fill:#313131;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:2.79999948;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:markers stroke fill" /> + <path + style="opacity:1;fill:#ebdccc;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:2.79999995;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:markers stroke fill" + clip-path="none" + d="m 126.82589,12.091365 c -2.92175,0.112335 -10.38906,2.930488 -14.89336,6.581462 -5.73742,4.650479 -8.6702,16.976614 -16.177748,19.737919 5.118188,-0.715109 10.636308,-3.216286 13.602498,-3.417879 -1.4062,2.175538 -3.79447,7.825408 -3.8424,10.673863 2.09011,0.808548 8.75945,0.576007 11.40222,-2.137789 0.62941,2.252191 0.48349,5.69966 0.76503,8.941219 0.005,-12.204285 10.24428,-16.361228 11.29233,-27.963668 0.63882,-7.072309 0.14153,-11.656118 -1.19605,-12.29229 -0.21,-0.09988 -0.53512,-0.138884 -0.95252,-0.122837 z" + id="path958-0" + inkscape:connector-curvature="0" /> + </g> + <g + inkscape:label="Face" + inkscape:groupmode="layer" + id="layer1" + transform="translate(-26.911905,0.03095311)"> + <ellipse + style="opacity:1;fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:#ffffff;stroke-width:9.04046822;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:fill markers stroke" + id="path885" + cx="114.81496" + cy="80.75148" + rx="8.1152287" + ry="9.2020283" + transform="matrix(0.98788676,-0.15517654,0.02204363,0.99975701,0,0)" /> + <ellipse + transform="matrix(0.99926374,0.03836632,-0.1781569,0.98400209,0,0)" + ry="8.8585587" + rx="7.5192418" + cy="55.793896" + cx="85.02655" + id="ellipse887" + style="opacity:1;fill:#fefefe;fill-opacity:1;fill-rule:evenodd;stroke:#ffffff;stroke-width:9.0448246;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:fill markers stroke" /> + <path + style="fill:none;fill-opacity:1;stroke:#313131;stroke-width:4.39999962;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" + d="m 70.209432,84.493732 c 0.78831,3.806547 2.955292,8.662871 5.05051,11.876836 4.053698,-2.159191 6.635108,-6.287272 9.762503,-9.195234 1.468152,1.931819 4.737353,8.70928 7.97509,11.984636 4.241752,-2.435014 9.498815,-7.893433 10.857165,-9.165656" + id="path889" + inkscape:connector-curvature="0" + sodipodi:nodetypes="ccccc" /> + <path + style="opacity:1;fill:#313131;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:3.79999995;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:markers stroke fill" + d="m 94.746567,75.422159 c 0,1.556098 -7.018335,6.80937 -9.65588,6.479136 -2.841551,-0.355774 -6.477925,-7.386141 -5.9144,-8.833726 1.430654,-3.675083 15.57028,-1.932684 15.57028,2.35459 z" + id="rect902" + inkscape:connector-curvature="0" + sodipodi:nodetypes="ssss" /> + <path + style="display:inline;fill:none;stroke:#313131;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" + d="m 86.181218,58.356687 c -1.693952,5.960479 -6.54938,9.395323 -9.967899,11.130961 -3.984686,2.023091 -4.08208,7.187838 -3.015595,9.732512" + id="path890" + inkscape:connector-curvature="0" + sodipodi:nodetypes="csc" /> + <ellipse + transform="matrix(0.92474091,-0.38059723,0.08725696,0.99618584,0,0)" + ry="4.9944501" + rx="3.6330941" + cy="108.07191" + cx="110.67609" + id="ellipse841" + style="opacity:1;fill:#313131;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:4.09439135;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:fill markers stroke" /> + <ellipse + style="opacity:1;fill:#313131;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:4.09439135;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:fill markers stroke" + id="ellipse846" + cx="76.588753" + cy="84.886818" + rx="3.6330941" + ry="4.9944501" + transform="matrix(0.95022674,-0.31155921,0.01375907,0.99990534,0,0)" /> + </g> + <g + inkscape:groupmode="layer" + id="layer6" + inkscape:label="Whiskers" + style="display:none"> + <path + style="fill:none;fill-opacity:1;stroke:#313131;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" + d="m 68.645975,77.025193 c 9.338035,-1.395359 20.51424,-0.625306 30.695296,1.011356" + id="path943" + inkscape:connector-curvature="0" + sodipodi:nodetypes="cc" /> + <path + sodipodi:nodetypes="cc" + inkscape:connector-curvature="0" + id="path945" + d="m 67.228811,83.13089 c 11.440451,0.448873 21.054841,4.550435 30.034524,11.48183" + style="fill:none;fill-opacity:1;stroke:#313131;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" /> + <path + sodipodi:nodetypes="cc" + inkscape:connector-curvature="0" + id="path947" + d="M 32.895393,71.456936 C 26.718997,67.627467 21.192825,65.440905 14.567884,63.58624" + style="fill:none;fill-opacity:1;stroke:#313131;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" /> + <path + style="fill:none;fill-opacity:1;stroke:#313131;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" + d="M 32.16221,76.367993 C 24.397529,74.197356 17.839504,73.28738 10.803794,73.046759" + id="path949" + inkscape:connector-curvature="0" + sodipodi:nodetypes="cc" /> + </g> + <g + inkscape:groupmode="layer" + id="layer2" + inkscape:label="Cofe"> + <ellipse + style="opacity:1;fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:#fefefe;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:fill markers stroke" + id="path898" + cx="71.546326" + cy="107.76978" + rx="5.8603549" + ry="5.5569382" /> + <path + style="opacity:1;fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:9;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:fill markers stroke" + d="m 73.931915,99.51071 c -0.0018,6.24126 -1.207724,18.74727 -8.7852,20.5673 -6.28021,1.50845 -11.656896,1.43344 -16.170585,-0.0277 -7.11875,-2.30436 -8.335942,-13.51376 -8.335942,-20.53967 0,-3.911494 7.714522,-5.766669 16.907774,-5.766669 9.078588,0 16.385327,1.794988 16.383953,5.766689 z" + id="path878" + inkscape:connector-curvature="0" + sodipodi:nodetypes="ssssss" /> + <path + style="fill:#ff8702;fill-opacity:1;stroke:#313131;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" + d="m 89.616633,103.23689 c -18.139218,-1.42463 -16.747023,6.71078 -9.403139,17.75938" + id="path915" + inkscape:connector-curvature="0" + sodipodi:nodetypes="cc" /> + <path + style="opacity:0.5;fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:fill markers stroke" + d="m 41.343039,86.198829 c -4.012124,-2.827653 -9.655073,-6.937077 -2.163292,-14.702541 0.906882,3.684927 3.406146,8.555432 14.645534,10.377548 9.973437,1.616888 15.55142,9.367637 16.939521,17.927314 H 43.968921 c 3.566698,-5.720994 2.418306,-10.047302 -2.625882,-13.602321 z" + id="rect1000" + inkscape:connector-curvature="0" + sodipodi:nodetypes="scsccs" /> + <ellipse + style="opacity:1;fill:#502d16;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:9.00000095;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:fill markers stroke" + id="path881" + cx="57.328861" + cy="99.82785" + rx="13.005062" + ry="3.9326465" /> + </g> +</svg> diff --git a/blobfoxhyperowo.sh b/blobfoxhyperowo.sh deleted file mode 100755 index d53b829..0000000 --- a/blobfoxhyperowo.sh +++ /dev/null @@ -1,34 +0,0 @@ -#!/bin/sh - -source ./shakeoffsets.sh - -declare -a shakeOffsets -getShakeOffsets shakeOffsets - - -mkdir -p export_tmp -rm -f export_tmp/* - - -counter=1 -while [ $counter -le 75 ] -do - offset=${shakeOffsets[counter-1]} - file=`printf "export_tmp/%s.png" $counter` - inkscape -z -e $file -a $offset "blobfoxhyperowo.svg" - ((counter++)) -done - - -declare -a args - -counter=1 -while [ $counter -le 75 ] -do - file=`printf "export_tmp/%s.png" $counter` - args+=($file 1:50) - ((counter++)) -done - -apngasm -o export/ablobfoxhyperowo.png ${args[@]} -rm -f export_tmp/* diff --git a/gen.sh b/gen.sh index 544f31a..ca7488c 100755 --- a/gen.sh +++ b/gen.sh @@ -8,14 +8,16 @@ rm -f export_flip/* find . -type f \( -iname "*.svg" ! -iname ".*" \) -print0 | parallel -0 'x={.}; inkscape -z -e "export/${x#./}.png" "{}"' {} \; ./blobfoxdundundun.sh -./blobfoxhyperowo.sh +./hyperize.sh blobfoxhyperowo +./hyperize.sh blobfoxhypercofe cp LICENSE export/ -cp export/* export_flip/ cd export apngasm -o ablobfoxbongo.png blobfoxbongo.png 100 blobfoxbongostart.png 100 apngasm -o ablobfoxhyper.png blobfoxhyper1.png 2:100 blobfoxhyper2.png 2:100 blobfoxhyper3.png 2:100 -rm blobfoxhyper1.png blobfoxhyper2.png blobfoxhyper3.png blobfoxhyperowo.png +rm blobfoxhyper1.png blobfoxhyper2.png blobfoxhyper3.png blobfoxhyperowo.png blobfoxhypercofe.png +cp ./blobfox* ../export_flip/ + FILELIST=`find . -type f -iname '*.png' -exec sh -c 'x=${0#./}; printf "%s:%s|" ${x%.png} $x' {} \;` jq -Rn 'input | split("|") | map(split(":") | { key: .[0], value: .[1] }) | from_entries' <<< "${FILELIST%|}" > blobfox.json @@ -27,11 +29,8 @@ CHECKSUM=`sha256sum -z blobfox.zip | awk '{ print $1 }'` cd ../export_flip rm blobfoxsign*.png blobfoxconfused.png blobfoxbreadsnoot*.png -find . -type f -iname '*.png' -exec sh -c 'x=${0#./blobfox}; mv blobfox$x revblobfox$x' {} \; +find . -type f -iname '*.png' -exec sh -c 'x=${0#./}; mv $x rev$x' {} \; mogrify -flop *.png -apngasm -o arevblobfoxbongo.png revblobfoxbongo.png 100 revblobfoxbongostart.png 100 -apngasm -o arevblobfoxhyper.png revblobfoxhyper1.png 2:100 revblobfoxhyper2.png 2:100 revblobfoxhyper3.png 2:100 -rm revblobfoxhyper1.png revblobfoxhyper2.png revblobfoxhyper3.png revblobfoxhyperowo.png FILELIST=`find . -type f -iname '*.png' -exec sh -c 'x=${0#./}; printf "%s:%s|" ${x%.png} $x' {} \;` jq -Rn 'input | split("|") | map(split(":") | { key: .[0], value: .[1] }) | from_entries' <<< "${FILELIST%|}" > blobfox_flip.json diff --git a/hyperize.sh b/hyperize.sh new file mode 100755 index 0000000..6f6ad0a --- /dev/null +++ b/hyperize.sh @@ -0,0 +1,38 @@ +#!/bin/sh + +source ./shakeoffsets.sh + +declare -a shakeOffsets +getShakeOffsets shakeOffsets + +SOURCEBASE=$1 +SOURCESVG=`printf "%s.svg" $SOURCEBASE` +TARGETSVG=`printf "export/a%s.png" $SOURCEBASE` + + +mkdir -p export_tmp +rm -f export_tmp/* + + +counter=1 +while [ $counter -le 75 ] +do + offset=${shakeOffsets[counter-1]} + file=`printf "export_tmp/%s.png" $counter` + inkscape -z -e $file -a $offset $SOURCESVG + ((counter++)) +done + + +declare -a args + +counter=1 +while [ $counter -le 75 ] +do + file=`printf "export_tmp/%s.png" $counter` + args+=($file 1:50) + ((counter++)) +done + +apngasm -o $TARGETSVG ${args[@]} +rm -f export_tmp/* -- cgit v1.2.3-70-g09d2