Clear the system:
Load the color definitions:
The generating function:
Function to calculate the convergence of the generating formula (the output is negative for purely asthetic reasons):
This is a compiled version of the generating function that can be used when computational speed is an issue, at the cost of reduced flexibility:
Plot the function vs x at various y values, first for the uncompiled version. The calculation time is also shown.
The same plot, but with the compiled version. Note the speed difference.
A 3D plot over the complex plane, using the compiled version:
A view from underneath:
The "normal" contour plot view: