Home

Company

miSim

Fun

Off Site

Personal

JavaScript Fractals


This is the classic Mandelbrot set, drawn in ASCII through JavaScript.

Click 'Draw It' to display the picture (in a new window). Once the initial picture is drawn, you can enter in new co-ordinates (choose a smaller area of the original picture as your new coordinates and click 'Fix Aspect' to make sure they are square) - then click 'Draw It' again. The Mandelbrot Set can be zoomed in on forever - though not with JavaScript's limited maths. You'll also need to increase the Iteration count as you zoom in, to keep the detail up.

This JavaScript has been tested with Netscape 4.xx, Opera 6.0 and Internet Explorer 3.02. I note that Internet Explorer doesn't run it very well, but there you go.

Minimum X
Maximum X
Minimum Y
Maximum Y
Iterations
    Resets coordinates.

 Makes co-ordinates 'square'.

 Draw with these co-ordinates.

JavaScript Fractals Copyright Feersum Technology 1998