Foreshortening: Negative space
As we draw this curve, we will want to take foreshortening into consideration as we lay out its path - specifically how foreshortening applies to the "negative space" - that is, the gaps between the zigzagging areas.
As shown in this diagram, the gap closer to the viewer will be wider, but as we look farther back, it will get compressed. This can even be taken to the point of having those zigzagging sections overlap one another, which some students may feel hesitant to allow. I assure you - it's not wrong to have them overlap, it is very much the logical conclusion of those gaps compressing as far as they can.
While initially it's best to start with a simple S curve, once you get the hang of that, you can play with the arrow's path zigzagging multiple times, resulting in more gaps across which to spread that compression of space.