Plasma effect: Difference between revisions
m
→{{header|Perl 6}}: Make it racy
(→{{header|Go}}: Added code to create GIF file directly from program.) |
Thundergnat (talk | contribs) m (→{{header|Perl 6}}: Make it racy) |
||
Line 1,103:
sub plasma ($png) {
for ^$h -> $y {
my $hue = 4 + sin($x / 19) + sin($y / 9) + sin(($x + $y) / 25) + sin(sqrt($x² + $y²) / 8);
|