utils
Contains utility functions and classes used by the p5.asciify library.
Interfaces
| Interface | Description |
|---|---|
| JSONExportOptions | Options for JSON export. |
| SVGExportOptions | Options for SVG export. |
Functions
| Function | Description |
|---|---|
| compareVersions | Compares two version strings like '1.8.0' and '1.11.3'. |
| detectP5Version | Detects the p5.js version from various possible sources across different environments. |
| isP5AsyncCapable | Checks if the detected p5.js version supports async operations (Promise-based APIs). |
| isValidP5Color | - |
| isValidP5Font | - |