Truchet
Redraw a layer as a weave of curved or diagonal tiles, with heavier lines where the layer is brighter.
- Where
- Inspector, Effects section, + menu, Stylize
Truchet redraws the layer as a grid of square tiles. Each tile holds two quarter-circle arcs or one diagonal line, turned one of two ways at random, and the lines join up across the tiles into one continuous weave. The lines take the layer’s own colors and grow thicker where the layer is brighter, so a photo, a video or a headline stays recognizable in the pattern. Only the lines are drawn, and the space between them is transparent. It’s in the + menu under Stylize and needs WebGPU.
- Truchet on a video: lines swell in the light
Settings
Arcs draws two quarter circles in each tile, joining the midpoints of neighboring edges, and the arcs link up into curves, rings and S-bends. Diagonals draws one line from corner to corner in each tile, and the lines join into a maze of zigzags.
The width of one tile. The grid is fixed to the layer, so it moves and rotates with it.
How thick the lines are where the layer is brightest, as a share of Size. Darker areas get thinner lines, down to a fifth of this in black, and lines too thin to draw fade out. Where the layer is transparent, there are no lines. At high values, neighboring lines merge.
Own colors draws each line in the layer’s color at that point. Solid draws every line in the color you pick in the color field that appears below.
The line weight follows a softened version of the layer, blurred over about half a tile, so a line thickens and thins smoothly along its length instead of with every detail of the picture. Detail smaller than a tile is lost, so lower Size to keep more of it.
Text and shapes
On text or a shape, the tiles are drawn only inside the letters or the shape, and the lines thin out toward the edges. Keep Size well under the stroke width of the type, and Weight around 15 to 25%, so each letter holds several tiles.
- Style: Arcs
- Style: Diagonals
- Color: One color
Combining with other features
- Stack order. Truchet acts on the result of the rows above it. Color adjust or Color remap above it change the colors of the lines and, through brightness, their thickness. Glow below it lights the lines.
- Video. The weave keeps up with the video, so the lines thicken and thin as it plays. The tiles themselves stay in place.
- Group. The tiles cover the whole group as a single picture.
- Animation. Truchet has no Speed. Moving or rotating the layer moves the tiles with it, and the pattern changes only where the picture under it changes.
- Pan and zoom. The whole layer is drawn at twice the slide’s resolution or more, so the lines stay sharp at any zoom and don’t shift when you pan.
Example
A white heading on a dark slide. Add Truchet with Size 28 px and Weight 18%, and set Color to Solid with a saturated green. Then add Glow. It goes below Truchet in the stack, so it lights up the lines.
Limitations
- In a browser without WebGPU, the layer is drawn without the effect.
- The lines are drawn only inside the layer’s bounds.
- You can’t change the random arrangement of the tiles.