Popular recipes tagged "ray"http://code.activestate.com/recipes/tags/ray/popular/2012-05-16T16:15:04-07:00ActiveState Code RecipesBresenham's line algorithm in n-dimensions (Python)
2012-05-16T16:15:04-07:00Vikas Dhimanhttp://code.activestate.com/recipes/users/4174758/http://code.activestate.com/recipes/578112-bresenhams-line-algorithm-in-n-dimensions/
<p style="color: grey">
Python
recipe 578112
by <a href="/recipes/users/4174758/">Vikas Dhiman</a>
(<a href="/recipes/tags/bresenham/">bresenham</a>, <a href="/recipes/tags/ray/">ray</a>, <a href="/recipes/tags/tracing/">tracing</a>).
Revision 2.
</p>
<p>Given start and end point, produce a list of points through which line (or ray) will traverse.</p>