Installation head to be bigger.
Re-arranged order of function definitions.
Use set_darkness instead of set_visible because allows more flexible values.
Re-arranged order of functions.
Removed nested if-statements.
Assign different darknesses based on distance from origin.
Partially working fade-by-distance.
Much more accurate shadow-fading.
Fixed glitch which was drawing dark areas where it should be light.