curves for the mathematically curious