Advertisement
maitre_kebabier
Nov 24th, 2022
21
0
Never
This is comment for paste dbd auto skill check
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. here an upgrade for the python code :
  2.  
  3.  
  4. import math
  5.  
  6.  
  7. and replace :
  8.  
  9. for i in range(len(yw)):
  10. if math.sqrt((xw[i]-70)**2+(yw[i]-70)**2)>= r:
  11. cordsw.append([yw[i], xw[i]])
  12. for i in range(len(yr)):
  13. if math.sqrt((xr[i]-70)**2+(yr[i]-70)**2)>=r:
  14. cordsr.append([yr[i], xr[i]])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement