Skip to main content

SVG Renderer

Meant to be used in browser apps, renders score as SVG

Usage in code:

<html>
<body>
<div id="ss-container"></div>
</body>
</html>
import SvgRenderer from "@score-storm/svg-renderer"

const scoreStorm = new ScoreStorm()

const containerEl = document.getElementById("ss-container") // your container element, usually div

scoreStorm.setRenderer(new SvgRenderer(containerEl))
scoreStorm.render()