useless component, css fluff, comments
This commit is contained in:
@ -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]);
|
||||
|
||||
Reference in New Issue
Block a user