This is the code for my bachelor thesis.
It's an implementation of the Loosely Connected Particles (LCP) method of hair animation proposed by Bando et al. I added the Deep Opacity Maps method of hair shadowing on the LCP and introduced alpha thresholding to eliminate artifacts.