disinclined.org
/
git
/
cellular-automaton.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
style fixes
[cellular-automaton.git]
/
1d.js
diff --git
a/1d.js
b/1d.js
index
bff03cb
..
5ead70f
100644
(file)
--- a/
1d.js
+++ b/
1d.js
@@
-14,7
+14,7
@@
$(document).ready(function(){
'111' : '0',
}
- var canvas = document.getElementById('
canvas
')
+ var canvas = document.getElementById('
1d-automaton
')
var c = canvas.getContext('2d');
var cellWidth = Math.floor(canvas.width / cells);