Skip to content

Instantly share code, notes, and snippets.

@gagern
Created June 23, 2020 23:28
Show Gist options
  • Save gagern/75474ed4a6f298c1bdbc3cb1e3370d31 to your computer and use it in GitHub Desktop.
Save gagern/75474ed4a6f298c1bdbc3cb1e3370d31 to your computer and use it in GitHub Desktop.
Display the source blob
Display the rendered blob
Raw
<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg width="180mm" height="270mm" version="1.1"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
viewBox="-0.8 -1.2 1.6 2.4">
<desc>
https://www.reddit.com/r/Geometry/comments/hcetl9/is_there_a_formula_to_create_a_dodecahedron_shape/
0.618033988749895 = φ - 1
0.3819660112501051 = 2 - φ
0.7236067977499790 = (2 + φ)/5
1.170820393249937 = (1 +3φ)/5
</desc>
<path d="M
0.618033988749895 0
0 0.3819660112501051
-0.618033988749895 0
0 -0.3819660112501051
0.618033988749895 0
0.7236067977499790 1.170820393249937
0 0.3819660112501051
-0.7236067977499790 1.170820393249937
-0.618033988749895 0
-0.7236067977499790 -1.170820393249937
0 -0.3819660112501051
0.7236067977499790 -1.170820393249937
Z" stroke-width="0.002" stroke="black" fill="none"/>
<g font-family="Arial" font-size="0.02">
<text text-anchor="middle">
<tspan x="0" y="1">https://www.reddit.com/r/Geometry/comments/hcetl9/is_there_a_formula_to_create_a_dodecahedron_shape/</tspan>
<tspan x="0" y="1.03">Template by Martin von Gagern</tspan>
<tspan x="0" y="1.06">CC-BY 4.0 – https://creativecommons.org/licenses/by/4.0/</tspan>
</text>
</g>
</svg>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment