def calcEvenAnchors(args):
    """
    Calculates anchor points evenly spaced across the world, given
    user-specified parameters.

    Note: May not be exactly even if world size is not divisible by
    patches+1.
    Note: Eveness is based on bounded world, not toroidal.
    """
    anchors = []
    dist = int((args.worldSize)/(args.patchesPerSide+1))
    for i in range(dist, args.worldSize, dist):
        for j in range(dist, args.worldSize, dist):
            anchors.append((i, j))
    return anchors
Calculates anchor points evenly spaced across the world, given
    user-specified parameters.

    Note: May not be exactly even if world size is not divisible by
    patches+1.
    Note: Eveness is based on bounded world, not toroidal.