Bresenham line drawing algorithm variation with a step parameter for floats compatibility
github.com/guidouil/fresenham
guidouil/fresenham