cslarsen / mandelbrot-js

Fast rendering of the Mandelbrot set in HTML5 canvas using JavaScript
https://csl.name/mandelbrot/
351 stars 77 forks source link

Falsely commented #4

Closed tyalie closed 6 years ago

tyalie commented 6 years ago

https://github.com/cslarsen/mandelbrot-js/blob/08cb05b4faaba6beb3298b52b6b340e36c3ff526/mandelbrot.js#L90

Sorry. But the formula in this line is wrong. It should be z_{n+1} = z_{n}^2 + c

cslarsen commented 6 years ago

Thanks, you are right!

cslarsen commented 6 years ago

Fixed on master

tyalie commented 6 years ago

You're welcome