One hatch, laid down in as many colours as the page asks for
One pattern that states no colour of its own, laid down in five colours and in five strengths of one press ink: the fill says what colour to lay it down in. Beside them, the same hatch made of patterns that carry their own colours, which is one pattern per colour.
A repeating pattern usually states its own colours, so a hatch in five colours is five patterns in the file. A pattern built without colour states none: it says only what shape repeats, and the colour comes from the fill that uses it.
The page lays one such pattern down in five colours and in five strengths of a single press ink, then shows the ordinary kind beside it so the cost is visible: one against five. On a hatched engineering drawing or a map filled with flat tints, that difference is the size of the file.
What this example shows
- A pattern that carries a shape but no colour.
- The colour supplied by the fill: one pattern serves them all.
- The coloured kind shown alongside, for the comparison.
The code, in full
The same document is written twice, once in each language. Both files are shown in full, with the code coloured on the server, and can be copied in one click.
The document itself
The same document is written in each of these languages. Open the one you want to look at.
Open the document in English
Open the document in French
Read the Rust source
Read the Python source