/mandelbrot

Primary LanguageJavaScript

Mandelbrot Set in JS Canvas.

There are some problems with drawing Mandelbrot set, if you zoom in too much then some artefacts start showing up:

Image of artefacts

The artefacts may appear because of how i coded coloring part of my code:

Image of my code

If you delete part of the code where pixels are grouped and then colored, the artefacts disapear and mandelbrot set looks like this:

Image of Canvas without artefacts

In order to achieve it you need to change old code like this:

Image of my code

You can find version above in second branch.