1. Draw an initial path.
  2. Determine how many pieces you want and what percentage of the full path each piece should account for. (Here we're using 20 pieces of random sizes.)
  3. Get the location of each section's points along the overall path.
  4. Use those points to draw a new path for each section.