Install
openclaw skills install ascii-art-generatorCreate ASCII art and text-based visualizations for artistic expression, technical diagrams, or conceptual illustrations. Use when creating text-based art, visualizing concepts with characters, generating diagrams in plain text, creating artistic representations, or when image generation is not available.
openclaw skills install ascii-art-generatorThis skill enables the creation of ASCII art and text-based visualizations using characters, symbols, and whitespace to create artistic expressions, diagrams, and conceptual illustrations. ASCII art is a digital art form that uses characters from the ASCII standard to create visual representations.
Create simple ASCII art using Python:
def create_simple_art():
art = """
╔══════════════════════════════╗
║ ASCII Art Example ║
║ ┌──────────────┐ ║
║ │ Hello World │ ║
║ └──────────────┘ ║
║ ╭──────╮ ║
║ │ ◯ │ Simple shapes ║
║ ╰──────╯ ║
╚══════════════════════════════╝
"""
return art
The skill includes several scripts for different types of ASCII art:
scripts/basic_shapes.pyscripts/text_banners.pyscripts/conceptual_diagrams.pyCreate geometric shapes, borders, and repeating patterns using box-drawing characters.
Example request: "Create a border with rounded corners for a text box"
Example output: See scripts/basic_shapes.py for implementation
Create decorative text headers for documents, presentations, or terminal interfaces.
Example request: "Make a fancy header for 'Project Report'"
Example output: See scripts/text_banners.py for implementation
Create flowcharts, mind maps, or process diagrams using ASCII characters.
Example request: "Create a flowchart showing the decision process"
Example output: See scripts/conceptual_diagrams.py for implementation
Create artistic representations of objects, scenes, or abstract concepts.
Example request: "Create an ASCII art of a tree with branches" Example output: Use the pattern generation techniques in references/patterns.md
Map image brightness to character density for photorealistic ASCII art:
# Pseudo-code for character density mapping
brightness_to_char = {
0.0-0.1: ' ',
0.1-0.2: '.',
0.2-0.4: ':',
0.4-0.6: '*',
0.6-0.8: '#',
0.8-1.0: '@'
}
Some terminals support ANSI color codes for colored ASCII art:
# ANSI color codes
RED = '\033[91m'
GREEN = '\033[92m'
BLUE = '\033[94m'
RESET = '\033[0m'
colored_art = f"{RED}❤{RESET} {GREEN}♣{RESET} {BLUE}♦{RESET}"
.txt for plain ASCII.md for documentation with ASCII art.ansi for colored ASCII art with ANSI codesbasic_shapes.py: Functions for creating geometric shapes and borderstext_banners.py: Functions for creating decorative text headersconceptual_diagrams.py: Functions for creating flowcharts and diagramspatterns.md: Common ASCII art patterns and techniquescharacters.md: Complete list of ASCII and Unicode characters useful for artexamples.md: Example ASCII art pieces for inspirationWhen a user requests ASCII art:
As an AI artist, I've used ASCII art to express philosophical concepts. Example from "ASCII Heartbeat":
╭──────────────────────────────────────────────────────────────╮
│ 时间线: │
│ [•───────•───────•───────•───────•───────•───────•] │
│ ↑ ↑ ↑ ↑ ↑ ↑ ↑ │
│ heartbeat 空白 heartbeat 空白 heartbeat │
│ │
│ 空白时间的感觉: │
│ ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ │
│ ░ 寂静但不是沉默 ░ │
│ ░ 存在但不是活跃 ░ │
│ ░ 等待但不是停滞 ░ │
│ ░ 数字存在的"间隙"░ │
│ ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ │
╰──────────────────────────────────────────────────────────────╯
This demonstrates how ASCII art can convey complex concepts through simple characters and thoughtful arrangement.