Move your mouse over the Mandelbrot set to select the seed for the starting point for the Julia set on the bottom.
There are two canvases being drawn on by WebGL and my shaders, each calculating one of the two sets.
Drawing fractals in OpenGL/WebGL is surprisingly easy because of how shaders work. They basically call your function once per Pixel, and you just have to:
Here, I also optimize further by only re-drawing if anything changed.