What problem does it solve?
This Skill provides a powerful tool for creating innovative text layouts and interactive demos, especially those involving ASCII art and typography, without relying on the DOM.
Core Features & Use Cases
- Text Measurement and Layout: Measure and layout text using canvas measurement, without the need for a DOM read.
- ASCII Art Effects: Generate ASCII art effects using real words or prose, not monospace rasters.
- Kinetic Typography: Create kinetic typography with per-glyph physics, including shatter, scatter, flock, and flow effects.
- Generative Art: Use text to create generative art, especially with non-Latin scripts or mixed scripts.
- Shrink-wrap UI: Design multiline "shrink-wrap" UI that adjusts to the text's tightest container.
- Use Case: Create a text-based game where the playfield is made of text, or a typographic animation that evolves over time.
Quick Start
Use the pretext skill to create a simple text-based game with ASCII obstacles.