render-glyph-to-svg.Rmd
Since the glyphs are available as SVG path objects they’re easy to show within an HTML document
svg <- glue::glue('<svg width="200" height="300" viewBox="-15 -15 30 30" xmlns="http://www.w3.org/2000/svg">
<path d="{hershey_svg$rowmant[[34]]}" stroke="black" fill="transparent" stroke-width="0.5">
<animateTransform
attributeName = "transform"
attributeType = "XML"
type = "rotate"
from = "0"
to = "360"
dur = "10s"
repeatCount = "indefinite"/>
</path>
</svg>')