From 538047c5ac88fc457b8e1658416184f411cadbf1 Mon Sep 17 00:00:00 2001 From: kaotisk Date: Sat, 9 Nov 2024 10:00:11 +0200 Subject: Visual rework --- client/js/radio_emulator.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'client/js/radio_emulator.js') diff --git a/client/js/radio_emulator.js b/client/js/radio_emulator.js index 2e0b5de..1bb9b76 100644 --- a/client/js/radio_emulator.js +++ b/client/js/radio_emulator.js @@ -29,7 +29,7 @@ // - list // - show_info // -var debugMode = true; +var debugMode = false; const apiURL = "http://z.kaotisk-hund.com:8010/"; const version = "v0"; const listRequest = `${apiURL}${version}/list` @@ -482,10 +482,10 @@ function createImage(pixels, hash, what) for (var k = 0; k < radius; ++k) { var subpixel = pixel_to_be_enhanced; - if ( i > radius - Math.floor(radius/2) ) - { - debugLog(i); - } + // if ( i > radius - Math.floor(radius/2) ) + // { + // debugLog(i); + // } c = (x*radius)+k; r = (y*radius)+i; context.fillStyle = subpixel; -- cgit v1.2.3