diff options
| author | Jules Laplace <jules@okfoc.us> | 2017-03-24 22:11:01 +0100 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2017-03-24 22:11:01 +0100 |
| commit | c0b154f939d38e0a70f23a949e3226321bceb205 (patch) | |
| tree | 4600081fa7b52c017d443b5704b557c00d1705e1 /js | |
| parent | a4bb7570a5ba91122c464a586efc5a897bef015b (diff) | |
block/dither
Diffstat (limited to 'js')
| -rw-r--r-- | js/dither.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/dither.js b/js/dither.js index 37baf01..d3340dc 100644 --- a/js/dither.js +++ b/js/dither.js @@ -6,10 +6,10 @@ var dither = { d: ' ', p: function(n){ if (0 <= 0 && n < 1) { - return block.aa[Math.floor(n * 4)] + return dither.aa[Math.floor(n * 4)] } else { - return block.aa[Math.floor(n % 4)] + return dither.aa[Math.floor(n % 4)] } } } |
