Check if Walker Touches a Black Pixel
touches_black.RdChecks if the walker's current position is on a black pixel.
Usage
touches_black(walker, grid, boundary = c("terminate", "wrap"))touches_black.RdChecks if the walker's current position is on a black pixel.
touches_black(walker, grid, boundary = c("terminate", "wrap"))