If you've ever driven past an orchard where the trees are planted in a perfect grid, you may have noticed that if you align your line of sight with the grid, you can see down the successive rows and it looks kind of cool.
If the trees are sufficiently thin, you may notice that other directions - such as $45^\circ$ to the axes of the grid - have the same effect, although the gap you're able to view is smaller. If you drive past a grid of thin poles, there are many "resonant directions" that you can see and it looks pretty neat. I can't help but think there's some underlying math here.
Here's the model: you start at $(0, 0)$ and drive down the positive x-axis. At every point with positive integer coordinates, we place a pole. You then turn your head $\theta$ radians to the left of the x-axis. I want to find the function $w(\theta)$ that tells you the width of the gap you see.
Here's an example, that shows that $w(\frac{\pi}{4}) = \frac{1}{\sqrt{2}}$.
The only observation I can make is this:
Let $\tan(\theta) = \frac{a}{b}$ for $a, b \in \mathbb{N}$. Let $T$ be the triangle with endpoints at $\{(0,0),(0,a),(b,0)\}$. Then $w(\theta)$ is equal to the shortest distance from the hypotenuse of $T$ to some point $(c, d)$ in $T$ with $c, d \in \mathbb{Z}$. But I am hoping there is a more elegant expression of $w(\theta)$ than that.
Thanks!