On a grid map, line drawing is useful for for visibility, the
path of an arrow/bullet, and enemy AI. There are several fast
algorithms for this but I prefer using a very simple algorithm.
Here's the algorithm in action:

Linear interpolation: numbers

Let's look at linear interpolation, or lerp, for numbers: