@doot-games/radar
v0.1.0
Published
Compute the five axis groove radar from a chart and draw it as SVG.
Readme
@doot-games/radar
The five axis groove radar. Compute it from a chart or draw a radar object as SVG. Axes are stream, voltage, air, freeze, and chaos, each in the range 0 to 1.
API
AXESthe axis keys and their display labels.computeRadar(chart)derive the radar from a chart's notes and foot rating. Stand-alone, so a chart loaded from disk gets a radar without re-running the charter.radarSVG(radar, opt?)inner SVG markup for a 168 by 168 viewBox. Colors use the--purpleand--inkCSS variables.drawRadar(svgEl, radar, opt?)set the markup on an existing<svg>.
Stream tracks notes per second, voltage the foot rating, air the jump rate, freeze the hold rate, and chaos the share of fast (16th and finer) notes.
