pattern function
Cuts the text into horizontal slabs for one step of the pattern and writes their layers back to front: the hologram, the red and cyan layers, the sides of an extruded block, then the text itself on top.
import { pattern } from '@dioramajs/text/text-glitch'. Slabs left in place merge, and at level 0 it is the flat text in one layer.
function pattern(step: Step, out: Slabs): voidParameters
Defined in packages/text/src/text-glitch.ts.