pretext

Measure and layout text around shapes using the @chenglou/pretext library.

Updated Jul 8, 2026
One-click install
npx skills add https://github.com/FlyFireF/PersonalAgentAPP --skill pretext-flyfiref
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pretext
Source: https://github.com/FlyFireF/PersonalAgentAPP/tree/main/growth-companion/skills/creative/pretext
Command: npx skills add https://github.com/FlyFireF/PersonalAgentAPP --skill pretext-flyfiref

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @chenglou/pretext, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill empowers users to craft unique and visually captivating text layouts, ASCII art, and generative text-based visuals without the need for complex design tools.

Core Features & Use Cases

  • Text Layout: Design and animate text layouts around shapes and objects with precision.
  • Generative Art: Utilize text as a creative element in generative and dynamic visuals.
  • Use Case: Imagine you want to create an interactive text-based animation for your website. This Skill can help you achieve that by allowing you to design and animate text around a moving orb or other shapes.

Quick Start

Use the pretext skill to create a text flow around an orb by providing the desired text and adjusting the orb's position.

Frequently Asked Questions about pretext

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create generative text layouts around shapes on a canvas?

Yes, you can generate dynamic ASCII art by leveraging advanced text measurement and layout capabilities to map characters precisely. This Skill supports creating intricate text-based visuals and animations for generative art projects.

What is the best way to animate text around a moving object for a website?

The best way to animate text around a moving object is to use advanced text layout capabilities that dynamically adjust text positioning. This enables the creation of interactive text-based animations reacting to shape movements.

Do I need the @chenglou/pretext library to build interactive typography games?

Yes, building interactive typography games requires the @chenglou/pretext library as a dependency. It provides the necessary text measurement and rendering options to support various interaction methods.

Can I design ASCII art without needing complex graphic design tools?

Yes, you can design ASCII art directly without complex graphic design tools by using advanced text layout capabilities. This Skill enables you to craft visually captivating text-based visuals purely through code.

Does this text layout approach support custom rendering options for generative art?

Yes, the text layout approach supports various custom rendering options and interaction methods optimized for generative art. This allows users to utilize text as a dynamic creative element in their visuals.