Legendre polynomial curve