total-serialism
Advanced tools
Comparing version 1.7.3 to 1.7.4
{ | ||
"name": "total-serialism", | ||
"version": "1.7.3", | ||
"version": "1.7.4", | ||
"description": "A set of methods for the generation and transformation of number sequences useful in algorithmic composition", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -94,3 +94,3 @@ //========================================================================== | ||
for (var i = 0; i < len; i++){ | ||
arr[i] = (i / (1/(len-1))) * (hi - lo) + lo; | ||
arr[i] = (i / (len-1)) * (hi - lo) + lo; | ||
} | ||
@@ -115,3 +115,3 @@ return arr; | ||
for (var i = 0; i < len; i++){ | ||
arr[i] = Math.pow(i / (1/(len-1)), exp) * (hi - lo) + lo; | ||
arr[i] = Math.pow((i / (len-1)), exp) * (hi - lo) + lo; | ||
} | ||
@@ -118,0 +118,0 @@ return arr; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
1464596