Tech > LINE OVERLAPPING A GRID
find all grid tiles under a line/ray
made by borb
uploaded by borb
language: lua
added:

- CLICK TO PLAY -
On iPhone or iPad: tap Play full screen, then Share > Add to Home Screen to play without the browser bars.
4
Find all tiles of a grid under a line.
Uses a 8x8 grid by default. Use arrows to move line around.
Based on https://playtechs.blogspot.com/2007/03/raytracing-on-grid.html