1Ppmwheel User Manual(0) Ppmwheel User Manual(0)
2
3
4
6 ppmwheel - make a PPM image of a color wheel
7
8
10 ppmwheel diameter [{-huevalue | -huesaturation}] [-maxval=N]
11
12
13
15 This program is part of Netpbm(1).
16
17 ppmwheel produces a PPM image of a color wheel of the specified diame‐
18 ter inside a white square just large enough to hold it.
19
20 The color wheel is based on the HSV color model. Hues are distributed
21 angularly around the circle and the values and saturations are dis‐
22 tributed
23 radially.
24
25 You can generate three kinds of color wheel:
26
27
28 · Hue-value: Select this with a -huevalue option.
29
30 The saturation is 100% everywhere. The value goes from zero to
31 100%
32 linearly, from the center of the wheel to the edge. So the
33 center is black.
34
35 Hence, the image consists of all of the secondary colors based
36 on the
37 red, green, and blue primary colors. A secondary color is one
38 that is
39 composed of light of at most two of the three primary colors.
40
41
42 · Hue-saturation: Select this with a -huesaturation option.
43
44 The value is 100% everywhere. The saturation goes from zero to
45 100%
46 linearly, from the center of the wheel to the edge. So the
47 center is white.
48
49
50 · Ppmcirc: Select this by not specifying any other wheel type
51 option.
52
53 The saturation is 100% everywhere. The value is a strange func‐
54 tion of
55 the distance from the center, increasing as the square root of
56 the distance
57 until halfway out, then decreasing as the 8th root of the dis‐
58 tance the rest
59 of the way. We don't know what the point of this is, but it
60 is what the
61 program Ppmcirc by Peter Kirchgessner in 1995 does, and was
62 the only option
63 in ppmwheel from its inception in 2003 to 2019.
64
65
66
67
68
70 You must specify one non-option argument: the radius of the color wheel
71 in pixels.
72
73 This is also the height and width of the output image.
74
75
76
78 In addition to the options common to all programs based on libnetpbm
79 (most notably -quiet, see
80 Common Options ⟨index.html#commonoptions⟩ ), ppmwheel recognizes the
81 following command line options:
82
83
84
85 -huevalue
86
87 This selects a hue-value color wheel.
88
89 This option was new in Netpbm 10.86 (March 2019).
90
91
92 -huesaturation
93
94 This selects a hue-saturation color wheel.
95
96 This option was new in Netpbm 10.86 (March 2019).
97
98
99 -maxval=N
100
101 This selects the maxval for the image. The default is 255.
102
103 This option was new in Netpbm 10.86 (March 2019).
104
105
106
107
108
110 ppmcie(1), ppmrainbow(1), ppm(1)
111
112
114 ppmwheel was added to Netpbm in Release 10.14 (March 2003).
115
116
117
119 Copyright (C) 1995 by Peter Kirchgessner
120
122 This manual page was generated by the Netpbm tool 'makeman' from HTML
123 source. The master documentation is at
124
125 http://netpbm.sourceforge.net/doc/ppmwheel.html
126
127netpbm documentation 03 February 2019 Ppmwheel User Manual(0)