midpointlinealgorithm

Mid point line algorithm point generation

Usage no npm install needed!

<script type="module">
  import midpointlinealgorithm from 'https://cdn.skypack.dev/midpointlinealgorithm';
</script>

README

DDALineDrawing

This Node project will facilitate the calculation of DDA algorithm for a given 2 end points.

startX, startY, endX, endY parameters are need to provide to the algorithm and it will generate the line coordinates between the starting and ending points.