Fractal program drawing types

Mandelbrot set

Description

Draws the Mandelbrot set.

Options

Notes

Since the Mandelbrot set is an index set for Julia sets, the index set controls work here.

Julia sets

Description

Draws Julia sets.

Options

Plot function

Description

Plots the graphs of functions.

Options

Variables

The only variable is x.

Contour plot

Description

The color of each point is given by the function. It is a way to graph z=f(x,y), where the height, z, is indicated by the color.

Options

Variables

The variables should always be x and y.

Formula fractal

Description

This iterates a complex function and stops when the iterates appear to converge to a point or infinity or, failing that, it stops when a certain fixed number of iterations have been done. It determines if they are converging by checking if the difference between the current iteration and the previous one is less than a specified tolerance. This is the index set part. It plays a similar role to the role that the Mandelbrot set plays to Julia sets.

Options

Variables

The variable is z. The real part of z is x, and the imaginary part is y. The index set parameter is c.

Notes

See the section (link) on index set controls. What's written here probably won't make a lot of sense without the mathematics (link) behind what we're doing.

Formula fractalJ

Description

This iterates a complex function and stops when the iterates appear to converge to a point or infinity or, failing that, it stops when a certain fixed number of iterations have been done. It determines if they are converging by checking if the difference between the current iteration and the previous one is less than a specified tolerance. This goes hand in hand with Formula fractal.

Options

Variables

The variable is z. The real part of z is x, and the imaginary part is y. The index set parameter is c.

Notes

See the section (link) on index set controls. What's written here probably won't make a lot of sense without the mathematics (link) behind what we're doing.

Parametric plot

Description

Plots a 2d parametric curve. The curve is given by x=f(t), y=g(t) for some functions f and g.

Options

Variables

The only variable is t.

Implicit plot

Description

Plots an implicit equation. All terms of the equation should be on one side. For example, to plot a circle of radius 3, the formula should be x^2-y^2-9.

Options

Variables

The variables are x and y.

Parametric plot 3d

Description

Plots a 3d parametric curve. The curve is given by x=f(t), y=g(t), z=h(t) for some functions f and g, h.

Options

Variables

The only variable is t. Use the 8, 9, 0 keys to rotate the image. Shift + 8, 9, or 0 rotates backwards.

Polar contour plot

Description

This is the same as contour plot, but the equation is given in polar. The color of each point is given by the function. It is a way to graph z=f(r,t), where the height, z, is indicated by the color.

Options

Variables

The variables should always be r and t, (where t stands for theta).

Parametric surface

Description

Plots a 3d parametric surface. The curve is given by x=f(u,v), y=g(u,v), z=h(u,v) for some functions f and g, h.

Options

Variables

The variables are u and v. Use the 8, 9, 0 keys to rotate the image. Shift + 8, 9, or 0 rotates backwards.

Notes

The implementation of this is not great. There are some bugs that need to be worked out, and it should do hidden surface removal, but right now doesn't. You can use this to get a 3d plot of an ordinary function f(x,y) of 2 variables by setting x=u, y=v, and z=f(u,v).

Plot polar function

Description

Plots the graphs of polar functions.

Options

Variables

The only variable is t (stands for theta).

Polar implicit plot

Description

Plots an implicit equation given in polar coordinates. All terms of the equation should be on one side.

Options

Variables

The variables are r and t (stands for theta). Note that t is always between -π and π, so the results from this and plot polar function might not look the same.