A small tweak is all that is required to get the stripe effect similar to that of the toothpaste. All you need to do is to add a few drops of food coloring along the surface of the container.  This will form colored stripes on the foam created in the experiment, giving it a really cool effect!