From 80e9bd2b05fb984b1131e5cba08ea3bd08479baf Mon Sep 17 00:00:00 2001 From: xdrm-brackets Date: Mon, 9 Apr 2018 23:32:55 +0200 Subject: [PATCH] [vue.auth.dialog] updated dialog 'frequency' canvas ++ --- parcel/vue/auth/dialog.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/parcel/vue/auth/dialog.vue b/parcel/vue/auth/dialog.vue index 7dd60c7..10e86af 100644 --- a/parcel/vue/auth/dialog.vue +++ b/parcel/vue/auth/dialog.vue @@ -138,11 +138,11 @@ export default { /* (2) Adjust dimensions */ can.width = buffer.length; can.height = 256; - let precision = 5; // bigger -> less precise + let precision = 1; // bigger -> less precise /* (3) Erase previous drawing */ ctx.clearRect(0, 0, can.width, can.height); - ctx.lineWidth = 7; + ctx.lineWidth = 1; /* (4) Trace through each value */ for( let i = precision ; i < buffer.length ; i+=precision ){