diff -r 7a9cc14d0912 -r 839ad118e467 progs/mandelbrot.scala --- a/progs/mandelbrot.scala Sun Jan 31 03:28:20 2021 +0000 +++ b/progs/mandelbrot.scala Fri Jul 16 23:34:19 2021 +0100 @@ -158,10 +158,10 @@ val delta = (exc2 - exc1) * 0.0333 -println(s"${time_needed( - for (n <- (0 to 12)) - mandelbrot(exc1 + delta * n, - exc2 - delta * n, 100))} secs") +//println(s"${time_needed( +// for (n <- (0 to 12)) +// mandelbrot(exc1 + delta * n, +// exc2 - delta * n, 100))} secs") @@ -177,3 +177,10 @@ val exj2 = 0.11084 - 0.64075 * i //time_needed(mandelbrot(exj1, exj2, 1000)) + + +// another example +val exA = 0.3439274 + 0.6516478 * i +val exB = 0.3654477 + 0.6301795 * i + +//time_needed(mandelbrot(exA, exB, 1000))