Anonymous user
Colour bars/Display: Difference between revisions
→{{header|Perl 6}}: the arguments to the Buf constructor needs to be flattened for this to work.
(ActionScript implementation) |
(→{{header|Perl 6}}: the arguments to the Buf constructor needs to be flattened for this to work.) |
||
Line 650:
my $VERT = 720;
my @colors = map -> $r, $g, $b { Buf.new: |(($r, $g, $b) xx $HOR div 8) },
0, 0, 0,
255, 0, 0,
|