Compare commits
1 Commits
Author | SHA1 | Date |
---|---|---|
romanschenk37 | e87cc8212b |
|
@ -138,6 +138,7 @@ public class MandelbrotCallableProcessor extends MandelbrotProcessor {
|
||||||
// select color based on count of iterations
|
// select color based on count of iterations
|
||||||
imageRow.pixels[col] = (count != maxIterations) ?
|
imageRow.pixels[col] = (count != maxIterations) ?
|
||||||
palette[count % palette.length] : Color.BLACK;
|
palette[count % palette.length] : Color.BLACK;
|
||||||
|
|
||||||
}
|
}
|
||||||
return imageRow;
|
return imageRow;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue