From 2d056555ea38f4a48ff5b844a59ab69fccc5ca1e Mon Sep 17 00:00:00 2001 From: pommicket Date: Sat, 22 Oct 2016 17:28:06 -0400 Subject: Fixed ECA --- js/elementarycellularautomata.js | 5 +---- 1 file changed, 1 insertion(+), 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. */ -- cgit v1.2.3