Mandlebrot Set
26 Nov 2019
The Mandelbrot set is a famous example of a fractal in mathematics. It is named after Benoît Mandelbrot, a Polish-French-American mathematician. The Mandelbrot set is important for the chaos theory. The edging of the set shows a self-similarity, which is not perfect because it has deformations.
The Mandelbrot set can be explained with the equation Zn+1 = Zn2 + C. In that equation, C and Z are complex numbers and n is zero or a positive integer (natural number). Starting with Z0 = 0, C is in the Mandelbrot set if the absolute value of Zn never becomes larger than a certain number (that number depends on C), no matter how large n gets.
Sorry, your browser does not support Canvas.
Variable Range Value
Iterations 2 - 1000
Threshold 5 - 50

A detailed of sets, Julia Sets and the Mandlebrot Set can be found in the Set Demonstration experiment.

1. mandlebrot.js - Download, index.html
//Code goes here

Javascript Demos

Here's a bunch of javascript... things I wrote over the years whenever time permitted.