For the moment, the code starts drawing the grid from the origin to the limits of the screen, in all directions. This means that if the origin is not at the center of the screen, in at least one direction lines are drawn uselessly.
The problem gets worse as the origin gets far from the screen
For the moment, the code starts drawing the grid from the origin to the limits of the screen, in all directions. This means that if the origin is not at the center of the screen, in at least one direction lines are drawn uselessly. The problem gets worse as the origin gets far from the screen