The TI-Nspire has some amazing capabilities for teaching and learning mathematics and science. I made the above by vertically translating a sinusoidal function. In other words, f1(x) is a sine curve and f2(x) and following are f1(x)+c, where c is an even positive or negative number until the 13 stripes were made. The animation was done by adding a slider. The x-value of the point on the slider was stored as d and assigned to the phase shift of the sine curve in f1(x), i.e. it became f1(x+d). This point was set in motion by right clicking to animate the point.
Happy Independence Day.