Mandelbrot set: Difference between revisions
Content added Content deleted
m (→{{header|UNIX Shell}}: expand) |
m (→{{header|Raku}}: use "raku" for syntax highlight) |
||
Line 11,464: | Line 11,464: | ||
[[File:mandelbrot-raku.jpg|300px|thumb|right]] |
[[File:mandelbrot-raku.jpg|300px|thumb|right]] |
||
<syntaxhighlight lang=" |
<syntaxhighlight lang="raku">constant MAX-ITERATIONS = 1000; |
||
my $width = +(@*ARGS[0] // 800); |
my $width = +(@*ARGS[0] // 800); |
||
my $height = $width + $width %% 2; |
my $height = $width + $width %% 2; |