⚠️ p5.asciify is no longer being actively maintained. Check out textmode.js - a new, independent creative coding library for real-time ASCII/textmode graphics. (also works with p5.js!)
The drawing mode for ASCII characters ('fill', 'stroke', or 'text'). When set to 'fill', characters are rendered as filled shapes. When set to 'stroke', characters are rendered as outlines. When set to 'text', characters are rendered as text elements using 'monospaced' font. Default is 'fill'.
utils/export/SVGExporter.ts:31
filename?
string
The filename to save the SVG file as. If not provided, a default filename is used.
utils/export/SVGExporter.ts:15
includeBackgroundRectangles?
boolean
Whether to include cell background rectangles in the SVG output. When false, only the character paths are included, creating a more compact SVG. Default is true.
utils/export/SVGExporter.ts:22
strokeWidth?
number
The stroke width to use when drawMode is set to 'stroke'. Default is 1.0.