diff options
Diffstat (limited to 'gfx')
-rw-r--r-- | gfx/README.7 | 4 | ||||
-rw-r--r-- | gfx/brot.1 | 15 | ||||
-rw-r--r-- | gfx/gfxx.1 | 35 |
3 files changed, 54 insertions, 0 deletions
diff --git a/gfx/README.7 b/gfx/README.7 index 5d05d3be..de29c37f 100644 --- a/gfx/README.7 +++ b/gfx/README.7 @@ -1,14 +1,17 @@ .Dd September 8, 2018 .Dt README 7 .Os "Causal Agency" +. .Sh NAME .Nm gfx .Nd graphical utilities +. .Sh DESCRIPTION Graphial tools targeting Cocoa, X11 and Linux framebuffer. +. .Pp To build, run one of: .Bd -literal -offset indent @@ -16,6 +19,7 @@ make GFX=cocoa make GFX=x11 make GFX=fb .Ed +. .Sh SEE ALSO .Xr brot 1 , .Xr gfxx 1 diff --git a/gfx/brot.1 b/gfx/brot.1 index 4480f45b..71a0da01 100644 --- a/gfx/brot.1 +++ b/gfx/brot.1 @@ -1,48 +1,63 @@ .Dd September 8, 2018 .Dt BROT 1 .Os "Causal Agency" +. .Sh NAME .Nm brot .Nd Mandelbrot renderer +. .Sh SYNOPSIS .Nm .Op Fl i Ar depth .Op Fl s Ar samples .Op Fl t Ar a+bi .Op Fl f Ar a+bi +. .Sh DESCRIPTION .Nm renders the Mandelbrot set in grayscale. +. .Pp The arguments are as follows: .Bl -tag -width Ds .It Fl f Ar a+bi Set complex transform factor. +. .It Fl i Ar depth Set number of iterations. +. .It Fl s Ar samples Set number of samples per pixel. +. .It Fl t Ar a+bi Set complex translation term. .El +. .Pp The interactive keys are as follows: .Bl -tag -width Ds .It Ic q Quit. +. .It Ic ,. Adjust depth. +. .It Ic [] Adjust samples. +. .It Ic hl Adjust real component of translation. +. .It Ic kj Adjust imaginary componenent of translation. +. .It Ic ui Adjust rotation. +. .It Ic -+ Adjust scale. +. .It Ic 0 Reset translation and transform. .El diff --git a/gfx/gfxx.1 b/gfx/gfxx.1 index a29b14e0..19a25c10 100644 --- a/gfx/gfxx.1 +++ b/gfx/gfxx.1 @@ -1,9 +1,11 @@ .Dd September 8, 2018 .Dt GFXX 1 .Os "Causal Agency" +. .Sh NAME .Nm gfxx .Nd graphics data explorer +. .Sh SYNOPSIS .Nm .Op Fl fm @@ -16,15 +18,18 @@ .Op Fl w Ar width .Op Fl z Ar scale .Op Fl o Ar prefix +. .Sh DESCRIPTION .Nm is an interactive graphics data explorer capable of dumping PNGs. +. .Pp The arguments are as follows: .Bl -tag -width Ds .It Fl E Ar lb Set bit order to little or big endian. +. .It Fl b Ar bits Set number of bits of padding, red, @@ -32,72 +37,102 @@ green and blue components. Four digits are required. +. .It Fl c Ar space Set color space to one of .Cm indexed , .Cm grayscale , .Cm rgb . +. .It Fl e Ar lb Set byte order to little or big endian. +. .It Fl f Flip display vertically. +. .It Fl m Mirror display horizontally. +. .It Fl n Ar offset Set byte offset into data. +. .It Fl o Ar prefix Set PNG output filename prefix. +. .It Fl p Ar file Load indexed color palette from .Ar file . +. .It Fl w Ar width Set display column width. +. .It Fl z Ar scale Set display scale. .El +. .Pp The interactive keys are as follows: .Bl -tag -width Ds .It Ic q Quit. +. .It Ic x Export one frame as PNG. +. .It Ic X Export each frame as PNG. +. .It Ic o Print interactive options. +. .It Ic [] Select color space. +. .It Ic p Sample indexed palette from top-left corner. +. .It Ic P Export indexed palette as RGB data. +. .It Ic {} Select bits preset. +. .It Ic e Toggle byte order. +. .It Ic E Toggle bit order. +. .It Ic hl Adjust offset by byte. +. .It Ic jk Adjust offset by pixel. +. .It Ic HL Adjust offset by pixel row. +. .It Ic JK Adjust offset by pixel row square. +. .It Ic ,. Adjust display column width. +. .It Ic <> Adjust display column width by half or double. +. .It Ic f Toggle vertically flipped display. +. .It Ic m Toggle horizontally mirrored display. +. .It Ic -+ Adjust display scale. +. .It Ic 0-9 Set bits. .El +. .Sh SEE ALSO .Xr pngo 1 |