Pages

Wednesday, May 2, 2018

Mandelbrot Set (Variable z0) JavaScript Simulation Applet HTML5

This is one of the multiple variations of the Mandelbrot Set simulation. There is one main difference between this Mandelbrot Set and the Julia Set simulation - that the initial z-value can be varied.

The standard Mandelbrot Set follows this algorithm:

{\displaystyle z_{n+1}=z_{n}^{2}+c},

where z(0) is fixed at z = 0.

This simulation (link here), however, allows the user to vary the value of z(0) by either moving the white dot on the panel or by using the field provided.

Original Mandelbrot Set with z(0) = 0
Mandelbrot Set with z(0) = -1
As with the other Mandelbrot Set simulations, zooming is enabled. Simply click and hold the mouse until the coordinates appear at the bottom left of the screen, and drag diagonally southeast. Give it some time to recalculate, and you get a zoomed-in version of the Mandelbrot in its full majestic (not!) detail.

Like this:

Or this:

No comments:

Post a Comment