Gradient Brush and Stroke
Technology and methods for creating a gradient brush including determining a shape of a brush tip of the gradient brush by defining a transparency mask in the shape of the brush tip, and defining a gradient usable to tint each individual stamp formed by the transparency mask being stamped onto a target image surface. Also technology and methods for generating a gradient brush stroke including selecting a transparency mask, selecting a gradient, stamping the transparency mask two or more times onto a target image surface proximate a trail of the gradient brush stroke wherein two or more stamps are formed, and tinting each individual stamp with the gradient independent of the other stamps.
1 . A method for generating a gradient brush stroke in a graphics design application, the method comprising:
defining a first transparency mask;
stamping the first transparency mask onto a target image surface proximate a trail of the gradient brush stroke;
tinting the first stamp with a first gradient;
defining a second transparency mask;
stamping the second transparency mask on the target image surface proximate the trail of the gradient brush stroke; and
tinting the second stamp with a second gradient, the second gradient being separate from the first gradient.
2 . The method of claim 1 wherein the first gradient is different from the second gradient.
3 . The method of claim 2 wherein an orientation of the first gradient is different than an orientation of the second gradient.
4 . The method of claim 3 wherein the orientation of the first gradient is relative to a portion of the trail of the gradient brush stroke proximate to the first stamp.
5 . The method of claim 4 wherein the orientation of the first gradient is tangential to the trail of the gradient brush stroke at the location of the first stamp.
6 . The method of claim 2 wherein a type of the first gradient is different from a type of the second gradient.
7 . The method of claim 1 wherein the first gradient or the second gradient is oriented responsive to an input generated by a user device.
8 . The method of claim 1 wherein an orientation of the first gradient or the second gradient is in a pre-defined direction.
9 . The method of claim 1 embodied as computer-executable instructions on computer-readable media.
10 . A computer-readable medium including computer-executable instructions embodying a method for generating a gradient brush stroke, the method comprising:
selecting a transparency mask;
stamping the transparency mask onto a target image surface at a first point proximate a trail of the gradient brush stroke to form a first stamp;
tinting the first stamp with a first gradient;
after tinting the first stamp, stamping the transparency mask onto the target image surface at a second point proximate the trail of the gradient brush stroke to form a second stamp of the gradient brush stroke; and
tinting the second stamp with a second gradient.
11 . The computer-readable medium of claim 10 wherein an orientation of the first gradient or the second gradient is in a pre-defined direction.
12 . The computer-readable medium of claim 10 wherein an orientation of the first gradient is different than an orientation of the second gradient.
13 . The computer-readable medium of claim 10 wherein an orientation of the second gradient is tangential to the trail of the gradient brush stroke proximate the second point.
14 . The computer-readable medium of claim 10 wherein the first gradient or the second gradient is oriented responsive to an input of a user device.
15 . The computer-readable medium of claim 14 wherein the input comprises a user device orientation relative to an input surface.
16 . The computer-readable medium of claim 14 wherein the input comprises a user device pressure against an input surface.
17 . The computer-readable medium of claim 14 wherein the input comprises a user device speed of movement relative to an input surface.
18 . The computer-readable medium of claim 10 wherein the first gradient is of a type that is different than a type of the second gradient.
19 . A method for creating a gradient brush in a graphics design application, the method comprising:
defining a transparency mask, the transparency mask usable for stamping onto a target image surface to form a first stamp and a second stamp proximate a single trail of a gradient brush stroke;
defining a first gradient usable for tinting the first stamp; and
defining a second gradient usable for tinting the second stamp, the first gradient being separate from the second gradient.
20 . The method of claim 19 wherein the first gradient is different from the second gradient.