mandelgrok

mandelgrok is a visual exploration tool for the Mandelbrot set. But it isn’t like any other. Sure, it’ll render the Mandelbrot set and you can zoom in. But mandelgrok’s purpose is to show you the sequences that actually determine each coordinate’s membership within the Mandelbrot set:

zn+1 = zn2 + c (where z and c are complex numbers)

You form a sequence by choosing a value for c, setting z0 to zero, and computing the subsequent values of z. Some of those sequences plotted below. Each plot is for a different value of c, and the y-axis is the distance from c to zx.

Sequence 1

Sequence 2

Sequence 3

Sequence 4

Pretty, right? Mandelgrok started as an evening project to render those sequences - I had no idea what they might look like. But after seeing those beautiful things, I needed to see more. After the odd spare weekend, I have a tool that looks like this:

Mandelgrok screencap

Check it out right here or click the screencap above!

Built with Vanilla JS

mandelgrok is all vanilla JavaScript.* It’s just a couple of .js files and one .html file. I use three canvases and some CSS to make it look the way it does. Check out the code on mandelgrok’s GitHub page.

*Well, almost pure vanilla. I used JQuery.