stack-type
Stack type
One line of capitals stacked nine deep on a drum, every letter draining to the one solid row on its own beat while the outlined echoes scramble. See it live at https://design.how/vault/stack-type.
What to build
One line of capitals is set nine times, one row under the next, on a 1200 by 675 scene, 16:9, scaled to the box as one unit. It is set at medium weight with caps 58 scene pixels tall and rows 67.625 apart, the middle row centred. Then the whole stack is scaled about its middle row until the line's ink runs to 24 pixels from each side, or until the outer rows come within 16 pixels of the top and foot, whichever is first.
Every letter is its own column, and a column is always one unbroken run of rows. Its top steps down a row four times and its foot steps up a row four times, each on its own 40ms key, until only the middle row is left. Steps fall two to four keys apart, a little slower as the column closes, and each column starts between key 1 and key 11, so the stack drains unevenly from both ends. It holds as one line, then each end steps back out four times, on nearly the same keys mirrored about key 24.5, and the loop closes on the full stack after 48 keys, 1.92 seconds.
A step is a whole row, all at once, and nothing in the columns moves between keys. There are twenty tracks, one per letter in reading order, cycling for a longer line, and spaces take room but no column, so any text works.
Three treatments mark the middle row as the real one. The rows wrap a still drum seen front on, 0.28 radians a row apart, so they close up, flatten, fade by up to 45% and narrow by up to 35% toward the rim, with the solid row centred. The drum never turns, so the only motion is the beat. Every row but the middle is a 1.6 pixel stroke. A cell away from the middle may show another capital, more often the further out it is (85% on the outer rows), picked by a hash of its column, row and beat so it holds for 240ms, and squeezed to the width of the letter it stands in for.
The pattern rotates. At every hold, when every column is one row, each letter moves seven places along the twenty tracks, so twenty loops pass before one drains like another. Given several phrases, the line changes at the same moment, key 24, so each refill grows out of the next phrase and its colours.