Bresenhams Line Drawing Algorithm Geeks4Geeks

Explains it much simpler. Less maths derivation.