From 7316b5b7b47afb4a1a6702e3cb3aff2ff531396a Mon Sep 17 00:00:00 2001 From: Luis Fernando Molina Date: Mon, 24 Jun 2019 17:34:29 +0200 Subject: [PATCH 1/2] Less cycles to restart the plotter --- CockpitSpace/RestartSimulation.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/CockpitSpace/RestartSimulation.js b/CockpitSpace/RestartSimulation.js index 530dff1cb..7bbb426da 100644 --- a/CockpitSpace/RestartSimulation.js +++ b/CockpitSpace/RestartSimulation.js @@ -113,7 +113,7 @@ function newRestartSimulation () { thisObject.status = 'Restarting' await graphQlRestartSimulation(simulationParams) thisObject.status = 'Calculating' - counterTillNextState = 2000 + counterTillNextState = 250 } else { thisObject.status = 'Error' counterTillNextState = 500 @@ -165,7 +165,7 @@ function newRestartSimulation () { case 'Calculating': thisObject.status = 'Refreshing' turnOffProductCards() - counterTillNextState = 250 + counterTillNextState = 50 break case 'Refreshing': thisObject.status = 'Ready' @@ -276,3 +276,4 @@ function newRestartSimulation () { browserCanvasContext.fillText(label, labelPoint.x, labelPoint.y) } } + From a988cbf2a0a6efde3cd63dc4c988bcfac9e27a5c Mon Sep 17 00:00:00 2001 From: Luis Fernando Molina Date: Tue, 25 Jun 2019 00:56:11 +0200 Subject: [PATCH 2/2] More mass for level 3 --- FloatingSpace/StrategyPartConstructor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FloatingSpace/StrategyPartConstructor.js b/FloatingSpace/StrategyPartConstructor.js index 12c5fd8ee..86d102c93 100644 --- a/FloatingSpace/StrategyPartConstructor.js +++ b/FloatingSpace/StrategyPartConstructor.js @@ -1730,7 +1730,7 @@ function newStrategyPartConstructor () { floatingObject.targetFriction = FRICTION floatingObject.friction = INITIAL_FRICTION - floatingObject.initializeMass(20) + floatingObject.initializeMass(50) floatingObject.initializeRadius(35) floatingObject.initializeImageSize(60) floatingObject.initializeFontSize(10)