Skip to main content

utils

Contains utility functions and classes used by the p5.asciify library.

Interfaces

InterfaceDescription
JSONExportOptionsOptions for JSON export.
SVGExportOptionsOptions for SVG export.

Functions

FunctionDescription
compareVersionsCompares two version strings like '1.8.0' and '1.11.3'.
detectP5VersionDetects the p5.js version from various possible sources across different environments.
isP5AsyncCapableChecks if the detected p5.js version supports async operations (Promise-based APIs).
isValidP5Color-
isValidP5Font-