This is the second variation of the JS-PY interface (standard edition). It is constructed to fit a specific script on the server, and has a separate input field for each argument. Unlike the first variation, this one loads an image result from the script. Less visibly, it also differs from the first variation because it uses form tags to POST input data to the server implicitly, instead of using JavaScript to construct the querystring for a GET request. The form is still submitted using an AJAX request.

Since the script does image processing, which takes a human-noticeable amount of time, it also includes a status icon for when the AJAX response is pending, loaded, or failed. Check it!

Associated files:

A more advanced version of this interface concept is available here. It includes color-picking controls (HTML5 <color>) as well as a file upload for specifying an image to overlay a Mandelbrot onto. (Note to self: remember to check .png and do other security stuff merp)



Mandelbrot Generator

Supply some dimensions and hit run to see a totally cool Mandelbrot set visualization! While the AJAX request is pending, a loading icon should appear next to the Run button. Once the response is loading, it should change to a checkmark and the image should appear in a new window. You may need to disable your pop-up blocker if it doesn't!

Fractal viewing range

The default values of [-2,1],[-1,1] will show you the whole of the main Mandelbrot fractal



Image width is calculated from height and aspect ratio above. Images with a height of greater than 1200 or width of greater than 1800 pixels will not be generated.


The number of iterations to attempt before assuming that a value is in the Mandelbrot set. Integer values only, maximum of 100.

Run