Bresenham Line Drawing Algorithm

Start/Stop Animation - Press to start/stop animation of line drawing.

Next Pixel - Press to skip to drawing next pixel.

Single Step - Press to single step through pseudo-code.

Please note that although this applet does handle all possible line cases, it does not yet feature pseudo-code appropriate for all possible cases, only the trivial case.

Reset - Press to begin a new line.