Curve Library Modeling