1 Waves propagate through adjacent pixels in a four-directional grid, with wall boundaries (black pixels) blocking propagation by setting their alpha to zero.
“we will shift the position by one pixels length in a circle and sample the buffer since waves cannot propagate through walls we will multiply each neighbor by its alpha making it zero if it lies within the boundary”