Reference · Drawing
pxart arc
Draw part of a circle, from angle a0 to a1 (a smear or swoosh), --width N wide.
arc FILE[:frame] KEY cx,cy,r a0,a1 [--width N]
usage: pxart arc [-h] [--width WIDTH] [-o O] [--dry-run] file key circle angles
arc FILE[:frame] KEY cx,cy,r a0,a1 [--width N]
Draw part of a circle, from angle a0 to a1 (a smear or swoosh), --width N wide.
positional arguments:
file
key a palette key, or '.' to erase
circle
angles
options:
-h, --help show this help message and exit
--width WIDTH
-o O
--dry-run print what the edit says and a diff of the file it would change; write nothing
Part of the circle ellipse cx,cy,r,r draws, from angle a0 to a1 in degrees, counter-
clockwise, 0 = right, 90 = up (0,90 is the upper-right quarter; 300,60 wraps through 0;
a1 - a0 >= 360 is the whole circle). A pixel is on the arc when the direction from the
center to it is in the range, ends included. --width N thickens it inward: a smear or
swoosh.
See also, in pxart help all: DRAWING (FILE[:SEL], KEY ('.' erases), clipping, 'painted N
px'); EDITING (-o OUT gets the whole file, only changed lines are rewritten, 'no change');
FORMAT: selecting frames (FILE:SEL, an unnamed grid's name, zsh's "${F}:sel").
pxart help all has the whole reference, pxart help TOPIC one part of it.This is the output of pxart help arc. The other drawing commands and their shared notes are in pxart help DRAWING.
This page is built from
site/src/data/reference.json in the repository.Edit on GitHub