changed structure, commented, added CLI arguments

This commit is contained in:
kflux 2020-05-16 19:56:27 +02:00
parent ad3a6bf2ae
commit 715cda17ab
2 changed files with 183 additions and 83 deletions

View file

@ -2,28 +2,36 @@
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
width="600" height="600" viewBox="-300.0 -300.0 600 600">
<defs>
<marker markerWidth="5.0" markerHeight="5.0" viewBox="-0.5 -0.5 1.0 1.0" orient="auto" id="d0">
<circle cx="0.0" cy="-0.0" r="0.4" stroke-width="0.2" stroke="red" />
</marker>
<marker markerWidth="5.0" markerHeight="5.0" viewBox="-0.5 -0.5 1.0 1.0" orient="auto" id="d1">
<path d="M-0.0,0.5 L0.0,-0.5" stroke-width="0.2" stroke="red" />
</marker>
<marker markerWidth="5.0" markerHeight="5.0" viewBox="-0.5 -0.5 1.0 1.0" orient="auto" id="d2">
<circle cx="0.0" cy="-0.0" r="0.4" stroke-width="0.2" stroke="white" />
<radialGradient cx="0" cy="0" r="260" gradientUnits="userSpaceOnUse" id="d0">
<stop offset="0" stop-color="#211d05" stop-opacity="1" />
<stop offset="1" stop-color="black" stop-opacity="1" />
</radialGradient>
<radialGradient cx="0" cy="0" r="260" gradientUnits="userSpaceOnUse" id="d1">
<stop offset="0.5" stop-color="#d17b0a" stop-opacity="1" />
<stop offset="1" stop-color="#453905" stop-opacity="1" />
</radialGradient>
<marker markerWidth="6.5" markerHeight="5.0" viewBox="-0.8 -0.5 1.3 1.0" orient="auto" id="d2">
<circle cx="-0.3" cy="-0.0" r="0.3" stroke-width="0.2" stroke="red" fill="none" />
</marker>
<marker markerWidth="5.0" markerHeight="5.0" viewBox="-0.5 -0.5 1.0 1.0" orient="auto" id="d3">
<path d="M-0.0,0.5 L0.0,-0.5" stroke-width="0.2" stroke="red" />
</marker>
<marker markerWidth="6.5" markerHeight="5.0" viewBox="-0.8 -0.5 1.3 1.0" orient="auto" id="d4">
<circle cx="-0.3" cy="-0.0" r="0.3" stroke-width="0.2" stroke="white" fill="none" />
</marker>
<marker markerWidth="5.0" markerHeight="5.0" viewBox="-0.5 -0.5 1.0 1.0" orient="auto" id="d5">
<path d="M-0.0,0.5 L0.0,-0.5" stroke-width="0.2" stroke="white" />
</marker>
</defs>
<circle cx="0" cy="0" r="260" fill="black" stroke-width="0" />
<circle cx="0" cy="0" r="180" stroke-dasharray="785.3981633974483 345.5751918948772" stroke-dashoffset="-611.7689848594903" stroke="violet" stroke-width="7" fill="none" />
<circle cx="0" cy="0" r="190" stroke-dasharray="829.0313946973066 364.7738136668148" stroke-dashoffset="-1077.3414489697823" stroke="yellow" stroke-width="7" fill="none" />
<circle cx="0" cy="0" r="200" stroke-dasharray="872.6646259971649 383.9724354387524" stroke-dashoffset="-155.4435945077978" stroke="white" stroke-width="7" fill="none" />
<circle cx="0" cy="0" r="210" stroke-dasharray="916.297857297023 403.17105721069015" stroke-dashoffset="-1145.6101047542002" stroke="orange" stroke-width="7" fill="none" />
<circle cx="0" cy="0" r="220" stroke-dasharray="959.9310885968813 422.36967898262776" stroke-dashoffset="-1145.2295665673755" stroke="green" stroke-width="7" fill="none" />
<circle cx="0" cy="0" r="230" stroke-dasharray="1003.5643198967396 441.56830075456537" stroke-dashoffset="-194.32135261741215" stroke="red" stroke-width="7" fill="none" />
<circle cx="0" cy="0" r="240" stroke-dasharray="1047.1975511965977 460.76692252650287" stroke-dashoffset="-346.66820676838495" stroke="royalblue" stroke-width="7" fill="none" />
<circle cx="0" cy="0" r="250" stroke-dasharray="1090.830782496456 479.96554429844036" stroke-dashoffset="-340.59431884378057" stroke="indigo" stroke-width="7" fill="none" />
<path d="M56.326439665051815,-139.02277581266776 l-134.12624864257336,243.1726184580657 l181.6380642842761,-140.44883346951397 l-186.16397132093834,72.6648605751885" stroke-width="7" stroke="red" fill="none" marker-start="url(#d0)" marker-end="url(#d1)" />
<path d="M-103,56 l138,-168 l-70,112 l-68,0 l68,56 l138,-168" stroke-width="7" stroke="white" fill="none" marker-start="url(#d2)" marker-end="url(#d3)" />
<circle cx="0" cy="0" r="260" fill="url(#d0)" stroke-width="0" />
<circle cx="0" cy="0" r="180" stroke-dasharray="785.3981633974483 345.5751918948772" stroke-dashoffset="-1032.0604797195665" stroke="url(#d1)" stroke-width="7" fill="none" />
<circle cx="0" cy="0" r="190" stroke-dasharray="829.0313946973066 364.7738136668148" stroke-dashoffset="-50.51345312640888" stroke="url(#d1)" stroke-width="7" fill="none" />
<circle cx="0" cy="0" r="200" stroke-dasharray="872.6646259971646 383.97243543875265" stroke-dashoffset="-924.527778673677" stroke="url(#d1)" stroke-width="7" fill="none" />
<circle cx="0" cy="0" r="210" stroke-dasharray="916.297857297023 403.17105721069015" stroke-dashoffset="-150.70099710238122" stroke="url(#d1)" stroke-width="7" fill="none" />
<circle cx="0" cy="0" r="220" stroke-dasharray="959.9310885968813 422.36967898262776" stroke-dashoffset="-1266.285248454271" stroke="url(#d1)" stroke-width="7" fill="none" />
<circle cx="0" cy="0" r="230" stroke-dasharray="1003.5643198967396 441.56830075456537" stroke-dashoffset="-936.1477798329598" stroke="url(#d1)" stroke-width="7" fill="none" />
<circle cx="0" cy="0" r="240" stroke-dasharray="1047.1975511965977 460.76692252650287" stroke-dashoffset="-955.8976439659806" stroke="url(#d1)" stroke-width="7" fill="none" />
<circle cx="0" cy="0" r="250" stroke-dasharray="1090.830782496456 479.96554429844036" stroke-dashoffset="-904.1969047438342" stroke="url(#d1)" stroke-width="7" fill="none" />
<path d="M75.08036035436793,124.04813375886901 l-164.82849585058213,-211.05544480198296 l-11.813176272543458,60.35585795310013 l31.069975975389895,74.14852224240119 l41.366550744971704,-105.60685228642365 l46.022716947911604,16.402950390235937" stroke-width="7" stroke="red" fill="none" marker-start="url(#d2)" marker-end="url(#d3)" />
<path d="M35,56 l-138,56 l68,-56 l0,-56 l-68,-112 l68,224 l-68,-224 l138,224" stroke-width="7" stroke="white" fill="none" marker-start="url(#d4)" marker-end="url(#d5)" />
</svg>

Before

Width:  |  Height:  |  Size: 2.7 KiB

After

Width:  |  Height:  |  Size: 3.2 KiB

Before After
Before After