useless component, css fluff, comments
This commit is contained in:
parent
93f9426f56
commit
9613f023b1
@ -1,9 +0,0 @@
|
||||
<template>
|
||||
<div class="form-field" v-if="type === 'checkbox'">
|
||||
<label>{{ name }}
|
||||
<input type="checkbox" name="{{ name }}">
|
||||
</label>
|
||||
</div>
|
||||
<div class="form-field" v-else-if="type === ''">
|
||||
</div>
|
||||
</template>
|
@ -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;
|
||||
|
@ -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]);
|
||||
|
Loading…
Reference in New Issue
Block a user