This is a CoffeeScript implementation of the straight-skeleton method for the fold-and-cut problem, written by Danielle Wang as a final project for 6.849: Geometric Folding Algorithms in Spring 2017.
See also the accompanying project paper, “An Interactive Fold-and-Cut Editor”.