diff options
author | kaotisk <kaotisk@arching-kaos.org> | 2024-11-09 10:00:11 +0200 |
---|---|---|
committer | kaotisk <kaotisk@arching-kaos.org> | 2024-11-09 10:00:11 +0200 |
commit | 538047c5ac88fc457b8e1658416184f411cadbf1 (patch) | |
tree | 01568c3e64394c6d489bd5571f2a43922bacfb71 /client/js/radio_emulator.js | |
parent | a1c62b97bcd55f13e2acedd8b4033e76356c38c6 (diff) | |
download | arching-kaos-radio-538047c5ac88fc457b8e1658416184f411cadbf1.tar.gz arching-kaos-radio-538047c5ac88fc457b8e1658416184f411cadbf1.tar.bz2 arching-kaos-radio-538047c5ac88fc457b8e1658416184f411cadbf1.zip |
Visual rework
Diffstat (limited to 'client/js/radio_emulator.js')
-rw-r--r-- | client/js/radio_emulator.js | 10 |
1 files changed, 5 insertions, 5 deletions
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; |