@motion-script/core / AsciiOptions
Interface: AsciiOptions
Defined in: attributes/shape/effects/chain.ts:338
ASCII art from a glyph grid. Scalar shorthand sets size.
Extends
Properties
background?
optionalbackground?:Color
Defined in: attributes/shape/effects/chain.ts:348
Colour behind the glyphs (default 'black'; use 'transparent' to overlay).
charset?
optionalcharset?:string
Defined in: attributes/shape/effects/chain.ts:342
A named ramp, or a custom string ordered most-ink-first (default 'standard').
colored?
optionalcolored?:boolean
Defined in: attributes/shape/effects/chain.ts:350
Tint each glyph with its own cell's colour instead of using ink (default false).
fontFamily?
optionalfontFamily?:string
Defined in: attributes/shape/effects/chain.ts:344
Family the glyphs are baked in; a monospace face reads best (default 'monospace').
ink?
optionalink?:Color
Defined in: attributes/shape/effects/chain.ts:346
Glyph colour when colored is false (default 'white').
mode?
optionalmode?:EffectMode
Defined in: attributes/shape/effects/effect-data.ts:83
Inherited from
EffectOptions.mode
size?
optionalsize?:number
Defined in: attributes/shape/effects/chain.ts:340
Cell size in pixels — the width of one character (default 12).