js-css-piano
Very small module for drawing a piano using js and css
Install:
npm install --save js-css-piano
Usage
var p = ;var elemID = 'piano-container'; var p = elemID octaves: 2 octaveBegin: 3;p;
Remember to include the css/piano.css
You can also see index.html which includes the bundle built from test.js
You can see this example here:
https://diversen.github.io/js-css-piano/
Build and watch example
./watch
Inspiration
https://codepen.io/zastrow/details/oDBki
License
MIT © Dennis Iversen