bjorklund-js
Advanced tools
Comparing version 0.1.0 to 0.1.1
{ | ||
"name": "bjorklund-js", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "A Javascript Universal Module implementation of the Bjorklund algorithm", | ||
"main": "bjorklund.js", | ||
"main": "bjorklund.min.js", | ||
"directories": { | ||
@@ -16,2 +16,6 @@ "test": "test" | ||
"chai": "*", | ||
"gulp": "~3.9.1", | ||
"gulp-rename": "~1.2.2", | ||
"gulp-sourcemaps": "~1.6.0", | ||
"gulp-uglify": "~1.5.3", | ||
"mocha": "*" | ||
@@ -18,0 +22,0 @@ }, |
@@ -5,2 +5,30 @@ ## Bjorklund | ||
## Installation | ||
### npm | ||
``` | ||
$ npm install bjorklund-js | ||
``` | ||
### bower | ||
``` | ||
$ bower install bjorklund-js | ||
``` | ||
## Usage | ||
```javascript | ||
var | ||
steps = 5, | ||
pulses = 2; | ||
console.log(bjorklund(steps, pulses)); // [ 0, 1, 0, 1, 0 ] | ||
``` | ||
## License | ||
This project is licensed under the MIT license. | ||
## Resources | ||
@@ -10,1 +38,11 @@ | ||
* G. T. Toussaint, [The Euclidean algorithm generates traditional musical rhythms](http://cgm.cs.mcgill.ca/~godfried/publications/banff.pdf), Proceedings of BRIDGES: Mathematical Connections in Art, Music, and Science, Banff, Alberta, Canada, July 31 to August 3, 2005, pp. 47–56. | ||
## Changelog | ||
### 0.1.0 | ||
First release | ||
### 0.1.1 | ||
Add minified version |
11311
11
133
47
6