Sashiko

Mend & make

Text

Type

Colour

Ground

Ground

Motion

Plays

Checking your unlocks…

About this effect

Sashiko stitches your words into indigo cotton in hitomezashi, the "one stitch" sashiko of Japanese mending. Every row of the grid is a running stitch straight across and every column one straight down, and each begins either on a stitch or off one. That single choice per line is a bit, and here the bits are your own words in binary (seven to a letter, the rows reading them forward and the columns backward), so the crosses, steps and little ladders that appear where the lines meet are your words written in thread. The rows go in first in one thread, then the columns in a second. On a loop the bits move along by one and the pattern restitches itself in a wave. Move the pointer across the letters and every row and column it crosses flips, so the pattern rearranges as you go.

Every stitch is a short length of thread between two points of the grid, only where both ends sit well inside a letter, with a little shadow under it and the twist catching the light; the indigo is mottled the way vat-dyed cotton is. It is drawn on a canvas from the heading's own letters (font, size and line breaks are the page's), and the heading keeps your words for screen readers and search.

Grid sets how big the stitches are. Wide, heavy letters hold the most pattern; it suits craft, homeware, slow fashion, mending and anything made by hand.

Formats
React, HTML
No dependencies
Built with
Canvas, over real text
Default font Archivo
Plays
Loop, In view, Hover
Reduced motion
Respected
Shows the finished frame

Accessibility. One real heading, read once; the cloth and stitches are drawn on a canvas hidden from screen readers. Under reduced motion the pattern is stitched from the start and never restitches on its own; the pointer still flips the rows and columns it crosses.

Also known as sashiko text, hitomezashi text, stitched pattern text, japanese stitch text, running stitch text, visible mending text.

Use it in anything you build, client work included, no credit needed. Don’t republish or resell the effect itself.

More retro and print