How to use functions and polygons to create a stripe pattern

I’ll add another possible solution. Although it’s not infinite stripes, it does use the polygon tool and lists. I had these functions saved to make custom bar graphs, but it works in this case too.