From 5c4f8661dbbc54f607bdac4676a74995463cdece Mon Sep 17 00:00:00 2001 From: Fbenas Date: Mon, 21 Sep 2020 01:52:22 +0100 Subject: Tweak size and randomness --- public/js/app.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'public') diff --git a/public/js/app.js b/public/js/app.js index fdf81e7..746c558 100644 --- a/public/js/app.js +++ b/public/js/app.js @@ -1,9 +1,9 @@ class Component { constructor(radius, color, x, y, direction) { - this.rayLength = 100; - this.turnStepAmount = 0; - this.stepAmount = 5; + this.rayLength = 40; + this.turnStepAmount = 4; + this.stepAmount = 3; this.radius = radius; this.x = x; this.y = y; @@ -221,7 +221,7 @@ class Scene { } -let scene = new Scene(10, 100); +let scene = new Scene(5, 100); function stop() { scene.stop(); -- cgit v1.2.3