From c0b154f939d38e0a70f23a949e3226321bceb205 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Fri, 24 Mar 2017 22:11:01 +0100 Subject: block/dither --- js/dither.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'js') 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)] } } } -- cgit v1.2.3-70-g09d2