Exponential Sum Plot Generator

An homage to John D. Cook's Exponential Sum of the Day

The plot shows the partial sums of the exponential sum:

Σ(n=0 to N) exp(2πi(n/m + n²/d + n³/y))

The real part of the sum is plotted on the x-axis, and the imaginary part of the sum is plotted on the y-axis.