# ASCII Gradient Art / ASCII 渐变艺术字
[English](#english) | [中文](#中文)
---
## English
### 🎨 Overview
ASCII Gradient Art is a powerful command-line tool that generates beautiful ASCII art with customizable gradient colors and animations. Transform any text into stunning visual art with various fonts, color themes, and rendering modes.
### ✨ Features
- **Multiple Font Styles**: Support for various ASCII art fonts (standard, slant, big, etc.)
- **Rich Color Themes**: 14 built-in color themes including rainbow, ocean, fire, neon, and more
- **Gradient Directions**: Horizontal, vertical, and diagonal gradient effects
- **Rendering Modes**: Choose between outline and fill rendering styles
- **Animation Support**: Create animated ASCII art with customizable frame rates
- **File Output**: Save your creations to files
- **Easy CLI Interface**: Simple command-line interface for quick generation
### 🚀 Installation
#### Prerequisites
- Python 3.6 or higher
- pip package manager
#### Install from PyPI (Recommended)
```bash
pip install ascii-gradient-art
```
#### Install from source
```bash
git clone https://github.com/crazyZSShuo/ascii-gradient-art.git
cd ascii-gradient-art
pip install -e .
```
### 📖 Usage
#### Basic Usage
```bash
ascii-gradient-art --text "Hello World"
```
#### Advanced Examples
**Custom font and color theme:**
```bash
ascii-gradient-art --text "AWESOME" --font slant --color-theme fire
```
**Vertical gradient with fill mode:**
```bash
ascii-gradient-art --text "COOL" --gradient-direction vertical --render-mode fill
```
**Animated ASCII art:**
```bash
ascii-gradient-art --text "DANCE" --animation-frames 20 --animation-delay 0.1
```
**Save to file:**
```bash
ascii-gradient-art --text "SAVE ME" --output-file output.txt
```
#### Command Line Options
| Option | Description | Default | Choices |
|--------|-------------|---------|---------|
| `--text` | Text to convert to ASCII art | Required | - |
| `--font` | Font style for ASCII art | `standard` | Any pyfiglet font |
| `--color-theme` | Gradient color theme | `rainbow` | See [Color Themes](#color-themes) |
| `--gradient-direction` | Direction of the color gradient | `horizontal` | `horizontal`, `vertical`, `diagonal_up`, `diagonal_down` |
| `--render-mode` | Rendering mode | `outline` | `outline`, `fill` |
| `--animation-frames` | Number of animation frames | `1` | Any positive integer |
| `--animation-delay` | Delay between frames (seconds) | `0.1` | Any positive float |
| `--output-file` | Output file path | None | Any valid file path |
#### Color Themes
The tool includes 14 beautiful built-in color themes:
- **rainbow**: Classic rainbow colors (Red → Orange → Yellow → Green → Blue → Indigo → Violet)
- **ocean**: Ocean blues (Navy → Deep Sky Blue → Sky Blue)
- **fire**: Fire colors (Black → Dark Red → Orange Red → Dark Orange → Yellow)
- **forest**: Forest greens (Forest Green → Dark Olive Green → Olive Drab)
- **sunset**: Sunset colors (Orange → Orange Red → Dark Magenta)
- **pastel**: Soft pastel colors (Light Pink → Light Green → Light Blue → Light Yellow)
- **grayscale**: Black to white gradient
- **neon**: Bright neon colors (Cyan → Magenta → Yellow → Green)
- **candy**: Sweet candy colors (Pink → Light Blue → Yellow)
- **winter**: Winter theme (Navy → Light Blue → Snow)
- **autumn**: Autumn colors (Saddle Brown → Dark Orange → Gold)
- **spring**: Spring colors (Pale Green → Bisque → Pink)
- **vaporwave**: Retro vaporwave (Purple → Cyan → Hot Pink)
- **custom**: Customizable theme (Black → White by default)
### 🏗️ Project Structure
```
ascii_gradient_art/
├── ascii_gradient_art.py # Main entry point
├── main.py # Alternative entry point
├── setup.py # Package configuration
├── core/
│ ├── __init__.py
│ ├── generator.py # ASCII art generation and processing
│ └── color_utils.py # Color manipulation utilities
├── themes/
│ ├── __init__.py
│ └── default_themes.py # Built-in color themes
└── utils/
├── __init__.py
└── cli_parser.py # Command-line argument parsing
```
### 🤝 Contributing
Contributions are welcome! Please feel free to submit a Pull Request. For major changes, please open an issue first to discuss what you would like to change.
### 📄 License
This project is licensed under the MIT License - see the LICENSE file for details.
### 👤 Author
- **Maxzs**
---
## 中文
### 🎨 概述
ASCII 渐变艺术字是一个强大的命令行工具,可以生成带有自定义渐变色彩和动画效果的精美 ASCII 艺术字。将任何文本转换为令人惊叹的视觉艺术,支持多种字体、色彩主题和渲染模式。
### ✨ 功能特性
- **多种字体样式**: 支持各种 ASCII 艺术字体(standard、slant、big 等)
- **丰富的色彩主题**: 14 种内置色彩主题,包括彩虹、海洋、火焰、霓虹等
- **渐变方向**: 水平、垂直和对角线渐变效果
- **渲染模式**: 可选择轮廓或填充渲染样式
- **动画支持**: 创建可自定义帧率的动画 ASCII 艺术字
- **文件输出**: 将作品保存到文件
- **简易命令行界面**: 简单的命令行界面,快速生成艺术字
### 🚀 安装
#### 系统要求
- Python 3.6 或更高版本
- pip 包管理器
#### 从PyPI安装(推荐)
```bash
pip install ascii-gradient-art
```
#### 从源码安装
```bash
git clone https://github.com/crazyZSShuo/ascii-gradient-art.git
cd ascii-gradient-art
pip install -e .
```
### 📖 使用方法
#### 基本用法
```bash
ascii-gradient-art --text "Hello World"
```
#### 高级示例
**自定义字体和色彩主题:**
```bash
ascii-gradient-art --text "AWESOME" --font slant --color-theme fire
```
**垂直渐变与填充模式:**
```bash
ascii-gradient-art --text "COOL" --gradient-direction vertical --render-mode fill
```
**动画 ASCII 艺术字:**
```bash
ascii-gradient-art --text "DANCE" --animation-frames 20 --animation-delay 0.1
```
**保存到文件:**
```bash
ascii-gradient-art --text "SAVE ME" --output-file output.txt
```
#### 命令行选项
| 选项 | 描述 | 默认值 | 可选值 |
|------|------|--------|--------|
| `--text` | 要转换为 ASCII 艺术字的文本 | 必需 | - |
| `--font` | ASCII 艺术字的字体样式 | `standard` | 任何 pyfiglet 字体 |
| `--color-theme` | 渐变色彩主题 | `rainbow` | 参见 [色彩主题](#色彩主题) |
| `--gradient-direction` | 色彩渐变的方向 | `horizontal` | `horizontal`, `vertical`, `diagonal_up`, `diagonal_down` |
| `--render-mode` | 渲染模式 | `outline` | `outline`, `fill` |
| `--animation-frames` | 动画帧数 | `1` | 任何正整数 |
| `--animation-delay` | 帧间延迟(秒) | `0.1` | 任何正浮点数 |
| `--output-file` | 输出文件路径 | 无 | 任何有效文件路径 |
#### 色彩主题
工具包含 14 种精美的内置色彩主题:
- **rainbow**: 经典彩虹色(红 → 橙 → 黄 → 绿 → 蓝 → 靛 → 紫)
- **ocean**: 海洋蓝(海军蓝 → 深天蓝 → 天蓝)
- **fire**: 火焰色(黑 → 深红 → 橙红 → 深橙 → 黄)
- **forest**: 森林绿(森林绿 → 深橄榄绿 → 橄榄褐)
- **sunset**: 日落色(橙 → 橙红 → 深洋红)
- **pastel**: 柔和粉彩色(浅粉 → 浅绿 → 浅蓝 → 浅黄)
- **grayscale**: 黑白渐变
- **neon**: 明亮霓虹色(青 → 洋红 → 黄 → 绿)
- **candy**: 甜美糖果色(粉 → 浅蓝 → 黄)
- **winter**: 冬季主题(海军蓝 → 浅蓝 → 雪白)
- **autumn**: 秋季色彩(马鞍棕 → 深橙 → 金色)
- **spring**: 春季色彩(淡绿 → 淡黄褐 → 粉色)
- **vaporwave**: 复古蒸汽波(紫 → 青 → 热粉)
- **custom**: 可自定义主题(默认黑到白)
### 🏗️ 项目结构
```
ascii_gradient_art/
├── ascii_gradient_art.py # 主入口点
├── main.py # 备用入口点
├── setup.py # 包配置
├── core/
│ ├── __init__.py
│ ├── generator.py # ASCII 艺术字生成和处理
│ └── color_utils.py # 色彩处理工具
├── themes/
│ ├── __init__.py
│ └── default_themes.py # 内置色彩主题
└── utils/
├── __init__.py
└── cli_parser.py # 命令行参数解析
```
### 🤝 贡献
欢迎贡献!请随时提交 Pull Request。对于重大更改,请先开启 issue 讨论您想要更改的内容。
### 📄 许可证
本项目采用 MIT 许可证 - 详情请参见 LICENSE 文件。
### 👤 作者
- **Maxzs**
---
### 🎯 示例输出
以下是一些使用不同主题和设置的示例输出:
```bash
# 彩虹主题水平渐变
ascii-gradient-art --text "RAINBOW" --color-theme rainbow
# 火焰主题垂直渐变填充模式
ascii-gradient-art --text "FIRE" --color-theme fire --gradient-direction vertical --render-mode fill
# 霓虹主题对角渐变动画
ascii-gradient-art --text "NEON" --color-theme neon --gradient-direction diagonal_up --animation-frames 15
```
### 🔧 故障排除
**常见问题:**
1. **字体未找到错误**: 确保您使用的字体名称是 pyfiglet 支持的有效字体。
2. **色彩显示问题**: 确保您的终端支持 ANSI 色彩代码。
3. **动画播放问题**: 某些终端可能不完全支持清屏序列,这可能影响动画效果。
**获取可用字体列表:**
```python
import pyfiglet
print(pyfiglet.FigletFont.getFonts())
```
### 🌟 未来计划
- [ ] 添加更多内置色彩主题
- [ ] 支持自定义色彩主题配置文件
- [ ] 添加更多动画效果
- [ ] 支持图像到 ASCII 转换
- [ ] 添加 GUI 界面
- [ ] 支持更多输出格式(HTML、SVG 等)
Raw data
{
"_id": null,
"home_page": null,
"name": "ascii-gradient-art",
"maintainer": "Maxzs",
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": null,
"keywords": "ascii, art, gradient, color, animation, terminal, cli",
"author": "Maxzs",
"author_email": null,
"download_url": "https://files.pythonhosted.org/packages/a2/1f/7a24642ffe0068b835510ed8fea9443a826c955dc67ccfb40395d416919b/ascii_gradient_art-0.1.5.tar.gz",
"platform": null,
"description": "# ASCII Gradient Art / ASCII \u6e10\u53d8\u827a\u672f\u5b57\r\n\r\n[English](#english) | [\u4e2d\u6587](#\u4e2d\u6587)\r\n\r\n---\r\n\r\n## English\r\n\r\n### \ud83c\udfa8 Overview\r\n\r\nASCII Gradient Art is a powerful command-line tool that generates beautiful ASCII art with customizable gradient colors and animations. Transform any text into stunning visual art with various fonts, color themes, and rendering modes.\r\n\r\n### \u2728 Features\r\n\r\n- **Multiple Font Styles**: Support for various ASCII art fonts (standard, slant, big, etc.)\r\n- **Rich Color Themes**: 14 built-in color themes including rainbow, ocean, fire, neon, and more\r\n- **Gradient Directions**: Horizontal, vertical, and diagonal gradient effects\r\n- **Rendering Modes**: Choose between outline and fill rendering styles\r\n- **Animation Support**: Create animated ASCII art with customizable frame rates\r\n- **File Output**: Save your creations to files\r\n- **Easy CLI Interface**: Simple command-line interface for quick generation\r\n\r\n### \ud83d\ude80 Installation\r\n\r\n#### Prerequisites\r\n- Python 3.6 or higher\r\n- pip package manager\r\n\r\n#### Install from PyPI (Recommended)\r\n```bash\r\npip install ascii-gradient-art\r\n```\r\n\r\n#### Install from source\r\n```bash\r\ngit clone https://github.com/crazyZSShuo/ascii-gradient-art.git\r\ncd ascii-gradient-art\r\npip install -e .\r\n```\r\n\r\n### \ud83d\udcd6 Usage\r\n\r\n#### Basic Usage\r\n```bash\r\nascii-gradient-art --text \"Hello World\"\r\n```\r\n\r\n#### Advanced Examples\r\n\r\n**Custom font and color theme:**\r\n```bash\r\nascii-gradient-art --text \"AWESOME\" --font slant --color-theme fire\r\n```\r\n\r\n**Vertical gradient with fill mode:**\r\n```bash\r\nascii-gradient-art --text \"COOL\" --gradient-direction vertical --render-mode fill\r\n```\r\n\r\n**Animated ASCII art:**\r\n```bash\r\nascii-gradient-art --text \"DANCE\" --animation-frames 20 --animation-delay 0.1\r\n```\r\n\r\n**Save to file:**\r\n```bash\r\nascii-gradient-art --text \"SAVE ME\" --output-file output.txt\r\n```\r\n\r\n#### Command Line Options\r\n\r\n| Option | Description | Default | Choices |\r\n|--------|-------------|---------|---------|\r\n| `--text` | Text to convert to ASCII art | Required | - |\r\n| `--font` | Font style for ASCII art | `standard` | Any pyfiglet font |\r\n| `--color-theme` | Gradient color theme | `rainbow` | See [Color Themes](#color-themes) |\r\n| `--gradient-direction` | Direction of the color gradient | `horizontal` | `horizontal`, `vertical`, `diagonal_up`, `diagonal_down` |\r\n| `--render-mode` | Rendering mode | `outline` | `outline`, `fill` |\r\n| `--animation-frames` | Number of animation frames | `1` | Any positive integer |\r\n| `--animation-delay` | Delay between frames (seconds) | `0.1` | Any positive float |\r\n| `--output-file` | Output file path | None | Any valid file path |\r\n\r\n#### Color Themes\r\n\r\nThe tool includes 14 beautiful built-in color themes:\r\n\r\n- **rainbow**: Classic rainbow colors (Red \u2192 Orange \u2192 Yellow \u2192 Green \u2192 Blue \u2192 Indigo \u2192 Violet)\r\n- **ocean**: Ocean blues (Navy \u2192 Deep Sky Blue \u2192 Sky Blue)\r\n- **fire**: Fire colors (Black \u2192 Dark Red \u2192 Orange Red \u2192 Dark Orange \u2192 Yellow)\r\n- **forest**: Forest greens (Forest Green \u2192 Dark Olive Green \u2192 Olive Drab)\r\n- **sunset**: Sunset colors (Orange \u2192 Orange Red \u2192 Dark Magenta)\r\n- **pastel**: Soft pastel colors (Light Pink \u2192 Light Green \u2192 Light Blue \u2192 Light Yellow)\r\n- **grayscale**: Black to white gradient\r\n- **neon**: Bright neon colors (Cyan \u2192 Magenta \u2192 Yellow \u2192 Green)\r\n- **candy**: Sweet candy colors (Pink \u2192 Light Blue \u2192 Yellow)\r\n- **winter**: Winter theme (Navy \u2192 Light Blue \u2192 Snow)\r\n- **autumn**: Autumn colors (Saddle Brown \u2192 Dark Orange \u2192 Gold)\r\n- **spring**: Spring colors (Pale Green \u2192 Bisque \u2192 Pink)\r\n- **vaporwave**: Retro vaporwave (Purple \u2192 Cyan \u2192 Hot Pink)\r\n- **custom**: Customizable theme (Black \u2192 White by default)\r\n\r\n### \ud83c\udfd7\ufe0f Project Structure\r\n\r\n```\r\nascii_gradient_art/\r\n\u251c\u2500\u2500 ascii_gradient_art.py # Main entry point\r\n\u251c\u2500\u2500 main.py # Alternative entry point\r\n\u251c\u2500\u2500 setup.py # Package configuration\r\n\u251c\u2500\u2500 core/\r\n\u2502 \u251c\u2500\u2500 __init__.py\r\n\u2502 \u251c\u2500\u2500 generator.py # ASCII art generation and processing\r\n\u2502 \u2514\u2500\u2500 color_utils.py # Color manipulation utilities\r\n\u251c\u2500\u2500 themes/\r\n\u2502 \u251c\u2500\u2500 __init__.py\r\n\u2502 \u2514\u2500\u2500 default_themes.py # Built-in color themes\r\n\u2514\u2500\u2500 utils/\r\n \u251c\u2500\u2500 __init__.py\r\n \u2514\u2500\u2500 cli_parser.py # Command-line argument parsing\r\n```\r\n\r\n### \ud83e\udd1d Contributing\r\n\r\nContributions are welcome! Please feel free to submit a Pull Request. For major changes, please open an issue first to discuss what you would like to change.\r\n\r\n### \ud83d\udcc4 License\r\n\r\nThis project is licensed under the MIT License - see the LICENSE file for details.\r\n\r\n### \ud83d\udc64 Author\r\n\r\n- **Maxzs**\r\n\r\n---\r\n\r\n## \u4e2d\u6587\r\n\r\n### \ud83c\udfa8 \u6982\u8ff0\r\n\r\nASCII \u6e10\u53d8\u827a\u672f\u5b57\u662f\u4e00\u4e2a\u5f3a\u5927\u7684\u547d\u4ee4\u884c\u5de5\u5177\uff0c\u53ef\u4ee5\u751f\u6210\u5e26\u6709\u81ea\u5b9a\u4e49\u6e10\u53d8\u8272\u5f69\u548c\u52a8\u753b\u6548\u679c\u7684\u7cbe\u7f8e ASCII \u827a\u672f\u5b57\u3002\u5c06\u4efb\u4f55\u6587\u672c\u8f6c\u6362\u4e3a\u4ee4\u4eba\u60ca\u53f9\u7684\u89c6\u89c9\u827a\u672f\uff0c\u652f\u6301\u591a\u79cd\u5b57\u4f53\u3001\u8272\u5f69\u4e3b\u9898\u548c\u6e32\u67d3\u6a21\u5f0f\u3002\r\n\r\n### \u2728 \u529f\u80fd\u7279\u6027\r\n\r\n- **\u591a\u79cd\u5b57\u4f53\u6837\u5f0f**: \u652f\u6301\u5404\u79cd ASCII \u827a\u672f\u5b57\u4f53\uff08standard\u3001slant\u3001big \u7b49\uff09\r\n- **\u4e30\u5bcc\u7684\u8272\u5f69\u4e3b\u9898**: 14 \u79cd\u5185\u7f6e\u8272\u5f69\u4e3b\u9898\uff0c\u5305\u62ec\u5f69\u8679\u3001\u6d77\u6d0b\u3001\u706b\u7130\u3001\u9713\u8679\u7b49\r\n- **\u6e10\u53d8\u65b9\u5411**: \u6c34\u5e73\u3001\u5782\u76f4\u548c\u5bf9\u89d2\u7ebf\u6e10\u53d8\u6548\u679c\r\n- **\u6e32\u67d3\u6a21\u5f0f**: \u53ef\u9009\u62e9\u8f6e\u5ed3\u6216\u586b\u5145\u6e32\u67d3\u6837\u5f0f\r\n- **\u52a8\u753b\u652f\u6301**: \u521b\u5efa\u53ef\u81ea\u5b9a\u4e49\u5e27\u7387\u7684\u52a8\u753b ASCII \u827a\u672f\u5b57\r\n- **\u6587\u4ef6\u8f93\u51fa**: \u5c06\u4f5c\u54c1\u4fdd\u5b58\u5230\u6587\u4ef6\r\n- **\u7b80\u6613\u547d\u4ee4\u884c\u754c\u9762**: \u7b80\u5355\u7684\u547d\u4ee4\u884c\u754c\u9762\uff0c\u5feb\u901f\u751f\u6210\u827a\u672f\u5b57\r\n\r\n### \ud83d\ude80 \u5b89\u88c5\r\n\r\n#### \u7cfb\u7edf\u8981\u6c42\r\n- Python 3.6 \u6216\u66f4\u9ad8\u7248\u672c\r\n- pip \u5305\u7ba1\u7406\u5668\r\n\r\n#### \u4ecePyPI\u5b89\u88c5\uff08\u63a8\u8350\uff09\r\n```bash\r\npip install ascii-gradient-art\r\n```\r\n\r\n#### \u4ece\u6e90\u7801\u5b89\u88c5\r\n```bash\r\ngit clone https://github.com/crazyZSShuo/ascii-gradient-art.git\r\ncd ascii-gradient-art\r\npip install -e .\r\n```\r\n\r\n### \ud83d\udcd6 \u4f7f\u7528\u65b9\u6cd5\r\n\r\n#### \u57fa\u672c\u7528\u6cd5\r\n```bash\r\nascii-gradient-art --text \"Hello World\"\r\n```\r\n\r\n#### \u9ad8\u7ea7\u793a\u4f8b\r\n\r\n**\u81ea\u5b9a\u4e49\u5b57\u4f53\u548c\u8272\u5f69\u4e3b\u9898:**\r\n```bash\r\nascii-gradient-art --text \"AWESOME\" --font slant --color-theme fire\r\n```\r\n\r\n**\u5782\u76f4\u6e10\u53d8\u4e0e\u586b\u5145\u6a21\u5f0f:**\r\n```bash\r\nascii-gradient-art --text \"COOL\" --gradient-direction vertical --render-mode fill\r\n```\r\n\r\n**\u52a8\u753b ASCII \u827a\u672f\u5b57:**\r\n```bash\r\nascii-gradient-art --text \"DANCE\" --animation-frames 20 --animation-delay 0.1\r\n```\r\n\r\n**\u4fdd\u5b58\u5230\u6587\u4ef6:**\r\n```bash\r\nascii-gradient-art --text \"SAVE ME\" --output-file output.txt\r\n```\r\n\r\n#### \u547d\u4ee4\u884c\u9009\u9879\r\n\r\n| \u9009\u9879 | \u63cf\u8ff0 | \u9ed8\u8ba4\u503c | \u53ef\u9009\u503c |\r\n|------|------|--------|--------|\r\n| `--text` | \u8981\u8f6c\u6362\u4e3a ASCII \u827a\u672f\u5b57\u7684\u6587\u672c | \u5fc5\u9700 | - |\r\n| `--font` | ASCII \u827a\u672f\u5b57\u7684\u5b57\u4f53\u6837\u5f0f | `standard` | \u4efb\u4f55 pyfiglet \u5b57\u4f53 |\r\n| `--color-theme` | \u6e10\u53d8\u8272\u5f69\u4e3b\u9898 | `rainbow` | \u53c2\u89c1 [\u8272\u5f69\u4e3b\u9898](#\u8272\u5f69\u4e3b\u9898) |\r\n| `--gradient-direction` | \u8272\u5f69\u6e10\u53d8\u7684\u65b9\u5411 | `horizontal` | `horizontal`, `vertical`, `diagonal_up`, `diagonal_down` |\r\n| `--render-mode` | \u6e32\u67d3\u6a21\u5f0f | `outline` | `outline`, `fill` |\r\n| `--animation-frames` | \u52a8\u753b\u5e27\u6570 | `1` | \u4efb\u4f55\u6b63\u6574\u6570 |\r\n| `--animation-delay` | \u5e27\u95f4\u5ef6\u8fdf\uff08\u79d2\uff09 | `0.1` | \u4efb\u4f55\u6b63\u6d6e\u70b9\u6570 |\r\n| `--output-file` | \u8f93\u51fa\u6587\u4ef6\u8def\u5f84 | \u65e0 | \u4efb\u4f55\u6709\u6548\u6587\u4ef6\u8def\u5f84 |\r\n\r\n#### \u8272\u5f69\u4e3b\u9898\r\n\r\n\u5de5\u5177\u5305\u542b 14 \u79cd\u7cbe\u7f8e\u7684\u5185\u7f6e\u8272\u5f69\u4e3b\u9898\uff1a\r\n\r\n- **rainbow**: \u7ecf\u5178\u5f69\u8679\u8272\uff08\u7ea2 \u2192 \u6a59 \u2192 \u9ec4 \u2192 \u7eff \u2192 \u84dd \u2192 \u975b \u2192 \u7d2b\uff09\r\n- **ocean**: \u6d77\u6d0b\u84dd\uff08\u6d77\u519b\u84dd \u2192 \u6df1\u5929\u84dd \u2192 \u5929\u84dd\uff09\r\n- **fire**: \u706b\u7130\u8272\uff08\u9ed1 \u2192 \u6df1\u7ea2 \u2192 \u6a59\u7ea2 \u2192 \u6df1\u6a59 \u2192 \u9ec4\uff09\r\n- **forest**: \u68ee\u6797\u7eff\uff08\u68ee\u6797\u7eff \u2192 \u6df1\u6a44\u6984\u7eff \u2192 \u6a44\u6984\u8910\uff09\r\n- **sunset**: \u65e5\u843d\u8272\uff08\u6a59 \u2192 \u6a59\u7ea2 \u2192 \u6df1\u6d0b\u7ea2\uff09\r\n- **pastel**: \u67d4\u548c\u7c89\u5f69\u8272\uff08\u6d45\u7c89 \u2192 \u6d45\u7eff \u2192 \u6d45\u84dd \u2192 \u6d45\u9ec4\uff09\r\n- **grayscale**: \u9ed1\u767d\u6e10\u53d8\r\n- **neon**: \u660e\u4eae\u9713\u8679\u8272\uff08\u9752 \u2192 \u6d0b\u7ea2 \u2192 \u9ec4 \u2192 \u7eff\uff09\r\n- **candy**: \u751c\u7f8e\u7cd6\u679c\u8272\uff08\u7c89 \u2192 \u6d45\u84dd \u2192 \u9ec4\uff09\r\n- **winter**: \u51ac\u5b63\u4e3b\u9898\uff08\u6d77\u519b\u84dd \u2192 \u6d45\u84dd \u2192 \u96ea\u767d\uff09\r\n- **autumn**: \u79cb\u5b63\u8272\u5f69\uff08\u9a6c\u978d\u68d5 \u2192 \u6df1\u6a59 \u2192 \u91d1\u8272\uff09\r\n- **spring**: \u6625\u5b63\u8272\u5f69\uff08\u6de1\u7eff \u2192 \u6de1\u9ec4\u8910 \u2192 \u7c89\u8272\uff09\r\n- **vaporwave**: \u590d\u53e4\u84b8\u6c7d\u6ce2\uff08\u7d2b \u2192 \u9752 \u2192 \u70ed\u7c89\uff09\r\n- **custom**: \u53ef\u81ea\u5b9a\u4e49\u4e3b\u9898\uff08\u9ed8\u8ba4\u9ed1\u5230\u767d\uff09\r\n\r\n### \ud83c\udfd7\ufe0f \u9879\u76ee\u7ed3\u6784\r\n\r\n```\r\nascii_gradient_art/\r\n\u251c\u2500\u2500 ascii_gradient_art.py # \u4e3b\u5165\u53e3\u70b9\r\n\u251c\u2500\u2500 main.py # \u5907\u7528\u5165\u53e3\u70b9\r\n\u251c\u2500\u2500 setup.py # \u5305\u914d\u7f6e\r\n\u251c\u2500\u2500 core/\r\n\u2502 \u251c\u2500\u2500 __init__.py\r\n\u2502 \u251c\u2500\u2500 generator.py # ASCII \u827a\u672f\u5b57\u751f\u6210\u548c\u5904\u7406\r\n\u2502 \u2514\u2500\u2500 color_utils.py # \u8272\u5f69\u5904\u7406\u5de5\u5177\r\n\u251c\u2500\u2500 themes/\r\n\u2502 \u251c\u2500\u2500 __init__.py\r\n\u2502 \u2514\u2500\u2500 default_themes.py # \u5185\u7f6e\u8272\u5f69\u4e3b\u9898\r\n\u2514\u2500\u2500 utils/\r\n \u251c\u2500\u2500 __init__.py\r\n \u2514\u2500\u2500 cli_parser.py # \u547d\u4ee4\u884c\u53c2\u6570\u89e3\u6790\r\n```\r\n\r\n### \ud83e\udd1d \u8d21\u732e\r\n\r\n\u6b22\u8fce\u8d21\u732e\uff01\u8bf7\u968f\u65f6\u63d0\u4ea4 Pull Request\u3002\u5bf9\u4e8e\u91cd\u5927\u66f4\u6539\uff0c\u8bf7\u5148\u5f00\u542f issue \u8ba8\u8bba\u60a8\u60f3\u8981\u66f4\u6539\u7684\u5185\u5bb9\u3002\r\n\r\n### \ud83d\udcc4 \u8bb8\u53ef\u8bc1\r\n\r\n\u672c\u9879\u76ee\u91c7\u7528 MIT \u8bb8\u53ef\u8bc1 - \u8be6\u60c5\u8bf7\u53c2\u89c1 LICENSE \u6587\u4ef6\u3002\r\n\r\n### \ud83d\udc64 \u4f5c\u8005\r\n\r\n- **Maxzs**\r\n\r\n---\r\n\r\n### \ud83c\udfaf \u793a\u4f8b\u8f93\u51fa\r\n\r\n\u4ee5\u4e0b\u662f\u4e00\u4e9b\u4f7f\u7528\u4e0d\u540c\u4e3b\u9898\u548c\u8bbe\u7f6e\u7684\u793a\u4f8b\u8f93\u51fa\uff1a\r\n\r\n```bash\r\n# \u5f69\u8679\u4e3b\u9898\u6c34\u5e73\u6e10\u53d8\r\nascii-gradient-art --text \"RAINBOW\" --color-theme rainbow\r\n\r\n# \u706b\u7130\u4e3b\u9898\u5782\u76f4\u6e10\u53d8\u586b\u5145\u6a21\u5f0f\r\nascii-gradient-art --text \"FIRE\" --color-theme fire --gradient-direction vertical --render-mode fill\r\n\r\n# \u9713\u8679\u4e3b\u9898\u5bf9\u89d2\u6e10\u53d8\u52a8\u753b\r\nascii-gradient-art --text \"NEON\" --color-theme neon --gradient-direction diagonal_up --animation-frames 15\r\n```\r\n\r\n### \ud83d\udd27 \u6545\u969c\u6392\u9664\r\n\r\n**\u5e38\u89c1\u95ee\u9898:**\r\n\r\n1. **\u5b57\u4f53\u672a\u627e\u5230\u9519\u8bef**: \u786e\u4fdd\u60a8\u4f7f\u7528\u7684\u5b57\u4f53\u540d\u79f0\u662f pyfiglet \u652f\u6301\u7684\u6709\u6548\u5b57\u4f53\u3002\r\n2. **\u8272\u5f69\u663e\u793a\u95ee\u9898**: \u786e\u4fdd\u60a8\u7684\u7ec8\u7aef\u652f\u6301 ANSI \u8272\u5f69\u4ee3\u7801\u3002\r\n3. **\u52a8\u753b\u64ad\u653e\u95ee\u9898**: \u67d0\u4e9b\u7ec8\u7aef\u53ef\u80fd\u4e0d\u5b8c\u5168\u652f\u6301\u6e05\u5c4f\u5e8f\u5217\uff0c\u8fd9\u53ef\u80fd\u5f71\u54cd\u52a8\u753b\u6548\u679c\u3002\r\n\r\n**\u83b7\u53d6\u53ef\u7528\u5b57\u4f53\u5217\u8868:**\r\n```python\r\nimport pyfiglet\r\nprint(pyfiglet.FigletFont.getFonts())\r\n```\r\n\r\n### \ud83c\udf1f \u672a\u6765\u8ba1\u5212\r\n\r\n- [ ] \u6dfb\u52a0\u66f4\u591a\u5185\u7f6e\u8272\u5f69\u4e3b\u9898\r\n- [ ] \u652f\u6301\u81ea\u5b9a\u4e49\u8272\u5f69\u4e3b\u9898\u914d\u7f6e\u6587\u4ef6\r\n- [ ] \u6dfb\u52a0\u66f4\u591a\u52a8\u753b\u6548\u679c\r\n- [ ] \u652f\u6301\u56fe\u50cf\u5230 ASCII \u8f6c\u6362\r\n- [ ] \u6dfb\u52a0 GUI \u754c\u9762\r\n- [ ] \u652f\u6301\u66f4\u591a\u8f93\u51fa\u683c\u5f0f\uff08HTML\u3001SVG \u7b49\uff09\r\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "A command-line tool to generate colorful ASCII art with gradients and animations.",
"version": "0.1.5",
"project_urls": {
"Bug Tracker": "https://github.com/crazyZSShuo/ascii-gradient-art/issues",
"Documentation": "https://github.com/crazyZSShuo/ascii-gradient-art#readme",
"Download": "https://pypi.org/project/ascii-gradient-art/",
"Homepage": "https://github.com/crazyZSShuo/ascii-gradient-art",
"Repository": "https://github.com/crazyZSShuo/ascii-gradient-art",
"Source Code": "https://github.com/crazyZSShuo/ascii-gradient-art"
},
"split_keywords": [
"ascii",
" art",
" gradient",
" color",
" animation",
" terminal",
" cli"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "6b7ae4683bab3951b3926d0556fd8067a445c21ffd96cb4ffcd23b2bce63c051",
"md5": "b042c1d370850a1d5807869363de6866",
"sha256": "988e66f38440a8bebc803290d221ce872c7880c3f19ea8ae9a94e07b595e4d4e"
},
"downloads": -1,
"filename": "ascii_gradient_art-0.1.5-py3-none-any.whl",
"has_sig": false,
"md5_digest": "b042c1d370850a1d5807869363de6866",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 12753,
"upload_time": "2025-07-11T16:29:11",
"upload_time_iso_8601": "2025-07-11T16:29:11.864287Z",
"url": "https://files.pythonhosted.org/packages/6b/7a/e4683bab3951b3926d0556fd8067a445c21ffd96cb4ffcd23b2bce63c051/ascii_gradient_art-0.1.5-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "a21f7a24642ffe0068b835510ed8fea9443a826c955dc67ccfb40395d416919b",
"md5": "93ed212e83de830c51c1e6096f085f12",
"sha256": "26678b32cc936401ecaf5cafb89cbd50e7c30dfececb5fb7b8574a88b49c37e1"
},
"downloads": -1,
"filename": "ascii_gradient_art-0.1.5.tar.gz",
"has_sig": false,
"md5_digest": "93ed212e83de830c51c1e6096f085f12",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 14808,
"upload_time": "2025-07-11T16:29:12",
"upload_time_iso_8601": "2025-07-11T16:29:12.915465Z",
"url": "https://files.pythonhosted.org/packages/a2/1f/7a24642ffe0068b835510ed8fea9443a826c955dc67ccfb40395d416919b/ascii_gradient_art-0.1.5.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-07-11 16:29:12",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "crazyZSShuo",
"github_project": "ascii-gradient-art",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "ascii-gradient-art"
}