March 2014 update
This commit is contained in:
parent
09687c4926
commit
a25938f123
1846 changed files with 21876 additions and 5203 deletions
|
|
@ -7,7 +7,7 @@ sub MAIN ($filename = 'default.ppm') {
|
|||
$out.say("P6\n$width $height\n255");
|
||||
|
||||
for ^$height X ^$width -> $r, $g {
|
||||
$out.printf("%c%c%c", $r*2, $g*2, 255-$r*2);
|
||||
$out.write(Buf.new($r*2,$g*2,255-$r*2));
|
||||
}
|
||||
$out.close;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue