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.
![[Graphics:mandelgr8.gif]](mandelgr8.gif)
The same plot, but with the compiled version. Note the speed difference.
![[Graphics:mandelgr11.gif]](mandelgr11.gif)
A 3D plot over the complex plane, using the compiled version:
![[Graphics:mandelgr14.gif]](mandelgr14.gif)
A view from underneath:
![[Graphics:mandelgr17.gif]](mandelgr17.gif)
The "normal" contour plot view:
![[Graphics:mandelgr20.gif]](mandelgr20.gif)