Code
The highlighted line runs next. The pill shows the live values in the running call.
Who rotted whom
Each orange hangs under the one that rotted it · hover to find its cell
Queue
BFS uses a queue where recursion would use the call stack
Grid
Rows on the left, columns on top; the outer ring is off the grid
wavefront which oranges rotted at each minute