# mandelgrok

28 Apr 2016mandelgrok 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:

*z _{n+1} = z_{n}^{2} + c* (where

*z*and

*c*are complex numbers)

You form a sequence by choosing a value for *c*, setting *z _{0}* 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

*z*.

_{x}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:

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.