SnpM / fractional-line-algorithm

Bresenham's line algorithm with fractional start/end points

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FractionalLineAlgorithm.Trace (startX, startY, endX, endY) will return a series of coordinates that overlap the line segment formed by the positions (startX, startY) and (endX, endY) with approximately 0(N) performance based on magnitude of the line.

About

Bresenham's line algorithm with fractional start/end points

License:MIT License


Languages

Language:C# 100.0%