for(var/turf/A in oview(3,src))
A.icon += rgb(0,0,100)
Problem description:
I want to grab atoms within a range in a circular shape, like how luminosity works. HOWEVER, view & range works in squares. I found this useful library explaining how to do this, however the files are not found.
If you want circles, you can basically look through the bounding box (the smallest region containing every potential point in your desired circle), then check for the distance between each point and the center of the circle, using Euclidean distance (as opposed to Chebyshev distance used by get_dist()).
It's more efficient to compare the squared distance with the squared radius, to avoid sqrt().