Comparing version 1.0.1 to 1.0.2
@@ -5,2 +5,6 @@ # Changelog | ||
## [1.0.2](https://github.com/dmnsgn/bayer/compare/v1.0.1...v1.0.2) (2022-05-24) | ||
## [1.0.1](https://github.com/dmnsgn/bayer/compare/v1.0.0...v1.0.1) (2022-04-30) | ||
@@ -7,0 +11,0 @@ |
/** | ||
* Compute the bayer matrix based for powers of two. | ||
* Compute the bayer matrix for powers of two. | ||
* @param {number} size Needs to be a power of two otherwise will throw a "Maximum call stack size exceeded" Error. | ||
@@ -4,0 +4,0 @@ * @returns {Array[]} A 2D array containing the matrix. |
{ | ||
"name": "bayer", | ||
"version": "1.0.1", | ||
"description": "Compute the bayer matrix based for powers of two. Useful for ordered dithering algorithms.", | ||
"version": "1.0.2", | ||
"description": "Compute the bayer matrix for powers of two. Useful for ordered dithering algorithms.", | ||
"keywords": [ | ||
@@ -32,3 +32,3 @@ "bayer", | ||
"scripts": { | ||
"test": "node test" | ||
"test": "node --test" | ||
}, | ||
@@ -35,0 +35,0 @@ "engines": { |
@@ -13,3 +13,3 @@ # bayer | ||
Compute the bayer matrix based for powers of two. Useful for ordered dithering algorithms. | ||
Compute the bayer matrix for powers of two. Useful for ordered dithering algorithms. | ||
@@ -48,3 +48,3 @@ [![paypal](https://img.shields.io/badge/donate-paypal-informational?logo=paypal)](https://paypal.me/dmnsgn) | ||
Compute the bayer matrix based for powers of two. | ||
Compute the bayer matrix for powers of two. | ||
@@ -51,0 +51,0 @@ **Kind**: global function |
export default bayer; | ||
/** | ||
* Compute the bayer matrix based for powers of two. | ||
* Compute the bayer matrix for powers of two. | ||
* @param {number} size Needs to be a power of two otherwise will throw a "Maximum call stack size exceeded" Error. | ||
@@ -5,0 +5,0 @@ * @returns {Array[]} A 2D array containing the matrix. |
6023