summaryrefslogtreecommitdiff
path: root/resources/js
diff options
context:
space:
mode:
Diffstat (limited to 'resources/js')
-rw-r--r--resources/js/app.js2
-rw-r--r--resources/js/component.js6
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;