Implementations of curve algorithms for learning purposes.