Colour pinstripe/Display

From Rosetta Code
Revision as of 08:35, 22 May 2011 by rosettacode>Markhobley (initial content)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Colour pinstripe/Display is a draft programming task. It is not yet considered ready to be promoted as a complete task, for reasons that should be found in its talk page.

The task is to create 1 pixel wide colour pinstripes across the width of the graphics display. The pinstripes should alternate between each the primary colours black and white pinstripes should be included. A typical pinstripe sequence woud be black, red, green, blue, magenta,cyan, yellow, white.

After filling the top quarter of the, we switch to a wider 2 pixel wide pinstripe pattern. Halfway down the display we switch to 3 pixel wide pinstripe and then finally to a 4 pixels wide pinstripe for the last quarter of the display.