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 -huevalue
79
80 This selects a hue-value color wheel.
81
82 This option was new in Netpbm 10.86 (March 2019).
83
84
85 -huesaturation
86
87 This selects a hue-saturation color wheel.
88
89 This option was new in Netpbm 10.86 (March 2019).
90
91
92 -maxval=N
93
94 This selects the maxval for the image. The default is 255.
95
96 This option was new in Netpbm 10.86 (March 2019).
97
98
99
100
101
103 ppmcie(1), ppmrainbow(1), ppm(1)
104
105
107 ppmwheel was added to Netpbm in Release 10.14 (March 2003).
108
109
110
112 Copyright (C) 1995 by Peter Kirchgessner
113
115 This manual page was generated by the Netpbm tool 'makeman' from HTML
116 source. The master documentation is at
117
118 http://netpbm.sourceforge.net/doc/ppmwheel.html
119
120netpbm documentation 03 February 2019 Ppmwheel User Manual(0)