Computer graphics DDA algorithm