## Square grid
There are some additional angles that do not come from a Pythagorean triple and yet map some grid points to grid points. For example, $5^2+5^2=7^2+1^2$, hence a suitable rotation maps $(5,5)\mapsto (7,1)$ even thow $50$ is not a perfect square. (The tangent of the rotation angle in this exampleis $\frac{5\cdot 7-1\cdot 5}{5\cdot 7+1\cdot 5}=\frac 34$)
More generally, let $A=\Bbb Z[i]$. Then for any $a,b\in A$ with $|a|=|b|>0$, a multiplication by $z:=\frac ab$ (i.e., a rotation by $\arctan\frac{\operatorname{Im}(z)}{\operatorname{Re}(z)}$) will map some grid points to grid points.
## Hexagonal grid
Let $A=\Bbb Z[\omega]$, where $\omega=\frac{1+i\sqrt 3}2$. Then for any $a,b\in A$ with $|a|=|b|>0$, a multiplication by $z:=\frac ab$ will map some grid points to grid points.
Now, if $a=r+s\omega$ with $r,s\in\Bbb Z$, then $|a|^2=r^2+rs +s^2$, so these expressions take the role of the pythagorean $r^2+s^2$ of the square grid case