3.0.0 • Published 7 years ago
svg-midi-grid v3.0.0
svg-midi-grid
Render a grid suitable for midi notes as SVG.
Usage
const html = require('bel')
const Grid = require('svg-midi-grid')
const grid = Grid()
document.body.appendChild(html`
<svg height=200 width=400>
${grid.render({
height: 201,
width: 401,
cellHeight: 5,
cellWidth: 10
})}
</svg>
`)
Related
- svg-midi-note — Render a Midi Note as SVG with velocitity and a selected state
License
MIT