Digital Foam Generator