forked from germedeb/aleta-postre
193 lines
40 KiB
XML
193 lines
40 KiB
XML
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||
|
<svg
|
||
|
version="1.1"
|
||
|
viewBox="0 0 18.001 18"
|
||
|
id="svg65"
|
||
|
sodipodi:docname="re.sonny.Tangram.svg"
|
||
|
inkscape:version="1.1.1 (3bf5ae0d25, 2021-09-20)"
|
||
|
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||
|
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||
|
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||
|
xmlns="http://www.w3.org/2000/svg"
|
||
|
xmlns:svg="http://www.w3.org/2000/svg">
|
||
|
<sodipodi:namedview
|
||
|
id="namedview67"
|
||
|
pagecolor="#ffffff"
|
||
|
bordercolor="#666666"
|
||
|
borderopacity="1.0"
|
||
|
inkscape:pageshadow="2"
|
||
|
inkscape:pageopacity="0.0"
|
||
|
inkscape:pagecheckerboard="0"
|
||
|
showgrid="false"
|
||
|
inkscape:current-layer="svg65" />
|
||
|
<defs
|
||
|
id="defs39">
|
||
|
<linearGradient
|
||
|
inkscape:collect="always"
|
||
|
id="linearGradient1073">
|
||
|
<stop
|
||
|
style="stop-color:#2ec27e;stop-opacity:1"
|
||
|
offset="0"
|
||
|
id="stop1069" />
|
||
|
<stop
|
||
|
style="stop-color:#f54c75;stop-opacity:1"
|
||
|
offset="1"
|
||
|
id="stop1981" />
|
||
|
</linearGradient>
|
||
|
<meshgradient
|
||
|
id="meshgradient3875"
|
||
|
x="9.5367432e-05"
|
||
|
y="1093.774"
|
||
|
gradientUnits="userSpaceOnUse">
|
||
|
<meshrow
|
||
|
id="meshrow20">
|
||
|
<meshpatch
|
||
|
id="meshpatch10">
|
||
|
<stop
|
||
|
stop-color="#4643e7"
|
||
|
path="c 2.66646,0 2.33344,-0.00104785 4.9999,-0.00104785"
|
||
|
id="stop2" />
|
||
|
<stop
|
||
|
stop-color="#f54c75"
|
||
|
path="c 0.500005,4.5 1.49999,5.33353 1.5,8"
|
||
|
id="stop4" />
|
||
|
<stop
|
||
|
stop-color="#6562eb"
|
||
|
path="c -2.66647,2.15624e-06 -2,1.5 -6.5,1"
|
||
|
id="stop6" />
|
||
|
<stop
|
||
|
stop-color="#5b57ea"
|
||
|
path="c -4.70608e-05,-2.66647 4.3674e-05,-6.33248 0.0001,-8.99895"
|
||
|
id="stop8" />
|
||
|
</meshpatch>
|
||
|
<meshpatch
|
||
|
id="meshpatch18">
|
||
|
<stop
|
||
|
path="c 2.66646,9.37371e-09 8.33358,-3 11,-3"
|
||
|
id="stop12" />
|
||
|
<stop
|
||
|
stop-color="#f43261"
|
||
|
path="c -1.85303e-05,2.66647 -5.85304e-05,5.83353 4.63257e-06,8.5"
|
||
|
id="stop14" />
|
||
|
<stop
|
||
|
stop-color="#b0e642"
|
||
|
path="c -5.00001,2.15936e-06 -8.5,2.5 -9.5,2.5"
|
||
|
id="stop16" />
|
||
|
</meshpatch>
|
||
|
</meshrow>
|
||
|
<meshrow
|
||
|
id="meshrow36">
|
||
|
<meshpatch
|
||
|
id="meshpatch28">
|
||
|
<stop
|
||
|
path="c -2.85304e-05,2.66647 1.5,1 1.49945,7.99985"
|
||
|
id="stop22" />
|
||
|
<stop
|
||
|
stop-color="#f59016"
|
||
|
path="c -2.66646,0 -3.99945,0.000149998 -7.99937,0"
|
||
|
id="stop24" />
|
||
|
<stop
|
||
|
stop-color="#f6e032"
|
||
|
path="c -7.53674e-05,-4.49985 -1.00008,-6.49985 -8e-05,-6.99985"
|
||
|
id="stop26" />
|
||
|
</meshpatch>
|
||
|
<meshpatch
|
||
|
id="meshpatch34">
|
||
|
<stop
|
||
|
path="c -6.31681e-05,2.66647 -0.00122779,7.83338 -0.00122779,10.4999"
|
||
|
id="stop30" />
|
||
|
<stop
|
||
|
stop-color="#15b271"
|
||
|
path="c -2.66646,0 -5.33291,0 -7.99933,-5e-05"
|
||
|
id="stop32" />
|
||
|
</meshpatch>
|
||
|
</meshrow>
|
||
|
</meshgradient>
|
||
|
<linearGradient
|
||
|
inkscape:collect="always"
|
||
|
xlink:href="#linearGradient1073"
|
||
|
id="linearGradient1067"
|
||
|
x1="8.6918936"
|
||
|
y1="1110.0225"
|
||
|
x2="8.5897408"
|
||
|
y2="1093.6729"
|
||
|
gradientUnits="userSpaceOnUse" />
|
||
|
</defs>
|
||
|
<g
|
||
|
transform="translate(1.0008 -1092.8)"
|
||
|
id="g51">
|
||
|
<path
|
||
|
d="m2 1093.8h11.999c1.1079 0 1.9999 0.892 1.9999 2v11.999c0 1.1079-0.89196 1.9999-1.9999 1.9999h-11.999c-1.1079 0-1.9999-0.892-1.9999-1.9999v-11.999c0-1.108 0.89196-2 1.9999-2z"
|
||
|
fill="url(#meshgradient3875)"
|
||
|
stroke-linecap="round"
|
||
|
stroke-linejoin="round"
|
||
|
stroke-width=".046884"
|
||
|
id="path41"
|
||
|
style="fill-opacity:1;fill:url(#linearGradient1067)" />
|
||
|
<g
|
||
|
transform="translate(-22.32 1056.5)"
|
||
|
id="g45">
|
||
|
<g
|
||
|
transform="matrix(.37187 0 0 .37187 38.802 63.239)"
|
||
|
id="g43" />
|
||
|
</g>
|
||
|
<path
|
||
|
transform="translate(-1.0008 1092.8)"
|
||
|
d="m3.002 1c-1.108 0-2.0038 0.89197-2.002 2l8.429e-4 0.5005c0-1.108 0.89197-2 2-2h12c1.108 0 2 0.89197 2 2l-8.43e-4 -0.5005c-0.001866-1.108-0.89197-2-2-2z"
|
||
|
fill="#fff"
|
||
|
opacity=".3"
|
||
|
id="path47" />
|
||
|
<path
|
||
|
d="m13.998 1109.8c1.108 0 2.002-0.892 2.002-2v-0.5c0 1.108-0.89197 2-2 2h-12c-1.108 0-2-0.892-2-2l5e-8 0.5c1.108e-7 1.108 0.89197 2 2 2z"
|
||
|
opacity=".3"
|
||
|
id="path49" />
|
||
|
</g>
|
||
|
<g
|
||
|
transform="translate(1.0008 1.0005)"
|
||
|
id="g55">
|
||
|
<path
|
||
|
transform="translate(-1.0008 -1.0005)"
|
||
|
d="m4 4v0.56641l4.4336 4.4336-4.4336 4.4336v0.56641h0.56641l2.0996-2.0996h3.8672l-2.0996 2.0996h1.1328l4.4336-4.4336v-0.56641-0.56641l-1.9336-1.9336 1.9336-1.9336v-0.56641h-0.56641l-4.4336 4.4336-4.4336-4.4336h-0.56641zm7.5 3.0664 1.9336 1.9336-1.9336 1.9336-1.9336-1.9336 1.9336-1.9336zm-2.5 2.5 1.5332 1.5332h-3.0664l1.5332-1.5332z"
|
||
|
color="#000000"
|
||
|
fill="#fff"
|
||
|
style="-inkscape-stroke:none"
|
||
|
id="path53" />
|
||
|
</g>
|
||
|
<g
|
||
|
transform="translate(1.0008 1.0005)"
|
||
|
display="none"
|
||
|
fill="none"
|
||
|
opacity=".96293"
|
||
|
stroke-linecap="round"
|
||
|
stroke-linejoin="round"
|
||
|
stroke-width=".05"
|
||
|
id="g61">
|
||
|
<rect
|
||
|
x="3"
|
||
|
y="4"
|
||
|
width="10"
|
||
|
height="8"
|
||
|
opacity="1"
|
||
|
stroke="#003966"
|
||
|
id="rect57" />
|
||
|
<rect
|
||
|
transform="rotate(90)"
|
||
|
x="3"
|
||
|
y="-12"
|
||
|
width="10"
|
||
|
height="8"
|
||
|
display="inline"
|
||
|
opacity="1"
|
||
|
stroke="#006601"
|
||
|
id="rect59" />
|
||
|
</g>
|
||
|
<script
|
||
|
type="text/javascript"
|
||
|
id="script63">!function(){const t="http://www.w3.org/2000/svg",e="http://www.w3.org/1999/xlink",s="http://www.w3.org/1999/xhtml",r=2;if(document.createElementNS(t,"meshgradient").x)return;const n=(t,e,s,r)=>{let n=new x(.5*(e.x+s.x),.5*(e.y+s.y)),o=new x(.5*(t.x+e.x),.5*(t.y+e.y)),i=new x(.5*(s.x+r.x),.5*(s.y+r.y)),a=new x(.5*(n.x+o.x),.5*(n.y+o.y)),h=new x(.5*(n.x+i.x),.5*(n.y+i.y)),l=new x(.5*(a.x+h.x),.5*(a.y+h.y));return[[t,o,a,l],[l,h,i,r]]},o=t=>{let e=t[0].distSquared(t[1]),s=t[2].distSquared(t[3]),r=.25*t[0].distSquared(t[2]),n=.25*t[1].distSquared(t[3]),o=e>s?e:s,i=r>n?r:n;return 18*(o>i?o:i)},i=(t,e)=>Math.sqrt(t.distSquared(e)),a=(t,e)=>t.scale(2/3).add(e.scale(1/3)),h=t=>{let e,s,r,n,o,i,a,h=new g;return t.match(/(\w+\(\s*[^)]+\))+/g).forEach(t=>{let l=t.match(/[\w.-]+/g),d=l.shift();switch(d){case"translate":2===l.length?e=new g(1,0,0,1,l[0],l[1]):(console.error("mesh.js: translate does not have 2 arguments!"),e=new g(1,0,0,1,0,0)),h=h.append(e);break;case"scale":1===l.length?s=new g(l[0],0,0,l[0],0,0):2===l.length?s=new g(l[0],0,0,l[1],0,0):(console.error("mesh.js: scale does not have 1 or 2 arguments!"),s=new g(1,0,0,1,0,0)),h=h.append(s);break;case"rotate":if(3===l.length&&(e=new g(1,0,0,1,l[1],l[2]),h=h.append(e)),l[0]){r=l[0]*Math.PI/180;let t=Math.cos(r),e=Math.sin(r);Math.abs(t)<1e-16&&(t=0),Math.abs(e)<1e-16&&(e=0),a=new g(t,e,-e,t,0,0),h=h.append(a)}else console.error("math.js: No argument to rotate transform!");3===l.length&&(e=new g(1,0,0,1,-l[1],-l[2]),h=h.append(e));break;case"skewX":l[0]?(r=l[0]*Math.PI/180,n=Math.tan(r),o=new g(1,0,n,1,0,0),h=h.append(o)):console.error("math.js: No argument to skewX transform!");break;case"skewY":l[0]?(r=l[0]*Math.PI/180,n=Math.tan(r),i=new g(1,n,0,1,0,0),h=h.append(i)):console.error("math.js: No argument to skewY transform!");break;case"matrix":6===l.length?h=h.append(new g(...l)):console.error("math.js: Incorrect number of arguments for matrix!");break;default:console.error("mesh.js: Unhandled transform type: "+d)}}),h},l=t=>{let e=[],s=t.split(/[ ,]+/);for(let t=0,r=s.length-1;t<r;t+=2)e.push(new x(parseFloat(s[t]),parseFloat(s[t+1])));return e},d=(t,e)=>{for(let s in e)t.setAttribute(s,e[s])},c=(t,e,s,r,n)=>{let o,i,a=[0,0,0,0];for(let h=0;h<3;++h)e[h]<t[h]&&e[h]<s[h]||t[h]<e[h]&&s[h]<e[h]?a[h]=0:(a[h]=.5*((e[h]-t[h])/r+(s[h]-e[h])/n),o=Math.abs(3*(e[h]-t[h])/r),i=Math.abs(3*(s[h]-e[h])/n),a[h]>o?a[h]=o:a[h]>i&&(a[h]=i));return a},u=[[1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0],[-3,3,0,0,-2,-1,0,0,0,0,0,0,0,0,0,0],[2,-2,0,0,1,1,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0],[0,0,0,0,0,0,0,0,-3,3,0,0,-2,-1,0,0],[0,0,0,0,0,0,0,0,2,-2,0,0,1,1,0,0],[-3,0,3,0,0,0,0,0,-2,0,-1,0,0,0,0,0],[0,0,0,0,-3,0,3,0,0,0,0,0,-2,0,-1,0],[9,-9,-9,9,6,3,-6,-3,6,-6,3,-3,4,2,2,1],[-6,6,6,-6,-3,-3,3,3,-4,4,-2,2,-2,-2,-1,-1],[2,0,-2,0,0,0,0,0,1,0,1,0,0,0,0,0],[0,0,0,0,2,0,-2,0,0,0,0,0,1,0,1,0],[-6,6,6,-6,-4,-2,4,2,-3,3,-3,3,-2,-1,-2,-1],[4,-4,-4,4,2,2,-2,-2,2,-2,2,-2,1,1,1,1]],f=t=>{let e=[];for(let s=0;s<16;++s){e[s]=0;for(let r=0;r<16;++r)e[s]+=u[s][r]*t[r]}return e},p=(t,e,s)=>{const r=e*e,n=s*s,o=e*e*e,i=s*s*s;return t[0]+t[1]*e+t[2]*r+t[3]*o+t[4]*s+t[5]*s*e+t[6]*s*r+t[7]*s*o+t[8]*n+t[9]*n*e+t[10]*n*r+t[11]*n*o+t[12]*i+t[13]*i*e+t[14]*i*r+t[15]*i*o},y=t=>{let e=[],s=[],r=[];for(let s=0;s<4;++s)e[s]=[],e[s][0]=n(t[0][s],t[1][s],t[2][s],t[3][s]),e[s][1]=[],e[s][1].push(...n(...e[s][0][0])),e[s][1].push(...n(...e[s][0][1])),e[s][2]=[],e[s][2].push(...n(...e[s][1][0])),e[s][2].push(...n(...e[s][1][1])),e[s][2].push(...n(...e[s][1][2])),e[s][2].push(...n(...e[s][1][3]));for(let t=0;t<8;++t){s[t]=[];for(let r=0;r<4;++r)s[t][r]=[],s[t][r][0]=n(e[0][2][t][r],e[1][2][t][r],e[2][2][t][r],e[3][2][t][r]),s[t][
|
||
|
<script
|
||
|
id="mesh_polyfill"
|
||
|
type="text/javascript">
|
||
|
!function(){const t="http://www.w3.org/2000/svg",e="http://www.w3.org/1999/xlink",s="http://www.w3.org/1999/xhtml",r=2;if(document.createElementNS(t,"meshgradient").x)return;const n=(t,e,s,r)=>{let n=new x(.5*(e.x+s.x),.5*(e.y+s.y)),o=new x(.5*(t.x+e.x),.5*(t.y+e.y)),i=new x(.5*(s.x+r.x),.5*(s.y+r.y)),a=new x(.5*(n.x+o.x),.5*(n.y+o.y)),h=new x(.5*(n.x+i.x),.5*(n.y+i.y)),l=new x(.5*(a.x+h.x),.5*(a.y+h.y));return[[t,o,a,l],[l,h,i,r]]},o=t=>{let e=t[0].distSquared(t[1]),s=t[2].distSquared(t[3]),r=.25*t[0].distSquared(t[2]),n=.25*t[1].distSquared(t[3]),o=e>s?e:s,i=r>n?r:n;return 18*(o>i?o:i)},i=(t,e)=>Math.sqrt(t.distSquared(e)),a=(t,e)=>t.scale(2/3).add(e.scale(1/3)),h=t=>{let e,s,r,n,o,i,a,h=new g;return t.match(/(\w+\(\s*[^)]+\))+/g).forEach(t=>{let l=t.match(/[\w.-]+/g),d=l.shift();switch(d){case"translate":2===l.length?e=new g(1,0,0,1,l[0],l[1]):(console.error("mesh.js: translate does not have 2 arguments!"),e=new g(1,0,0,1,0,0)),h=h.append(e);break;case"scale":1===l.length?s=new g(l[0],0,0,l[0],0,0):2===l.length?s=new g(l[0],0,0,l[1],0,0):(console.error("mesh.js: scale does not have 1 or 2 arguments!"),s=new g(1,0,0,1,0,0)),h=h.append(s);break;case"rotate":if(3===l.length&&(e=new g(1,0,0,1,l[1],l[2]),h=h.append(e)),l[0]){r=l[0]*Math.PI/180;let t=Math.cos(r),e=Math.sin(r);Math.abs(t)<1e-16&&(t=0),Math.abs(e)<1e-16&&(e=0),a=new g(t,e,-e,t,0,0),h=h.append(a)}else console.error("math.js: No argument to rotate transform!");3===l.length&&(e=new g(1,0,0,1,-l[1],-l[2]),h=h.append(e));break;case"skewX":l[0]?(r=l[0]*Math.PI/180,n=Math.tan(r),o=new g(1,0,n,1,0,0),h=h.append(o)):console.error("math.js: No argument to skewX transform!");break;case"skewY":l[0]?(r=l[0]*Math.PI/180,n=Math.tan(r),i=new g(1,n,0,1,0,0),h=h.append(i)):console.error("math.js: No argument to skewY transform!");break;case"matrix":6===l.length?h=h.append(new g(...l)):console.error("math.js: Incorrect number of arguments for matrix!");break;default:console.error("mesh.js: Unhandled transform type: "+d)}}),h},l=t=>{let e=[],s=t.split(/[ ,]+/);for(let t=0,r=s.length-1;t<r;t+=2)e.push(new x(parseFloat(s[t]),parseFloat(s[t+1])));return e},d=(t,e)=>{for(let s in e)t.setAttribute(s,e[s])},c=(t,e,s,r,n)=>{let o,i,a=[0,0,0,0];for(let h=0;h<3;++h)e[h]<t[h]&&e[h]<s[h]||t[h]<e[h]&&s[h]<e[h]?a[h]=0:(a[h]=.5*((e[h]-t[h])/r+(s[h]-e[h])/n),o=Math.abs(3*(e[h]-t[h])/r),i=Math.abs(3*(s[h]-e[h])/n),a[h]>o?a[h]=o:a[h]>i&&(a[h]=i));return a},u=[[1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0],[-3,3,0,0,-2,-1,0,0,0,0,0,0,0,0,0,0],[2,-2,0,0,1,1,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0],[0,0,0,0,0,0,0,0,-3,3,0,0,-2,-1,0,0],[0,0,0,0,0,0,0,0,2,-2,0,0,1,1,0,0],[-3,0,3,0,0,0,0,0,-2,0,-1,0,0,0,0,0],[0,0,0,0,-3,0,3,0,0,0,0,0,-2,0,-1,0],[9,-9,-9,9,6,3,-6,-3,6,-6,3,-3,4,2,2,1],[-6,6,6,-6,-3,-3,3,3,-4,4,-2,2,-2,-2,-1,-1],[2,0,-2,0,0,0,0,0,1,0,1,0,0,0,0,0],[0,0,0,0,2,0,-2,0,0,0,0,0,1,0,1,0],[-6,6,6,-6,-4,-2,4,2,-3,3,-3,3,-2,-1,-2,-1],[4,-4,-4,4,2,2,-2,-2,2,-2,2,-2,1,1,1,1]],f=t=>{let e=[];for(let s=0;s<16;++s){e[s]=0;for(let r=0;r<16;++r)e[s]+=u[s][r]*t[r]}return e},p=(t,e,s)=>{const r=e*e,n=s*s,o=e*e*e,i=s*s*s;return t[0]+t[1]*e+t[2]*r+t[3]*o+t[4]*s+t[5]*s*e+t[6]*s*r+t[7]*s*o+t[8]*n+t[9]*n*e+t[10]*n*r+t[11]*n*o+t[12]*i+t[13]*i*e+t[14]*i*r+t[15]*i*o},y=t=>{let e=[],s=[],r=[];for(let s=0;s<4;++s)e[s]=[],e[s][0]=n(t[0][s],t[1][s],t[2][s],t[3][s]),e[s][1]=[],e[s][1].push(...n(...e[s][0][0])),e[s][1].push(...n(...e[s][0][1])),e[s][2]=[],e[s][2].push(...n(...e[s][1][0])),e[s][2].push(...n(...e[s][1][1])),e[s][2].push(...n(...e[s][1][2])),e[s][2].push(...n(...e[s][1][3]));for(let t=0;t<8;++t){s[t]=[];for(let r=0;r<4;++r)s[t][r]=[],s[t][r][0]=n(e[0][2][t][r],e[1][2][t][r],e[2][2][t][r],e[3][2][t][r]),s[t][r][1]=[],s[t][r][1]
|
||
|
</script>
|
||
|
</svg>
|