Colour pinstripe/Display: Difference between revisions

From Rosetta Code
Content added Content deleted
({{omit from|ZX Spectrum Basic}})
(rewording)
Line 1: Line 1:
{{draft task}}
{{draft task}}


The task is to create 1 pixel wide colour pinstripes across the width of the graphics display. The pinstripes should alternate between each of the primary colours. Black and white pinstripes should be included. A typical pinstripe sequence woud be black, red, green, blue, magenta,cyan, yellow, white.
The task is to create 1 pixel wide colour pinstripes across the width of the graphics display. A basic of colours should be using including black, white and each of the primary colours.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.
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.

Revision as of 21:09, 22 May 2011

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. A basic of colours should be using including black, white and each of the primary colours.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.