From bd798eba9ef5b209db25fa4a3e5a3b4ff143d5f5 Mon Sep 17 00:00:00 2001 From: Jakob Yanagibashi <jakob.yanagibashi@rwth-aachen.de> Date: Thu, 13 Apr 2023 15:15:54 +0000 Subject: [PATCH] Higher example model --- main.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.js b/main.js index a06aa13..2b18db7 100644 --- a/main.js +++ b/main.js @@ -410,6 +410,7 @@ function getPresetModelmain() { var zoom = 30; const levels = 20; const extMultiplier = 1; + const levelHeight = 3; var previousGoal = { x: 0, y: 0, @@ -435,7 +436,7 @@ function getPresetModelmain() { 1250, currentGoal.x, currentGoal.y, - e + (1 / precision) * i + e * levelHeight + levelHeight / precision ); presetProject.model.append(newCommand); previousGoal.x = currentGoal.x; -- GitLab