Skip to content

Commit

Permalink
Reduced artifacts for higher order equations by tweaking TIA bailout.…
Browse files Browse the repository at this point in the history
… Need to come up with a more elegant solution.
  • Loading branch information
dbyrne committed Mar 25, 2010
1 parent b5e7f65 commit c5d139a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions native-src/FractalMath/FractalMath.c
Expand Up @@ -337,8 +337,8 @@ JNIEXPORT jintArray JNICALL Java_byrne_fractal_NativeLib_getFractalRow
}
}
} else if (alg == 7) {
if (xsq + ysq > 100000000) {
mu = (log(log(10000)) - log(log(sqrt(xsq + ysq))))/log(power) + 1;
if (xsq + ysq > 250000) {
mu = (log(log(500)) - log(log(sqrt(xsq + ysq))))/log(power) + 1;
lessThanMax = 1;
break;
}
Expand Down

0 comments on commit c5d139a

Please sign in to comment.