# HTML5 Mandelbrot set & Julia sets

Max.Iteration:

Bailout value:

Multithreading:

Coloring Procedural

Red multiplier:
Green multiplier:
Blue multiplier:
/100 Animation

VGA B&W Nice

Anti-aliasing

- Presets
  - Starting
  - Mandel1
  - Mandel2
  - Mandel3
  - Mandel4
  - Julia1
  - Julia2
- PNG Output

!
!
Preset name:

! Important !

In order multithreading to work on local machine file: protocol under Google Chrome/Opera Next

you have to set --allow-file-access-from-files !

Information:

Left Mb:zoom in area, Ctrl+Left Mb:zoom out area, Right Mb:move, Wheel:fine zoom in/out.

Left Mb click:switch between the Mandelbrot set and the corresponding Julia sets.

One finger move: zoom in area, Ctrl+One finger move: zoom out area, Two finger move: move.

One finger tap: switch between the Mandelbrot set and the corresponding Julia sets.

You can mirror the image by using area zoom from reverse directions.

Notice: Animation works best with palette based coloring (i.e. VGA/B&W/Nice). Try it e.g. with Julia1 preset.
Anti-aliasing makes 4x bigger images so it can be slow. Anti-aliasing also makes PNG output 4x size.
Tip: You can try to set your browser's zoom level to 200% (and optionally make it fullscreen by pressing F11).
At 200% zoom level Anti-aliasing mode runs at the native canvas resolution (without scaling).

This is only a HTML5 canvas demonstration. For a full featured Mandelbrot / Julia set generator download MandelX .
Contrary to native programs javascripts can't detect hardware and can't determine the number of your CPU cores. So this application can only detect if your browser supports web workers and set the multithreading option accordingly. But if you have only one CPU core the enabled multithreading will be slower for you because of threads overhead. In this case you should disable it, but the performance penalty on IE10, Chrome or Firefox is negligible. Opera up to 12.x implements web workers in one thread, so in case of older Opera multithreading should always be disabled regardless of its web workers support. Some Chrome and video driver combinations cause dramatic slowdown if GPU accelerated 2d canvas is enabled. Try to disable this option on the about:flags configuration page.
Ps: Saved custom presets use your browser's local storage.

HTML5 Mandelbrot set & Julia sets by Zoltán Bacskó (Falcosoft) is licensed under a

Creative Commons Attribution-ShareAlike 4.0 International License .

If you find this software useful, please consider donation.