That's a good test! So... it looks like we have this:
- Cameras are placed almost always every three elements, but occasionally, it can be two or four
- There is always a camera at the start/finish line and from there, the pattern appears to follow forward
- Changing an element without changing the number of tiles may or may not alter the distribution
- Even without any special element (just straights and corners), irregularities can occur
For your tests we have:
Test 1: 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3 (12 threes, including arriving back at the finish line)
Test 2: The same, also 12 threes
Test 3: 3, 3, 3, 3, 3, 1, 3, 3, 3, 3, 3, 1 (5 threes, 1 one, 5 threes, 1 one)
Test 4: 3, 3, 3, 3, 4, 3, 3, 3, 3, 4 (4 threes, 1 four, 4 threes, 1 four)
It occurs to me that perhaps each element adds a value to a variable. When the variable overflows and wraps around, a camera is placed, but each track element has a different value to add. But quickly I realise this cannot be the case, as 12 x 3 = 36, which is different from 10 x 3 + 2 x 1 = 32 and 8 x 3 + 2 x 4 = 32. I'm more lost than before!