From: Dylan Lloyd Date: Sun, 16 Dec 2012 16:00:44 +0000 (-0500) Subject: added some controls, reset doesn't work X-Git-Url: https://disinclined.org/git/?a=commitdiff_plain;h=52001e2bd601ee0528cae9fc5dd19ea4bae460b1;p=cellular-automaton.git added some controls, reset doesn't work some problem with the object copy `automaton = seed` --- diff --git a/index.php b/index.php index bce9967..e78d7a6 100644 --- a/index.php +++ b/index.php @@ -10,6 +10,11 @@

2D

+
Start automaton
+
Stop automaton
+
Reset automaton
+
Highlight seed
+
Generation: 0
diff --git a/style.css b/style.css index e6005a9..8145b7e 100644 --- a/style.css +++ b/style.css @@ -6,12 +6,10 @@ canvas { float:left; width:150px; } -#controls li { +#controls .control { cursor: pointer; - padding-bottom:15px; font-weight: bold; - list-style-type: none; - } -#markup { - display:none; } +#highlight-seed, #stop-automaton { + display: none; +}