diff options
author | Fbenas <philbeansburton@gmail.com> | 2020-09-21 01:52:22 +0100 |
---|---|---|
committer | Fbenas <philbeansburton@gmail.com> | 2020-09-21 01:52:22 +0100 |
commit | 5c4f8661dbbc54f607bdac4676a74995463cdece (patch) | |
tree | 3b7e1fb5964d533318bc676aa1bc1052cbd56812 /resources | |
parent | 101011c6e8866f07d4f6d2994ec414bdb79d2ae8 (diff) |
Tweak size and randomness
Diffstat (limited to 'resources')
-rw-r--r-- | resources/js/app.js | 2 | ||||
-rw-r--r-- | resources/js/component.js | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/resources/js/app.js b/resources/js/app.js index 797dc0f..b107a71 100644 --- a/resources/js/app.js +++ b/resources/js/app.js @@ -1,4 +1,4 @@ -let scene = new Scene(10, 100); +let scene = new Scene(5, 100); function stop() { scene.stop(); diff --git a/resources/js/component.js b/resources/js/component.js index ec81489..a6098e0 100644 --- a/resources/js/component.js +++ b/resources/js/component.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; |