Julia set: Difference between revisions

Content added Content deleted
mNo edit summary
m (→‎{{header|Raku}}: work around concurrency problems with recent Raku)
Line 2,449: Line 2,449:


sub julia ( $png ) {
sub julia ( $png ) {
^$w .race.map: -> $x {
^$w .map: -> $x {
for ^$h -> $y {
for ^$h -> $y {
my $z = Complex.new(($x - $w / 2) / $w * 3, ($y - $h / 2) / $h * 2);
my $z = Complex.new(($x - $w / 2) / $w * 3, ($y - $h / 2) / $h * 2);