UnityCoder.com>
Bresenham line algorithm
(js)
Back to blog
Controls: Left click: startpoint then click again for endpoint