blind

suckless command-line video editing utility
git clone git://git.suckless.org/blind
Log | Files | Refs | README | LICENSE

blind-square-gradient.1 (1781B)


      1 .TH BLIND-SQUARE-GRADIENT 1 blind
      2 .SH NAME
      3 blind-square-gradient - Generate a video with a square gradient
      4 .SH SYNOPSIS
      5 .B blind-square-gradient
      6 -w
      7 .I width
      8 -h
      9 .I height
     10 .SH DESCRIPTION
     11 .B blind-square-gradient
     12 prints a video with a square gradient to stdout,
     13 parameters for each from is read from each frame
     14 in stdin. The gradient is stored in all channels
     15 of the video.
     16 .P
     17 The video in stdin must contain exactly 2 or 3
     18 pixels per frame. The first pixel shall point to
     19 the beginning of the gradient (where the value is
     20 0) and the second pixel shall point to the end of
     21 the gradient (where the value is 1). In these
     22 pixels, the value of the first channel specifies
     23 the X-position and the value of the second
     24 channel specifies Y-position, the other channels
     25 are ignored.
     26 .P
     27 If there is a third pixel, in frames in stdin,
     28 the value of the second channel (the Y channel)
     29 is used to modify the shape of the square, making
     30 it rectangular; the other channels are ignored.
     31 The axis perpendicular to the vector between
     32 the beginning and end of the gradient is divided
     33 by this value.
     34 .SH NOTES
     35 Pixels after the end of the gradient have values
     36 larger than 1.
     37 .BR blind-*-wave (1)
     38 commands can be used to put all values between
     39 0 and 1.
     40 .SH OPTIONS
     41 .TP
     42 .BR -w " "\fIwidth\fP
     43 The width of the video, in pixels.
     44 .TP
     45 .BR -h " "\fIheight\fP
     46 The height of the video, in pixels.
     47 .SH SEE ALSO
     48 .BR blind (7),
     49 .BR blind-from-text (7),
     50 .BR blind-cone-gradient (1),
     51 .BR blind-linear-gradient (1),
     52 .BR blind-radial-gradient (1),
     53 .BR blind-spiral-gradient (1),
     54 .BR blind-double-sine-wave (1),
     55 .BR blind-round-wave (1),
     56 .BR blind-sawtooth-wave (1),
     57 .BR blind-sinc-wave (1),
     58 .BR blind-sine-wave (1),
     59 .BR blind-triangular-wave (1),
     60 .BR blind-spectrum (1)
     61 .SH AUTHORS
     62 Mattias Andrée
     63 .RI < maandree@kth.se >