svg-daw-ruler

2.3.0 • Public • Published

svg-daw-ruler

A ruler element commonly used in DAWs.

screenshot

Usage

const Ruler = require('svg-daw-ruler')
const html = require('bel')
 
const ruler = Ruler()
 
const el = html`
  <svg width=600 height=40>
    ${ruler.render({ width: 600, height: 30, cellWidth: 20, y: 50 })}
  </svg>
`
 
document.body.appendChild(el)

License

MIT

/svg-daw-ruler/

    Package Sidebar

    Install

    npm i svg-daw-ruler

    Weekly Downloads

    6

    Version

    2.3.0

    License

    MIT

    Last publish

    Collaborators

    • juliangruber