The efficient determination of the percolation threshold by a frontier-generating walk in a gradient | Synapse