Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.

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.