@spikeyxxx Thanks for posting this! My brain tends to hit the ceiling when it comes to making procedural things loop. This helps a lot.
Also I found some helpful tips from Ducky3D’s recent tutorial. Namely that rotating 360 in a particular axis of the mapping node is good for looping as well.