Foam Density Control