From: Elijah Cohen Date: Fri, 3 May 2019 00:01:07 +0000 (-0500) Subject: cleaner lines X-Git-Url: https://git.eli173.com/?a=commitdiff_plain;h=e526f393cadeba7e6d0bca383821ee0a66a2a872;p=pong_br cleaner lines --- diff --git a/web/main.js b/web/main.js index ecafbd8..2ab0ca2 100644 --- a/web/main.js +++ b/web/main.js @@ -17,7 +17,7 @@ var main = function() { // starts everything, gets us going, setup ish ctx = canvas.getContext('2d'); // change the 1's to zoom in i think.. todo ctx.transform(10, 0, 0, 10, ctx.canvas.width/2, ctx.canvas.height/2); // change to setTransform? - + ctx.lineWidth = ctx.lineWidth/5; // this is just to have everything go easily for testing var othersockets = []; for(var i=0; i