Karuna Sangam

Mandelbrot Set

Some python and javascript code generating the Mandelbrot set and \( z^2 + c \) Julia sets.

Python

Javascript

The following is a Javascript program that will generate a Mandelbrot set when you press the button labeled "Draw Mandelbrot set!"


The following is a Javascript program that will generate a Julia set with c given by the specified real and imaginary parts when you press the button labeled "Draw Julia set!"

Real:
Imaginary: