` for x in range(1, max_radius):
search_dirs.append((0, x))
for y in range(1, max_radius):
for x in range(-max_radius + 1, max_radius):
if x * x + y * y < max_radius ** 2:
search_dirs.append((y, x))`
Thanks for sharing the work. I think the search_dirs seems to be a half circle instead of a circle. Not sure whether i understand it correctly.
Look forward to your reply.
` for x in range(1, max_radius): search_dirs.append((0, x))
Thanks for sharing the work. I think the search_dirs seems to be a half circle instead of a circle. Not sure whether i understand it correctly. Look forward to your reply.