From 3e29624fdb6c85d2ac5c064eaf959b34c5318ba3 Mon Sep 17 00:00:00 2001 From: "Valeriano A.R" Date: Tue, 19 Mar 2019 06:47:28 +0100 Subject: [PATCH] Chane size of simulation grid. --- CellAutomata.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CellAutomata.js b/CellAutomata.js index 525595b..1dd3885 100644 --- a/CellAutomata.js +++ b/CellAutomata.js @@ -60,8 +60,8 @@ CellAutomata.prototype = { this.Tick(); }, Init: function () { - this.CellsWidth = 200; - this.CellsHeight = 100; + this.CellsWidth = 400; + this.CellsHeight = 200; this.Cells = this.CreateGrid(this.CellsWidth, this.CellsHeight, function (x, y) { return false; }); this.CellsNext = this.CreateGrid(this.CellsWidth, this.CellsHeight, function (x, y) { return false; });