truchet
Truchet repeat · 4 × 4 cells
16 cells contain 32 quarter-circle arcs. Every arc meets a cell-edge midpoint; the JSON records all 16 orientations.
What is in this study
| Construction | truchet |
|---|---|
| SVG dimensions | 96 × 96 |
| Geometric primitives | 32 |
| Colours | #430F42, #9E249C, #DB61D9, #F4CDF3 |
Dot tiles repeat a centred circle. The vertical offset between consecutive stripes divides the tile size exactly. Truchet arcs meet the midpoint of each cell edge, including the outer boundary. The SVG viewport clips each tile; the supplied CSS repeats it at its recorded dimensions.
The actual parameters
{
"tile_width": 96,
"tile_height": 96,
"columns": 4,
"rows": 4,
"cell_size": 24,
"stroke_width": 4,
"orientations": [
[
0,
0,
1,
0
],
[
1,
0,
0,
1
],
[
1,
1,
1,
1
],
[
1,
0,
0,
0
]
]
}The JSON download also records every geometric primitive and the SHA-256 of the SVG file.
Make a variation
Keep the SVG and CSS in the same directory and apply the study-pattern class to an element with a defined size. Edit fill and stroke values in the SVG to change its colours. When changing tile geometry, preserve the connections at opposite edges to keep the repeat continuous.
Keep the SVG and CSS in the same directory when using the background-image rule. The CSS also exports the colours as custom properties.