This is not an answer to your question, but a TSL texture could solve continuity of texture patterns:
https://codepen.io/boytchev/full/YPqrpea
Here is a demo with a dynamic structure:
This is not an answer to your question, but a TSL texture could solve continuity of texture patterns:
https://codepen.io/boytchev/full/YPqrpea
Here is a demo with a dynamic structure: