application to generate perforation patterns