Draws a line using either Bresenham’s line algorithm (-> https://en.wikipedia.org/wiki/Bresenham%27s_line_algorithm) which is fast as it uses only two colors, when alias = True, or Xiaolin Wu’s line algorithm (-> https://en.wikipedia.org/wiki/Xiaolin_Wu%27s_line_algorithm) which is slower as it uses opacity to improve line resolution, when alias = False. This script was made to be imported in my project_3d script via the descartes.py script.