Loading...
Loading...
Generate decorative geometric elements (corners, lines, arcs, frames) with precise control over colors, gradients, and transparency. Use when creating design assets, slide decorations, or any vector-like graphics programmatically. Can also analyze reference images and recreate geometric patterns.
npx skill4agent add thepexcel/agent-skills geometric-elements# Install dependency (first time only)
pip install pixie-python
# Generate element (ask user for brand color or check their brand guidelines)
python .claude/skills/geometric-elements/scripts/generate.py corner-accent \
--color "#HEX_COLOR" \
--size 200 \
--output media/output/corner.png/thepexcel-brand-guidelines| Element | Command | Description |
|---|---|---|
| Basic Shapes | | circle, star, heart, hexagon, arrow, etc. |
| Corner Accent | | L-shaped corner decoration |
| Line Divider | | Horizontal divider with gradient |
| Arc Accent | | Curved arc |
| Frame Border | | 4-corner bracket frame |
| Pattern | | Repeating dots/crosses/diamonds |
| Mandala | | Sacred geometry / complex patterns |
| Option | Description | Default |
|---|---|---|
| Primary color (hex) | |
| Secondary color for gradient | None |
| Element size in pixels | 200 |
| Canvas width | 400 |
| Canvas height | 400 |
| Stroke width | 4 |
| Output file path | |
| | None |
| 0.0-1.0 | 1.0 |
| Fill shape (vs stroke) | False |
# Circle (stroke)
python scripts/generate.py shape --style circle --color "#HEX" --size 100 --stroke 3
# Star (filled)
python scripts/generate.py shape --style star --color "#HEX" --size 100 --sides 5 --fill
# Available: circle, ellipse, rectangle, square, rounded-rect, triangle,
# polygon, star, diamond, ring, cross, arrow, heart, hexagon, octagon, crescentpython scripts/generate.py corner-accent --color "#HEX" --size 150 --stroke 4python scripts/generate.py line-divider --color "#HEX" --color2 "#FFFFFF" --gradient linear --width 800python scripts/generate.py mandala --color "#CCC" --bg "#0A0A0A" --size 400 --rings 8 --layers 4 --stroke 1.5import pixie
import math
image = pixie.Image(400, 400)
paint = pixie.Paint(pixie.SOLID_PAINT)
paint.color = pixie.Color(0.83, 0.66, 0.29, 1.0) # RGB 0-1 range
ctx = image.new_context()
ctx.stroke_style = paint
ctx.line_width = 2
ctx.stroke_segment(50, 50, 350, 350)
image.write_file("output.png")--size--gradient linear--color--color2/graphic-designer/thepexcel-brand-guidelines/pptx