SuperAPI AI 工具集

canvas-design

设计与创作

查看项目

更新于 10-16 04:05

技能介绍

Canvas Design

概述

本技能指导使用设计哲学原则创作 PNG 和 PDF 格式的原创视觉艺术。强调工艺品质,以视觉方式而非文字来表达美学运动。

何时使用

  • 创作博物馆级视觉作品
  • 生成以视觉表达的设计宣言
  • 为演示或出版物构建艺术构图
  • 为品牌或装饰制作抽象艺术
  • 任何需要 90% 以上视觉设计、文字极少的项目

快速开始

  1. 撰写设计哲学(4-6 段阐述视觉本质)
  2. 选择视觉风格(几何、有机、结构混沌、排版)
  3. 选择实现方式(PIL/Pillow、Cairo、SVG)
  4. 以精确方式执行(博物馆级工艺品质)
  5. 导出(300 DPI 的 PNG 或矢量 PDF)

示例代码:

Quick geometric composition

from PIL import Image, ImageDraw import math

canvas = Image.new('RGB', (2400, 3200), '#0a0a0a') draw = ImageDraw.Draw(canvas)

Golden ratio spiral

phi = (1 + math.sqrt(5)) / 2 center_x, center_y = 1200, 1600 for i in range(50): angle = i * phi * 2 * math.pi radius = i * 8 x = center_x + radius * math.cos(angle) y = center_y + radius * math.sin(angle) size = max(2, 20 - i * 0.3) draw.ellipse([x-size, y-size, x+size, y+size], fill='#c084fc')

canvas.save('composition.png', quality=95)

相关技能

  • algorithmic-art - 使用 p5.js 的生成艺术
  • frontend-design - 网页界面设计
  • theme-factory - 颜色与排版系统

版本历史

  • 2.0.0(2026-01-02):升级到 v2 模板——新增快速开始、何时使用、执行清单、错误处理、指标等章节
  • 1.0.0(2024-10-15):首次发布,包含 PIL/Pillow、Cairo、SVG 实现、视觉风格、质量指南

子技能

  • Execution Checklist
  • Error Handling
  • Metrics

子技能

  • Step 1: Design Philosophy (.md)(+1)
  • Visual Supremacy(+4)
  • Using Python (PIL/Pillow)(+2)
  • Geometric Minimalism(+3)
  • PNG Format(+1)

Philosophy