From a5ae23022bbc2e8d294f4bb42e6246066aa5104b Mon Sep 17 00:00:00 2001 From: Amira Abdel-Rahman <aabdelrahman@gsd.harvard.edu> Date: Mon, 2 Dec 2019 11:27:06 -0500 Subject: [PATCH] return to dice grid --- 01_Code/physical_computing_interface/globals.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/01_Code/physical_computing_interface/globals.js b/01_Code/physical_computing_interface/globals.js index 002702c..ecb3a6a 100644 --- a/01_Code/physical_computing_interface/globals.js +++ b/01_Code/physical_computing_interface/globals.js @@ -220,7 +220,7 @@ function globals(utils){ }; - this.grid=this.gridPresets.Cubic; + this.grid=this.gridPresets.Dice; this.utils=utils; this.occupancy=[]; @@ -297,6 +297,8 @@ globals.prototype.updateNode=function (data){ neighbors:data.neighbors, inputs:data.inputs, outputs:data.outputs, + locked:data.locked, + numRuns:data.numRuns } }); document.dispatchEvent(updateNodeEvent); -- GitLab