center-randomize icon indicating copy to clipboard operation
center-randomize copied to clipboard

Fix same centre chosen every time

Open 0xSolidityWeb3 opened this issue 10 months ago • 0 comments

modified the "centers_within_distance" function to consider the preference cutoff (PREF_CUTOFF) even when no centers are within the absolute distance threshold. Additionally, ensuring that the closest center is not always chosen in such cases.

0xSolidityWeb3 avatar Apr 22 '24 06:04 0xSolidityWeb3