The cloth gets sprayed with soap by the sprinklers and the air from the fan then blows the bubbles. There’s no video of this project so if you want to see it in action this other diy foam ...
Some results have been hidden because they may be inaccessible to you