diff options
Diffstat (limited to 'pammosaicknit.html')
-rw-r--r-- | pammosaicknit.html | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/pammosaicknit.html b/pammosaicknit.html index d258b1c0..6907c3e2 100644 --- a/pammosaicknit.html +++ b/pammosaicknit.html @@ -32,15 +32,15 @@ knitting patterns</a>. The program inputs a black-and-white Netpbm image that describes a mosaic knitting pattern and outputs a color Netpbm image of the same pattern but with invalid runs shown in red.</p> -<p>A valid knitting pattern starts with a "black" row on the -bottom and alternates "white" and "black" -rows. A "black" row can contain any arrangement of black pixels -but no more than three consecutive white pixels. A "white" row +<p>A valid knitting pattern starts with a "black" row on the +bottom and alternates "white" and "black" +rows. A "black" row can contain any arrangement of black pixels +but no more than three consecutive white pixels. A "white" row can contain any arrangement of white pixels but no more than three -consecutive black pixels. Columns wrap horizontally, so a "white" +consecutive black pixels. Columns wrap horizontally, so a "white" row that both begins and ends with two black pixels is deemed to contain four consecutive black pixels. Because this is an invalid -number for a "white" row, those four pixels will be recolored red +number for a "white" row, those four pixels will be recolored red in the output image.</p> <p>For clarity, there are two shades of red in the output image. Dark |