Skip to content

Commit

Permalink
Max value should be 255.
Browse files Browse the repository at this point in the history
  • Loading branch information
colomon committed Apr 20, 2010
1 parent ca44ce5 commit 93318a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mandelbrot-color.pl
Expand Up @@ -246,7 +246,7 @@ ($low, $high, $count)


say "P3"; say "P3";
say "$width $height"; say "$width $height";
say $max_iterations; say "255";


for subdivide($upper-right.re, $lower-left.re, $height) -> $re { for subdivide($upper-right.re, $lower-left.re, $height) -> $re {
my @line = subdivide($re + ($upper-right.im)i, $re + 0i, ($width + 1) / 2).map({ mandel($_) }); my @line = subdivide($re + ($upper-right.im)i, $re + 0i, ($width + 1) / 2).map({ mandel($_) });
Expand Down

0 comments on commit 93318a2

Please sign in to comment.