Mandelbrot Fractal is a pure JavaScript fractal explorer

Fractal-768x432

Mandelbrot Fractal is an open-source fractal generator with a difference: its spectacular images are produced using pure JavaScript, no external libraries or other oddball dependencies involved.

This makes for a very simple structure, essentially just an index.html with a supporting app.css and two .js files.

The controls are straightforward, too, working much like any other Mandelbrot explorer you’ve ever used: click Launch to generate the starting image, then click any point on the screen to zoom in and redraw.

If you’ve found something interesting, right-clicking displays an option to save the current view as an image.

There are also hotkeys to reset the starting view, or close the program entirely.

Check out the code and you’ll find the package is smarter than it looks, for example detecting and adapting its controls to a touch interface.

This is still a very basic fractal explorer, of course, but it looks good, is easy to use, and you can freely amend and use it on your own website (check out the online version here).

Mandelbrot Fractal is an open-source application which should run in any modern browser on any platform.

Comments are closed.

© 1998-2024 BetaNews, Inc. All Rights Reserved. Privacy Policy - Cookie Policy.