| 1 |
.PS |
| 2 |
gen_init |
| 3 |
|
| 4 |
define Dark {rgbstring(12/255,81/255,122/255)} |
| 5 |
define(`LIGHT',`244/255,244/255,30/255') |
| 6 |
define Light {rgbstring(LIGHT)} |
| 7 |
define(`RED',`217/255,30/255,30/255') |
| 8 |
define Red {rgbstring(RED)} |
| 9 |
|
| 10 |
scale = 2/3 |
| 11 |
sk = 2 |
| 12 |
boxwid = 8.2/sk |
| 13 |
boxht = boxwid/2 |
| 14 |
nlines = 115 |
| 15 |
lw = boxwid/nlines |
| 16 |
spl_tens = ctension_ |
| 17 |
|
| 18 |
Box: box invis |
| 19 |
BL: box invis ht Box.ht wid Box.wid/2-lw/2 shaded Light with .sw at Box.sw |
| 20 |
BR: box invis ht Box.ht wid Box.wid/2+lw/2 shaded Dark with .sw at BL.se |
| 21 |
|
| 22 |
define coord { Box.nw+($`'1)/sk } |
| 23 |
define mirror { (Box.nw.x+2.28-$`'1.x/sk,Box.nw.y+$`'1.y/sk) } |
| 24 |
|
| 25 |
D1[m4inx]: 2.28,-0.43 |
| 26 |
D1[m4inx]: 2.71,-0.49 |
| 27 |
D1[m4inx]: 3.14,-0.63 |
| 28 |
D1[m4inx]: 3.56,-0.89 |
| 29 |
D1[m4inx]: 3.85,-1.33 |
| 30 |
D1[m4inx]: 3.88,-1.65 |
| 31 |
D1[m4inx]: 3.85,-1.96 |
| 32 |
D1[m4inx]: 3.82,-2.11 |
| 33 |
D1[m4inx]: 3.77,-2.09 |
| 34 |
D1[m4inx]: 3.64,-1.80 |
| 35 |
D1[m4inx]: 3.61,-1.70 |
| 36 |
D1[m4inx]: 3.58,-1.58 |
| 37 |
D1[m4inx]: 3.57,-1.57 |
| 38 |
D1[m4inx]: 3.57,-1.56 |
| 39 |
D1[m4inx]: 3.52,-1.44 |
| 40 |
D1[m4inx]: 3.57,-1.99 |
| 41 |
D1[m4inx]: 3.70,-2.29 |
| 42 |
D1[m4inx]: 3.85,-2.55 |
| 43 |
D1[m4inx]: 3.94,-2.80 |
| 44 |
D1[m4inx]: 3.95,-2.92 |
| 45 |
D1[m4inx]: 3.95,-2.97 |
| 46 |
D1[m4inx]: 3.86,-3.21 |
| 47 |
D1[m4inx]: 3.35,-3.51 |
| 48 |
D1[m4inx]: 3.21,-3.60 |
| 49 |
D1[m4inx]: 3.16,-3.71 |
| 50 |
D1[m4inx]: 3.16,-4.10 |
| 51 |
n1 = m4x |
| 52 |
|
| 53 |
define(`m4x',0) |
| 54 |
D2[m4inx]: 2.88,-4.10 |
| 55 |
D2[m4inx]: 2.80,-4.02 |
| 56 |
D2[m4inx]: 2.78,-4.02 |
| 57 |
D2[m4inx]: 2.70,-4.03 |
| 58 |
D2[m4inx]: 2.68,-4.10 |
| 59 |
n2 = m4x |
| 60 |
|
| 61 |
define(`m4x',0) |
| 62 |
D3[m4inx]: 2.36,-4.10 |
| 63 |
D3[m4inx]: 2.34,-4.04 |
| 64 |
D3[m4inx]: 2.28,-4.04 |
| 65 |
n3 = m4x |
| 66 |
|
| 67 |
define(`m4x',0) |
| 68 |
D4[m4inx]: 2.40,-2.46 |
| 69 |
D4[m4inx]: 2.45,-2.72 |
| 70 |
D4[m4inx]: 2.60,-2.82 |
| 71 |
D4[m4inx]: 2.78,-3.01 |
| 72 |
D4[m4inx]: 2.99,-3.21 |
| 73 |
D4[m4inx]: 3.20,-3.28 |
| 74 |
D4[m4inx]: 3.43,-3.24 |
| 75 |
D4[m4inx]: 3.63,-3.08 |
| 76 |
D4[m4inx]: 3.72,-2.86 |
| 77 |
D4[m4inx]: 3.73,-2.74 |
| 78 |
D4[m4inx]: 3.70,-2.62 |
| 79 |
D4[m4inx]: 3.55,-2.43 |
| 80 |
D4[m4inx]: 3.35,-2.30 |
| 81 |
D4[m4inx]: 3.00,-2.22 |
| 82 |
D4[m4inx]: 2.64,-2.24 |
| 83 |
D4[m4inx]: 2.43,-2.36 |
| 84 |
D4[m4inx]: 2.40,-2.45 |
| 85 |
n4 = m4x |
| 86 |
|
| 87 |
define(`m4x',0) |
| 88 |
D5[m4inx]: 2.28,-3.17 |
| 89 |
D5[m4inx]: 2.47,-3.49 |
| 90 |
D5[m4inx]: 2.57,-3.52 |
| 91 |
D5[m4inx]: 2.66,-3.45 |
| 92 |
D5[m4inx]: 2.63,-3.30 |
| 93 |
D5[m4inx]: 2.38,-2.95 |
| 94 |
D5[m4inx]: 2.33,-2.89 |
| 95 |
D5[m4inx]: 2.28,-2.90 |
| 96 |
n5 = m4x |
| 97 |
|
| 98 |
define(`skull',`[ |
| 99 |
setrgb(RED) |
| 100 |
rgbfill(RED,` |
| 101 |
spline spl_tens from coord(D1[1]) to coord(D1[2]) |
| 102 |
for i=3 to n1 do { continue to coord(D1[i]) } |
| 103 |
line to coord(D2[1]) |
| 104 |
spline spl_tens to coord(D2[2]) then to coord(D2[3]) \ |
| 105 |
then to coord(D2[4]) then to coord(D2[5]) |
| 106 |
line to coord(D3[1]) |
| 107 |
spline spl_tens to coord(D3[1]) to coord(D3[2]) then to coord(D3[3]) \ |
| 108 |
then to mirror(D3[2]) then to mirror(D3[1]) |
| 109 |
line to mirror(D2[5]) |
| 110 |
spline spl_tens to mirror(D2[4]) then to mirror(D2[3]) \ |
| 111 |
then to mirror(D2[2]) then to mirror(D2[1]) |
| 112 |
line to mirror(D1[n1]) |
| 113 |
spline spl_tens to mirror(D1[n1-1]) |
| 114 |
for i=n1-2 to 1 by -1 do { continue to mirror(D1[i]) } |
| 115 |
') |
| 116 |
# |
| 117 |
spline spl_tens outlined Red shaded `$1' from coord(D4[1]) to coord(D4[1]) |
| 118 |
for i=2 to n4 do { continue to coord(D4[i]) } |
| 119 |
continue to coord(D4[1]) |
| 120 |
|
| 121 |
spline spl_tens outlined Red shaded `$1' from mirror(D4[1]) to mirror(D4[1]) |
| 122 |
for i=2 to n4 do { continue to mirror(D4[i]) } |
| 123 |
continue to mirror(D4[1]) |
| 124 |
# |
| 125 |
spline spl_tens outlined Red shaded `$1' from coord(D5[1]) to coord(D5[1]) |
| 126 |
for i=2 to n5 do { continue to coord(D5[i]) } |
| 127 |
for i=n5-1 to 2 by -1 do { continue to mirror(D5[i]) } |
| 128 |
continue to mirror(D5[1]) |
| 129 |
resetrgb |
| 130 |
]') |
| 131 |
|
| 132 |
skull(`Light') with .n at coord(D1[1]) |
| 133 |
D: coord(D1[1])-Box.nw |
| 134 |
skull(`Dark') with .n at Box.ne + (-D.x+lw,D.y) |
| 135 |
|
| 136 |
for i=0 to (nlines-1)/2 by 2 do { |
| 137 |
line thick lw/(1bp__) outlined Dark from BL.sw+(lw*(i+0.5),0) up boxht |
| 138 |
line thick lw/(1bp__) outlined Light from BR.sw+(lw*(i+0.5),0) up boxht |
| 139 |
} |
| 140 |
|
| 141 |
.PE |