Graphische Datenverarbeitung
Bresenham
Implement the Bresenham algorithm to create a rotating line
Reference image. The reference uses the build-in line drawing functionality and is smoothed. Your line will look a bit more jagged.