This is a library that provides one function:
get_3d_slope.get_slope(pos, radius)
--`pos` the position from which to calculate the surrounding slope
--`radius` is a float that determines the radius of the examined nodes from which the calculation is made
This function will return a downward or zero vector that is calculated by taking the average downward directions of all scanned nodes.
Nice!
Bro is a genius :)