Draw the prime race tracks
05AB1E, 31 26 19 bytes
…\/_ŽW ç«ÀIÅP¦4%üeè

-5 bytes by taking inspiration from @HyperNeutrino's Jelly answer.
-7 bytes thanks to @Grimmy.
Outputs as a list of characters.
Try it online (the J in the footer is to join the list together to pretty-print it).
Explanation:

…\/_                 # Push the string &quot;\/_&quot;
    ŽW               # Push compressed integer 8254
       ç             # Convert it to a character with this codepoint: &quot;‾&quot;
        «            # Append it to the earlier string: &quot;\/_‾&quot;
         À           # And rotate it once to the left: &quot;/_‾\&quot;
          IÅP        # Push a list of all primes &lt;= the input-integer
                     #  i.e. 50 → [2,3,5,7,11,13,17,19,23,29,31,37,41,43,47]
             ¦       # Remove the first value
                     #  → [3,5,7,11,13,17,19,23,29,31,37,41,43,47]
              4%     # Take modulo-4 on each value
                     #  → [3,1,3,3,1,1,3,3,1,3,1,1,3,3]
                ü    # For each overlapping pair:
                     #  → [[3,1],[1,3],[3,3],[3,1],[1,1],[1,3],[3,3],[3,1],[1,3],[3,1],[1,1],[1,3],[3,3]]
                 e   #  Get the number of permutations; short for ⌊a!/|a-b|!⌋
                     #   → [3,0,6,3,1,0,6,3,0,3,1,0,6]
                  è  # And index each into the earlier created string
                     # (0-based and with wraparound, so the 6 is index 2 in this case)
                     #  → [&quot;\&quot;,&quot;/&quot;,&quot;‾&quot;,&quot;\&quot;,&quot;_&quot;,&quot;/&quot;,&quot;‾&quot;,&quot;\&quot;,&quot;/&quot;,&quot;\&quot;,&quot;_&quot;,&quot;/&quot;,&quot;‾&quot;]
                     # (after which the result is output implicitly as result)

See this 05AB1E tip of mine (section How to compress large integer?) to understand why ŽW  is 8254.