GenArt Skill
Procedural visual art generator using Python. Produces SVG vector art and PNG raster output from algorithmic patterns and mathematical structures.
Algorithms
Flow Fields
Perlin noise-based vector fields that guide particle motion, creating organic flowing patterns and fluid-like aesthetics.
Fractals
Recursive geometric structures: Mandelbrot sets, Julia sets, L-systems, and self-similar branching patterns with configurable depth and parameters.
Cellular Automata
Conway's Game of Life and variants, generating complex patterns from simple local rules. Produces static snapshots or animated sequences.
Circle Packing
Algorithm-driven placement of circles in constrained spaces, creating organic compositions with visual balance.
Wave Patterns
Sinusoidal and superposed wave interference, creating ripple effects, moiré patterns, and harmonic visualizations.
Usage
CODEBLOCK0
Outputs SVG for scalable vector art or PNG for raster. All fully deterministic and scriptable.
Features
- - Deterministic: Seed-based generation for reproducible art
- Scalable: SVG output scales infinitely without quality loss
- Raster export: PNG rendering for web and print
- Configurable: Every algorithm exposes tunable parameters
- Fast: Optimized Python with optional NumPy acceleration
技能名称: genart
详细描述:
GenArt 技能
使用Python的过程式视觉艺术生成器。通过算法模式和数学结构生成SVG矢量艺术和PNG光栅输出。
算法
流场
基于Perlin噪声的矢量场引导粒子运动,生成有机流动图案和流体般的美学效果。
分形
递归几何结构:曼德勃罗集、朱利亚集、L系统和自相似分支模式,支持可配置的深度和参数。
元胞自动机
康威生命游戏及其变体,通过简单的局部规则生成复杂图案。可生成静态快照或动画序列。
圆填充
算法驱动的受限空间圆形放置,创建具有视觉平衡感的有机构图。
波纹图案
正弦波和叠加波干涉,生成涟漪效果、摩尔纹和和谐的可视化效果。
使用方法
bash
genart.py --algorithm flow_field --output art.svg [--params noise=0.5,scale=10]
genart.py --algorithm fractal --output mandelbrot.png --width 1024 --height 1024
genart.py --algorithm cellular_automata --output ca.svg --iterations 100
genart.py --algorithm circle_pack --output circles.svg --target-count 200
genart.py --algorithm waves --output waves.png --frequency 5 --amplitude 100
输出可缩放矢量艺术的SVG或光栅图像的PNG。完全确定性和可脚本化。
特性
- - 确定性: 基于种子的生成,确保艺术可复现
- 可缩放: SVG输出可无限缩放,质量无损
- 光栅导出: 适用于网页和印刷的PNG渲染
- 可配置: 每个算法都暴露可调参数
- 快速: 优化的Python,可选NumPy加速