JavaScript implementation of Buddhabrot, a Mandelbrot variation