aboutsummaryrefslogtreecommitdiff
path: root/client/js
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.org>2024-11-09 10:00:11 +0200
committerkaotisk <kaotisk@arching-kaos.org>2024-11-09 10:00:11 +0200
commit538047c5ac88fc457b8e1658416184f411cadbf1 (patch)
tree01568c3e64394c6d489bd5571f2a43922bacfb71 /client/js
parenta1c62b97bcd55f13e2acedd8b4033e76356c38c6 (diff)
downloadarching-kaos-radio-538047c5ac88fc457b8e1658416184f411cadbf1.tar.gz
arching-kaos-radio-538047c5ac88fc457b8e1658416184f411cadbf1.tar.bz2
arching-kaos-radio-538047c5ac88fc457b8e1658416184f411cadbf1.zip
Visual rework
Diffstat (limited to 'client/js')
-rw-r--r--client/js/radio_emulator.js10
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;