Allow periodic boundaries
Closed this issue · 0 comments
rileyjshaw commented
Currently, corner cells have 3 adjacent cells and wall cells have 5. Periodic boundary conditions would allow every cell to have 8 adjacent cells by "wrapping around" the Terrarium.
var t = new terra.Terrarium(4, 4, {
boundary: 'periodic'
});
Suggested by @crawfy48.