A library to create SVGs in Roc.
This Roc code:
myCircle = Svg.circle [Attribute.cx "50", Attribute.cy "50", Attribute.r "50"] []
Svg.svg [Attribute.width "100", Attribute.height "100"] [myCircle] |> Svg.render
Returns this SVG:
<svg width="100" height="100"><circle cx="50" cy="50" r="50"></circle></svg>
This repository is released under the UPL licence.