diff --git a/src/components/FormField.vue b/src/components/FormField.vue deleted file mode 100644 index b872bb2..0000000 --- a/src/components/FormField.vue +++ /dev/null @@ -1,9 +0,0 @@ - diff --git a/src/components/MenuRow.vue b/src/components/MenuRow.vue index 66567c5..65579fd 100644 --- a/src/components/MenuRow.vue +++ b/src/components/MenuRow.vue @@ -38,7 +38,12 @@ export default { cursor: pointer; border: 2px solid darkgrey; margin: 0 0 10px 0; - } +} + +select { + margin-top: 10px; + padding: 5px; +} input[type="button"] { min-width: 60px; diff --git a/src/modules/automata.js b/src/modules/automata.js index b146f9c..6f9454d 100644 --- a/src/modules/automata.js +++ b/src/modules/automata.js @@ -73,6 +73,7 @@ function conwayRules(cell, neighbors) { } // get the next evolution of a 2D CA initial state +// Rules : Moore neighborhood function evolve2d(board, rulesFn) { return board.map((row, x) => row.map((cell, y) => { const neighbors = getCellNeighbors(board, [x, y]);