Project 0111

by Jackie X


People are collecting fabric to make (non-medical grade) face masks, but the fabric remnants and masks come in many sizes. I made a program to take in the fabric and pattern dimensions and return the number of mask pattern pieces (rectangles) one can cut in either landscape or portrait orientation. Thanks to Ben W. for helping me fix issues.