A foam machine can be cheap to build ... For foam fluid, most DIY builds recommend a 2% mixture of soapy water. This author found success by mixing 5 litres of dishwashing liquid with 250 liters ...
There’s no video of this project so if you want to see it in action this other diy foam cannon will have to do.