1.0.7 • Published 7 years ago

js-css-piano v1.0.7

Weekly downloads
1
License
MIT
Repository
github
Last release
7 years ago

js-css-piano

Very small module for drawing a piano using js and css

Install:

npm install --save js-css-piano

Usage

var p = require('js-css-piano');
var elemID = 'piano-container';

var p = new piano(elemID, {
        octaves: 2,
        octaveBegin: 3
});
p.createPiano();

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

1.0.7

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago