This sample file show how you can recreate this classic truchet tile style pattern with full parametric control, allowing you to dynamically change the number of bands, tile size and randomization of the tile orientations.
The example makes use of document parameters and linking them to expressions to control parameters, using groups and instances to work on components and randomizing patterns.
There is also a step by step video on YouTube explaining how this pattern was created: Parametric Truchet tiles pattern in Paragraphic.