summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpommicket <leonardomtenenbaum@gmail.com>2016-10-22 17:28:06 -0400
committerpommicket <leonardomtenenbaum@gmail.com>2016-10-22 17:28:06 -0400
commit2d056555ea38f4a48ff5b844a59ab69fccc5ca1e (patch)
treea163cf26e987cd28c51b9c7f519314740ada8192
parent5950b3b50c67d82e870271f71efeda5babc7ecfa (diff)
Fixed ECA
-rw-r--r--js/elementarycellularautomata.js5
1 files changed, 1 insertions, 4 deletions
diff --git a/js/elementarycellularautomata.js b/js/elementarycellularautomata.js
index 2d079a2..c5e1760 100644
--- a/js/elementarycellularautomata.js
+++ b/js/elementarycellularautomata.js
@@ -148,10 +148,7 @@ function run()
ctx = document.getElementById("canvas").getContext("2d");
-
- ctx.fillStyle = "#ffffff"
- ctx.fillRect(0, 0, size, time);
- ctx.fillStyle = "#000000"
+ ctx.fillStyle = "#000000";
startingConfig = padConfiguration(startingConfig, size);
/* Run the automaton. */