| 1 |
% +AMDG This document was begun on 16 July 11EX, the |
| 2 |
% Commemorations of St. Comillus de Lellis, C, and St. |
| 3 |
% Symphorosa and her seven Sons, MM, and it is humbly |
| 4 |
% dedicated to them and to the Immaculate Heart of Mary for |
| 5 |
% their prayers, and to the Sacred Heart of Jesus for His |
| 6 |
% mercy. |
| 7 |
|
| 8 |
beginchar(oct"016",9.8em#/5,cap#,dep#); "Right-facing simple fleuron"; |
| 9 |
|
| 10 |
% draw the basal ornament |
| 11 |
curveornw = 9.8em/6; |
| 12 |
penpos0(thickl,90); |
| 13 |
z0r = (curveornw/6,h); |
| 14 |
penpos1(1.5thinl,180); |
| 15 |
z1r = (ss,3h/4); |
| 16 |
penpos2(thinl,225); |
| 17 |
z2 = ((x1l+x0)/2,h/2); |
| 18 |
penpos3(1.5thinl,180); |
| 19 |
z3r = (x0+o,h/4); |
| 20 |
penpos4(thickl,90); |
| 21 |
z4l = (ss+1.5thinl,0); |
| 22 |
penpos5(1.5thinl,0); |
| 23 |
z5l = z0l; |
| 24 |
penpos6(thinl,-90); |
| 25 |
z6l = z5l; |
| 26 |
penpos7(thinl,180); |
| 27 |
z7l = z6l; |
| 28 |
penpos8(1.5thinl,0); |
| 29 |
z8r = z4r; |
| 30 |
penpos9(thinl,-90); |
| 31 |
z9r = z8r; |
| 32 |
penpos10(thinl,180); |
| 33 |
z10r = z9r; |
| 34 |
penstroke z0e..z1e..z2e..z3e..z4e; |
| 35 |
penstroke z0e..z5e..z6e..z7e; |
| 36 |
penstroke z4e..z8e..z9e..z10e; |
| 37 |
|
| 38 |
% construct the vaguely heart-shaped leaf bit |
| 39 |
z11 = (0.6w,-dep/3); |
| 40 |
z12 = (w-ss,0.4h); |
| 41 |
z13 = (7w/8,h/4); |
| 42 |
z14 = (3w/4,h/2); |
| 43 |
z15 = (x11-thickstroke,h); |
| 44 |
z16 = (0.4w,3h/4); |
| 45 |
z17 = (w/2,h/2); |
| 46 |
z18 = (w/3,h/4); |
| 47 |
z19 = z12 shifted (-thinl,thinl); |
| 48 |
z20 = z19 shifted (-thinl,-thinl); |
| 49 |
z21 = z20 shifted (thinl,-thinl); |
| 50 |
z22 = (x16,(y15+y16)/2-thinl); |
| 51 |
fill |
| 52 |
z11{right}..{up}z12..z19..z20..{right}z21{down}..z13.. |
| 53 |
z14..{left}z15{left}..z22..{down}z16{down}.. |
| 54 |
{dir -45}z17{dir -160}..{down}z18{down}..{right}cycle; |
| 55 |
|
| 56 |
% draw the stem |
| 57 |
penpos23(thinl,90); |
| 58 |
z23 = z17; |
| 59 |
penpos24(1.5thinl,90); |
| 60 |
z24 = ((x16+x0)/2,y16); |
| 61 |
penpos25(1.5thinl,135); |
| 62 |
z25 = z2; |
| 63 |
penpos26(1.5thinl,225); |
| 64 |
z26 = z3; |
| 65 |
|
| 66 |
penstroke z23e{left}..z24e..z25e..z26e; |
| 67 |
|
| 68 |
picture simpfleuron; simpfleuron := currentpicture; |
| 69 |
|
| 70 |
penlabels(0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,100); |
| 71 |
endchar; |
| 72 |
|
| 73 |
beginchar(oct"017",9.8em#/5,cap#,dep#); |
| 74 |
"Right-facing simple fleuron, upsidedown"; |
| 75 |
currentpicture := simpfleuron reflectedabout |
| 76 |
((0,h/2),(w,h/2)) shifted (0,-dep/3); |
| 77 |
endchar; |
| 78 |
|
| 79 |
beginchar(oct"020",9.8em#/5,cap#,dep#); |
| 80 |
"Left-facing simple fleuron"; |
| 81 |
currentpicture := simpfleuron reflectedabout ((w/2,h),(w/2,-d)); |
| 82 |
endchar; |
| 83 |
|
| 84 |
beginchar(oct"021",9.8em#/5,cap#,dep#); |
| 85 |
"Left-facing simple fleuron, upsidedown"; |
| 86 |
currentpicture := simpfleuron reflectedabout ((w/2,h),(w/2,-d)) |
| 87 |
reflectedabout ((0,h/2),(w,h/2)) shifted (0,-dep/3); |
| 88 |
endchar; |
| 89 |
|
| 90 |
beginchar(oct"050",cap#+dep#/3,9.8em#/5,0); |
| 91 |
"Up-facing simple fleuron"; |
| 92 |
currentpicture := simpfleuron rotated (90) shifted (cap,0); |
| 93 |
endchar; |
| 94 |
|
| 95 |
beginchar(oct"051",cap#+dep#/3,9.8em#/5,0); |
| 96 |
"Up-facing simple fleuron, backwards"; |
| 97 |
currentpicture := simpfleuron rotated (90) shifted (cap,0) |
| 98 |
reflectedabout ((w/2,h),(w/2,0)); |
| 99 |
endchar; |
| 100 |
|
| 101 |
beginchar(oct"077",cap#+dep#/3,9.8em#/5,0); |
| 102 |
"Down-facing simple fleuron"; |
| 103 |
currentpicture := simpfleuron rotated (-90) |
| 104 |
shifted (dep/3,9.8em/5); |
| 105 |
endchar; |
| 106 |
|
| 107 |
beginchar(oct"107",cap#+dep#/3,9.8em#/5,0); |
| 108 |
"Down-facing simple fleuron, backwards"; |
| 109 |
currentpicture := simpfleuron rotated (-90) shifted (dep/3,9.8em/5) |
| 110 |
reflectedabout ((w/2,h),(w/2,0)); |
| 111 |
endchar; |
| 112 |
|
| 113 |
beginchar(oct"041",9.8em#/36+1.5thinstroke#+ss#,cap#,0); |
| 114 |
"Simple curve ornament, vertical"; |
| 115 |
|
| 116 |
penpos0(thickl,90); |
| 117 |
z0r = (curveornw/6,h); |
| 118 |
penpos1(1.5thinl,180); |
| 119 |
z1r = (ss,3h/4); |
| 120 |
penpos2(thinl,225); |
| 121 |
z2 = ((x1l+x0)/2,h/2); |
| 122 |
penpos3(1.5thinl,180); |
| 123 |
z3r = (x0+o,h/4); |
| 124 |
penpos4(thickl,90); |
| 125 |
z4l = (ss+1.5thinl,0); |
| 126 |
penpos5(1.5thinl,0); |
| 127 |
z5l = z0l; |
| 128 |
penpos6(thinl,-90); |
| 129 |
z6l = z5l; |
| 130 |
penpos7(thinl,180); |
| 131 |
z7l = z6l; |
| 132 |
penpos8(1.5thinl,0); |
| 133 |
z8r = z4r; |
| 134 |
penpos9(thinl,-90); |
| 135 |
z9r = z8r; |
| 136 |
penpos10(thinl,180); |
| 137 |
z10r = z9r; |
| 138 |
|
| 139 |
penstroke z0e..z1e..z2e..z3e..z4e; |
| 140 |
penstroke z0e..z5e..z6e..z7e; |
| 141 |
penstroke z4e..z8e..z9e..z10e; |
| 142 |
|
| 143 |
picture curveorn; curveorn := currentpicture; |
| 144 |
|
| 145 |
penlabels(0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,100); |
| 146 |
endchar; |
| 147 |
|
| 148 |
beginchar(oct"042",9.8em#/36+1.5thinstroke#+ss#,cap#,0); |
| 149 |
"Simple curve ornament, backwards"; |
| 150 |
currentpicture := curveorn reflectedabout ((w/2,h),(w/2,0)); |
| 151 |
endchar; |
| 152 |
|
| 153 |
beginchar(oct"043",cap#,9.8em#/36+1.5thinstroke#+ss#,0); |
| 154 |
"Simple curve ornament, horizontal"; |
| 155 |
currentpicture := curveorn rotated (-90) |
| 156 |
shifted (0,9.8em/36+1.5thinstroke+ss); |
| 157 |
endchar; |
| 158 |
|
| 159 |
beginchar(oct"045",cap#,9.8em#/36+1.5thinstroke#+ss#,0); |
| 160 |
"Simple curve ornament, horizontal, backwards"; |
| 161 |
currentpicture := curveorn rotated (90) shifted (cap,0); |
| 162 |
endchar; |
| 163 |
|
| 164 |
beginchar(oct"023",9.8em#/5,cap#,cap#); "Double tulip fleuron"; |
| 165 |
|
| 166 |
% set the points for the tulip |
| 167 |
tulw = (6cap/8); |
| 168 |
z0 = (ss+5tulw/6,h/6+2thickstroke); |
| 169 |
z1 = (ss+tulw/2,h/6); |
| 170 |
z2 = z1 shifted (0,thinl); |
| 171 |
z3 = (x0-thickl,y2+thinl); |
| 172 |
z4 = (x3+thinl,h/3); |
| 173 |
z5 = (tulw,15h/16); |
| 174 |
z6 = (x5-thinl,y5-thinl); |
| 175 |
z7 = (tulw/2,2h/3); |
| 176 |
z8 = (x3,y5); |
| 177 |
z9 = z8 shifted (-0.5thinl,-0.5thinl); |
| 178 |
z10 = ((x7+x9)/2,13h/16); |
| 179 |
z11 = (x2-thinstroke/2,h); |
| 180 |
z12 = ((x10+x11)/2,13h/16); |
| 181 |
z13 = z1 shifted (-thinstroke/2,0); |
| 182 |
z14 = z10 reflectedabout (z11,z13); |
| 183 |
z15 = z1 reflectedabout (z11,z13); |
| 184 |
|
| 185 |
% define the paths for the tulip |
| 186 |
path rightbase; |
| 187 |
rightbase = z1{right}..{up}z0{dir 260}..{left}z2--cycle; |
| 188 |
path leftbase; leftbase = rightbase reflectedabout (z11,z13); |
| 189 |
path rightpetal; rightpetal = z2{right}..z3..z4.. |
| 190 |
{dir 45}z6..{dir 45}z5{left}..{dir 205}z9.. |
| 191 |
{dir -135}z7{up}--z15--cycle; |
| 192 |
path leftpetal; leftpetal = rightpetal reflectedabout (z11,z13); |
| 193 |
path centpetal; centpetal = z10..{dir 135}z11{dir 225}.. |
| 194 |
z14{down}..{right}z7{right}..{up}cycle; |
| 195 |
% unit all the paths into a macro, allowing for shifting |
| 196 |
% and rotating around its own center |
| 197 |
def drawtulip(expr rot)(expr shift) = |
| 198 |
pickup pencircle scaled thinl; |
| 199 |
erase draw centpetal rotatedaround (((tulw/2),(y11+y13)/2),rot) |
| 200 |
shifted (shift); |
| 201 |
erase draw leftpetal rotatedaround (((tulw/2),(y11+y13)/2),rot) |
| 202 |
shifted (shift); |
| 203 |
erase draw rightpetal rotatedaround (((tulw/2),(y11+y13)/2),rot) |
| 204 |
shifted (shift); |
| 205 |
erase draw leftbase rotatedaround (((tulw/2),(y11+y13)/2),rot) |
| 206 |
shifted (shift); |
| 207 |
erase draw rightbase rotatedaround (((tulw/2),(y11+y13)/2),rot) |
| 208 |
shifted (shift); |
| 209 |
fill centpetal rotatedaround (((tulw/2),(y11+y13)/2),rot) |
| 210 |
shifted (shift); |
| 211 |
fill leftpetal rotatedaround (((tulw/2),(y11+y13)/2),rot) |
| 212 |
shifted (shift); |
| 213 |
fill rightpetal rotatedaround (((tulw/2),(y11+y13)/2),rot) |
| 214 |
shifted (shift); |
| 215 |
fill leftbase rotatedaround (((tulw/2),(y11+y13)/2),rot) |
| 216 |
shifted (shift); |
| 217 |
fill rightbase rotatedaround (((tulw/2),(y11+y13)/2),rot) |
| 218 |
shifted (shift); |
| 219 |
enddef; |
| 220 |
|
| 221 |
% define the points for the stems |
| 222 |
|
| 223 |
penpos20(thinl,45); |
| 224 |
z20l = z4; |
| 225 |
penpos21(1.5thinl,90); |
| 226 |
z21 = (w/2,h/4); |
| 227 |
penpos22(thinl,135); |
| 228 |
z22r = z21r shifted (thinl,thinl); |
| 229 |
penpos23(1.5thinl,-90); |
| 230 |
z23l = (w/2,h); |
| 231 |
penpos24(thinl,45); |
| 232 |
z24 = z22 reflectedabout (z23,z21); |
| 233 |
penpos25(thinl,135); |
| 234 |
z25 = z20 reflectedabout (z23,z21); |
| 235 |
|
| 236 |
% define the points for the flourishes |
| 237 |
|
| 238 |
penpos30(thinl,90); |
| 239 |
z30 = 0.5[z23,z21]; |
| 240 |
penpos31(thinl,90); |
| 241 |
z31 = (x25r,5h/6); |
| 242 |
penpos32(thinl,90); |
| 243 |
z32 = z31 reflectedabout (z23,z21); |
| 244 |
penpos33(thinl,180); |
| 245 |
z33r = (ss,h/2); |
| 246 |
penpos34(1.5thinl,-90); |
| 247 |
z34r = (w/4,0); |
| 248 |
penpos35(1.5thinl,-90); |
| 249 |
z35 = (w/2,h/8); |
| 250 |
penpos36(1.5thinl,-90); |
| 251 |
z36 = z34 reflectedabout ((w/2,0),(w/2,h)); |
| 252 |
penpos37(thinl,0); |
| 253 |
z37 = z33 reflectedabout ((w/2,0),(w/2,h)); |
| 254 |
|
| 255 |
% draw the flourishes |
| 256 |
|
| 257 |
penstroke z30e..z32e..z33e..z34e..z35e..z36e..z37e..z31e..z30e; |
| 258 |
|
| 259 |
% draw the two tulips |
| 260 |
drawtulip(45,(0,0)); |
| 261 |
drawtulip(-45,(w-tulw,0)); |
| 262 |
|
| 263 |
% draw the stems, erasing first so we have the right |
| 264 |
% overlaps |
| 265 |
pickup pencircle scaled 1.5thinl; |
| 266 |
erase draw z21..z22..z23..z24..z21; |
| 267 |
penstroke z20e..z21e..z22e..z23e..z24e..z21e..z25e; |
| 268 |
|
| 269 |
picture doubletulip; doubletulip := currentpicture; |
| 270 |
|
| 271 |
currentpicture := doubletulip + |
| 272 |
doubletulip reflectedabout ((0,0),(w,0)); |
| 273 |
|
| 274 |
penlabels(0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,100); |
| 275 |
endchar; |
| 276 |
|
| 277 |
beginchar(oct"024",9.8em#/5,cap#,0); |
| 278 |
"Double tulip fleuron, half, upward"; |
| 279 |
currentpicture := doubletulip; |
| 280 |
endchar; |
| 281 |
|
| 282 |
beginchar(oct"027",9.8em#/5,cap#,cap#); |
| 283 |
"Double tulip fleuron, half, downward"; |
| 284 |
currentpicture := doubletulip reflectedabout ((0,h/2),(w,h/2)) |
| 285 |
shifted (0,-cap); |
| 286 |
endchar; |
| 287 |
|
| 288 |
beginchar(oct"036",cap#,9.8em#/5,0); |
| 289 |
"Double tulip fleuron, half, rightward"; |
| 290 |
currentpicture := doubletulip rotated (-90) |
| 291 |
shifted (0,9.8em/5); |
| 292 |
endchar; |
| 293 |
|
| 294 |
beginchar(oct"037",cap#,9.8em#/5,0); |
| 295 |
"Double tulip fleuron, half, leftward"; |
| 296 |
currentpicture := doubletulip rotated (90) |
| 297 |
shifted (cap,0); |
| 298 |
endchar; |
| 299 |
|
| 300 |
beginchar(oct"046",2cap#,9.8em#/5,0); |
| 301 |
"Double tulip fleuron, half, leftward"; |
| 302 |
currentpicture := doubletulip rotated (90) |
| 303 |
shifted (cap,0) + doubletulip rotated (-90) |
| 304 |
shifted (cap,9.8em/5); |
| 305 |
endchar; |
| 306 |
|
| 307 |
beginchar(oct"053",9.8em#/5,cap#,9.8em#/5-cap#); |
| 308 |
"Upper left corner tulip fleuron"; |
| 309 |
|
| 310 |
z0 = (ss+5tulw/6,h/6+2thickstroke); |
| 311 |
z1 = (ss+tulw/2,h/6); |
| 312 |
z2 = z1 shifted (0,thinl); |
| 313 |
z11 = (x2-thinstroke/2,h); |
| 314 |
z13 = z1 shifted (-thinstroke/2,0); |
| 315 |
z3 = (x0-thickl,y2+thinl); |
| 316 |
z4 = (x3+thinl,h/3); |
| 317 |
penpos20(thinl,45); |
| 318 |
z20l = z4; |
| 319 |
penpos21(thinl,0); |
| 320 |
%z21r = (0.4w,0); |
| 321 |
z21r = (cap,0); |
| 322 |
z22 = (w,h) rotatedaround ((0,h),-45); |
| 323 |
penpos23(1.5thinl,-90); |
| 324 |
z23 = (w/4,-d/3); |
| 325 |
penpos24(thinl,0); |
| 326 |
z24l = (ss,-2d/3); |
| 327 |
penpos25(thinl,90); |
| 328 |
z25l = (w/4,-d); |
| 329 |
penpos26(0.5thinl,180); |
| 330 |
%z26 = (w/3,-2d/3); |
| 331 |
z26 = (0.41w,-2d/3); |
| 332 |
penpos27(thinl,90); |
| 333 |
z27l = (x26l,-d); |
| 334 |
penpos28(thinl,45); |
| 335 |
z28r = ((x26+x24)/2,y24-thinl); |
| 336 |
penpos29(thinl,0); |
| 337 |
z29l = (ss,-d/3); |
| 338 |
penpos30(thinl,-135); |
| 339 |
%z30 = (x26,(y23+y26)/2); |
| 340 |
z30 = (x26,(y33+y23)/2); |
| 341 |
penpos31(thinl,0); |
| 342 |
z31l = (ss,-d/6); |
| 343 |
penpos32(thinl,-90); |
| 344 |
z32r = (w/3,0); |
| 345 |
penpos33(0.5thinl,180); |
| 346 |
z33 = (x21,y23); |
| 347 |
penpos34(thinl,180); |
| 348 |
z34r = (ss,h/8); |
| 349 |
penpos35(thinl,90); |
| 350 |
z35 = (w/8,2h/3); |
| 351 |
|
| 352 |
penstroke z35e..z34e..z30e..z27e..z28e..z29e..z31e..z32e..z33e; |
| 353 |
penstroke (z35e..z34e..z30e..z27e..z28e..z29e..z31e..z32e..z33e) |
| 354 |
reflectedabout (z20,z22); |
| 355 |
pickup pencircle scaled 1.5thinl; |
| 356 |
erase undraw z20..z21..z23..z24..z25..z26; |
| 357 |
erase undraw (z20..z21..z23..z24..z25..z26) |
| 358 |
reflectedabout (z20,z22); |
| 359 |
drawtulip(45,(0,0)); |
| 360 |
penstroke z20e..z21e..z23e..z24e..z25e..z26e; |
| 361 |
penstroke (z20e..z21e..z23e..z24e..z25e..z26e) |
| 362 |
reflectedabout (z20,z22); |
| 363 |
|
| 364 |
picture cornertulip; cornertulip := currentpicture; |
| 365 |
|
| 366 |
penlabels(0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,100); |
| 367 |
endchar; |
| 368 |
|
| 369 |
beginchar(oct"072",9.8em#/5,cap#,9.8em#/5-cap#); |
| 370 |
"Upper right corner tulip fleuron"; |
| 371 |
currentpicture := cornertulip reflectedabout |
| 372 |
((w/2,h),(w/2,-d)); |
| 373 |
endchar; |
| 374 |
|
| 375 |
beginchar(oct"073",9.8em#/5,cap#,9.8em#/5-cap#); |
| 376 |
"Lower left corner tulip fleuron"; |
| 377 |
currentpicture := cornertulip reflectedabout |
| 378 |
((0,0),(w,0)); |
| 379 |
endchar; |
| 380 |
|
| 381 |
beginchar(oct"110",9.8em#/5,cap#,9.8em#/5-cap#); |
| 382 |
"Lower right corner tulip fleuron"; |
| 383 |
currentpicture := cornertulip reflectedabout |
| 384 |
((0,0),(w,0)) reflectedabout |
| 385 |
((w/2,h),(w/2,-d)); |
| 386 |
endchar; |
| 387 |
|
| 388 |
beginchar(oct"111",2(9.8em#/5),cap#,0); |
| 389 |
"Upward single tulip fleuron"; |
| 390 |
|
| 391 |
z0 = (ss+5tulw/6,h/6+2thickstroke); |
| 392 |
z1 = (ss+tulw/2,h/6); |
| 393 |
z2 = z1 shifted (0,thinl); |
| 394 |
z11 = (x2-thinstroke/2,h); |
| 395 |
z13 = z1 shifted (-thinstroke/2,0); |
| 396 |
z3 = (x0-thickl,y2+thinl); |
| 397 |
z4 = (x3+thinl,h/3); |
| 398 |
|
| 399 |
penpos19(thinl,0); |
| 400 |
z19 = (w/2,h/2); |
| 401 |
penpos20(thinl,0); |
| 402 |
z20 = (w/2,h/6); |
| 403 |
penpos21(thinl,-90); |
| 404 |
z21r = (0.45w,0); |
| 405 |
penpos22(thinl,180); |
| 406 |
z22 = (0.4w,h/2); |
| 407 |
penpos23(thinl,-90); |
| 408 |
z23l = (0.3w,h); |
| 409 |
penpos24(thinl,-90); |
| 410 |
z24r = (0.15w,0); |
| 411 |
penpos25(thinl,180); |
| 412 |
z25r = (ss,h/2); |
| 413 |
penpos26(thinl,0); |
| 414 |
z26 = (0.225w,h/2); |
| 415 |
penpos27(thinl,90); |
| 416 |
z27r = (0.1w,h); |
| 417 |
penpos28(0.5thinl,-45); |
| 418 |
z28 = (x27,y25); |
| 419 |
penpos29(thinl,0); |
| 420 |
z29 = (x24,3h/4); |
| 421 |
penpos30(thinl,0); |
| 422 |
z30 = (w/2,h/2); |
| 423 |
penpos31(thinl,90); |
| 424 |
z31 = (x22,5h/6); |
| 425 |
penpos32(thinl,180); |
| 426 |
z32 = ((x23+x26)/2,h/2); |
| 427 |
penpos33(thinl,270); |
| 428 |
z33r = (x23,0); |
| 429 |
penpos34(thinl,0); |
| 430 |
z34 = (x23+(x23-x32),y26); |
| 431 |
penpos36(thinl,180); |
| 432 |
z36 = ((x27+x25)/2,y29); |
| 433 |
penpos35(thinl,90); |
| 434 |
z35r = ((x36+x23)/2,h); |
| 435 |
penpos37(thinl,180); |
| 436 |
z37 = ((x25+x28)/2,h/2); |
| 437 |
penpos38(thinl,-90); |
| 438 |
z38 = (x28,h/4); |
| 439 |
penpos39(0.5thinl,0); |
| 440 |
z39 = ((x28+x26)/2,h/2); |
| 441 |
|
| 442 |
penstroke z30e..z31e..z32e..z33e..z34e..z35e..z36e.. |
| 443 |
z38e..z39e; |
| 444 |
penstroke (z30e..z31e..z32e..z33e..z34e..z35e..z36e.. |
| 445 |
z38e..z39e) reflectedabout ((w/2,h),(w/2,0)); |
| 446 |
pickup pencircle scaled 1.5thinl; |
| 447 |
erase draw z19---z20..z21..z22..z23..z26..z24..z25.. |
| 448 |
z27..z29..z28; |
| 449 |
erase draw (z19---z20..z21..z22..z23..z26..z24..z25.. |
| 450 |
z27..z29..z28) reflectedabout ((w/2,h),(w/2,0)); |
| 451 |
drawtulip(0,(w/2-tulw/2,0)); |
| 452 |
penstroke z19e---z20e..z21e..z22e..z23e..z26e..z24e..z25e.. |
| 453 |
z27e..z29e..z28e; |
| 454 |
penstroke (z19e---z20e..z21e..z22e..z23e..z26e..z24e..z25e.. |
| 455 |
z27e..z29e..z28e) reflectedabout ((w/2,h),(w/2,0)); |
| 456 |
|
| 457 |
picture singletulip; singletulip := currentpicture; |
| 458 |
|
| 459 |
penlabels(0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,100); |
| 460 |
endchar; |
| 461 |
|
| 462 |
beginchar(oct"112",2(9.8em#/5),cap#,cap#); |
| 463 |
"Downward single tulip fleuron"; |
| 464 |
currentpicture := singletulip reflectedabout |
| 465 |
((0,h/2),(w,h/2)) shifted (0,-cap); |
| 466 |
endchar; |
| 467 |
|
| 468 |
beginchar(oct"113",cap#,2(9.8em#/5),0); |
| 469 |
"Leftward single tulip fleuron"; |
| 470 |
currentpicture := singletulip rotated (90) shifted (cap,0); |
| 471 |
picture lefttulip; lefttulip := currentpicture; |
| 472 |
endchar; |
| 473 |
|
| 474 |
%beginchar(oct"114",cap#,(9.8em#/5),(9.8em#/5)); |
| 475 |
beginchar(oct"114",cap#,2(9.8em#/5),0); |
| 476 |
"Rightward single tulip fleuron"; |
| 477 |
currentpicture := lefttulip reflectedabout ((w/2,h),(w/2,0)); |
| 478 |
endchar; |
| 479 |
|
| 480 |
beginchar(oct"116",cap#,cap#,0); |
| 481 |
"Upward single narrow tulip"; |
| 482 |
|
| 483 |
z0 = (ss+5tulw/6,h/6+2thickstroke); |
| 484 |
z1 = (ss+tulw/2,h/6); |
| 485 |
z2 = z1 shifted (0,thinl); |
| 486 |
z11 = (x2-thinstroke/2,h); |
| 487 |
z13 = z1 shifted (-thinstroke/2,0); |
| 488 |
z3 = (x0-thickl,y2+thinl); |
| 489 |
z4 = (x3+thinl,h/3); |
| 490 |
penpos20(thinl,0); |
| 491 |
z20 = (w/2,h/2); |
| 492 |
penpos21(thinl,0); |
| 493 |
z21 = (w/2,h/6); |
| 494 |
penpos22(1.2thinl,90); |
| 495 |
z22l = (3w/4,0); |
| 496 |
penpos23(thinl,180); |
| 497 |
z23l = (w-ss,h/2); |
| 498 |
penpos24(1.2thinl,-90); |
| 499 |
z24l = (3w/4,h); |
| 500 |
penpos25(thinl,0); |
| 501 |
z25 = (w/2,5h/6); |
| 502 |
|
| 503 |
penstroke z20e---z21e..z22e..z23e..z24e..z25e; |
| 504 |
penstroke (z20e---z21e..z22e..z23e..z24e..z25e) |
| 505 |
reflectedabout ((w/2,h),(w/2,0)); |
| 506 |
drawtulip(0,(w/2-tulw/2,0)); |
| 507 |
pickup pencircle scaled thinl; |
| 508 |
draw z20--z21; |
| 509 |
|
| 510 |
picture singlenarrowtulip; singlenarrowtulip := currentpicture; |
| 511 |
|
| 512 |
penlabels(0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,100); |
| 513 |
endchar; |
| 514 |
|
| 515 |
beginchar(oct"121",cap#,cap#,cap#); |
| 516 |
"Downward single narrow tulip"; |
| 517 |
currentpicture := singlenarrowtulip reflectedabout |
| 518 |
((0,0),(w,0)); |
| 519 |
endchar; |
| 520 |
|
| 521 |
beginchar(oct"122",cap#,cap#,cap#); |
| 522 |
"Leftward single narrow tulip"; |
| 523 |
currentpicture := singlenarrowtulip rotatedabout |
| 524 |
((w/2,h/2),90); |
| 525 |
endchar; |
| 526 |
|
| 527 |
beginchar(oct"123",cap#,cap#,cap#); |
| 528 |
"Leftward single narrow tulip"; |
| 529 |
currentpicture := singlenarrowtulip rotatedabout |
| 530 |
((w/2,h/2),-90); |
| 531 |
endchar; |
| 532 |
|
| 533 |
beginchar(oct"124",3cap#,cap#,0); "Right-pointing spearhead"; |
| 534 |
|
| 535 |
z0 = (0,h); |
| 536 |
z1 = (0,0); |
| 537 |
z2 = (ex/3,h/4); |
| 538 |
z3 = (ex/3,3h/4); |
| 539 |
z4 = (-ex/3,h/4); |
| 540 |
z5 = (-ex/3,3h/4); |
| 541 |
path solidellipse; |
| 542 |
solidellipse = z0{right}..z3---z2..{left}z1{left}..z4---z5..{right}cycle; |
| 543 |
|
| 544 |
fill solidellipse scaled 0.8 shifted (w/8,0.1h); |
| 545 |
pickup pencircle scaled 1.5thinl; |
| 546 |
z6 = (0,h/2+thickl); |
| 547 |
z7 = z6 shifted (0,-2thickl); |
| 548 |
z8 = (w/4,y6); |
| 549 |
z9 = (w/4,y7); |
| 550 |
top z10 = (w/3,h); |
| 551 |
bot z11 = (w/3,0); |
| 552 |
z12 = (w/2,3h/4); |
| 553 |
z13 = (w/2,h/4); |
| 554 |
z14 = (3w/4,2h/3); |
| 555 |
z15 = (3w/4,h/3); |
| 556 |
rt z16 = (w,h/2); |
| 557 |
|
| 558 |
draw |
| 559 |
z6--z8..z10..z12..z14..{dir -15}z16{dir -165}..z15..z13..z11..z9--z7; |
| 560 |
|
| 561 |
pickup pencircle scaled thinl; |
| 562 |
z17 = 0.5[z10,z11]; |
| 563 |
z18 = 0.5[z14,z15]; |
| 564 |
draw z17--z18; |
| 565 |
|
| 566 |
picture spearhead; spearhead := currentpicture; |
| 567 |
|
| 568 |
penlabels(0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16); |
| 569 |
endchar; |
| 570 |
|
| 571 |
beginchar(oct"125",3cap#,cap#,0); "Left-pointing spearhead"; |
| 572 |
currentpicture := spearhead rotatedaround ((w/2,h/2),180); |
| 573 |
endchar; |
| 574 |
|
| 575 |
beginchar(oct"126",pwid#,cap#,0); "Horizontal spear shaft piece"; |
| 576 |
|
| 577 |
pickup pencircle scaled 1.5thinl; |
| 578 |
z0 = (0,h/2+thickl); |
| 579 |
z1 = z0 shifted (0,-2thickl); |
| 580 |
z2 = (w,y0); |
| 581 |
z3 = (w,y1); |
| 582 |
draw z0--z2; draw z1--z3; |
| 583 |
|
| 584 |
penlabels(0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16); |
| 585 |
endchar; |
| 586 |
|
| 587 |
beginchar(oct"132",cap#,3cap#,0); "Up-pointing spearhead"; |
| 588 |
currentpicture := spearhead rotatedaround ((1.5cap,cap/2),90) |
| 589 |
shifted (-cap,cap); |
| 590 |
endchar; |
| 591 |
|
| 592 |
beginchar(oct"146",cap#,3cap#,0); "Down-pointing spearhead"; |
| 593 |
currentpicture := spearhead rotatedaround ((1.5cap,cap/2),-90) |
| 594 |
shifted (-cap,cap); |
| 595 |
endchar; |
| 596 |
|
| 597 |
beginchar(oct"147",cap#,pwid#,0); "Vertical spear shaft"; |
| 598 |
|
| 599 |
pickup pencircle scaled 1.5thinl; |
| 600 |
z0 = (w/2-thickl,0); |
| 601 |
z1 = z0 shifted (2thickl,0); |
| 602 |
z2 = (w/2-thickl,h); |
| 603 |
z3 = z2 shifted (2thickl,0); |
| 604 |
draw z0--z2; draw z1--z3; |
| 605 |
penlabels(0,1,2,3); |
| 606 |
endchar; |
| 607 |
|
| 608 |
beginchar(oct"157",cap#+2ss#,cap#,0); "upright fleur-de-lis"; |
| 609 |
|
| 610 |
z0 = (w/2,h+o); |
| 611 |
z1 = (ss,h/2); |
| 612 |
z2 = (w-ss,2h/3); |
| 613 |
z3 = (w/2,0); |
| 614 |
z4 = (0.36w,2h/3); |
| 615 |
z5 = (0.64w,2h/3); |
| 616 |
z6 = (0.45w,h/3); |
| 617 |
z7 = (0.55w,h/3); |
| 618 |
z8 = (x4,0); |
| 619 |
z9 = (x5,0); |
| 620 |
z10 = (z8 shifted (thinstroke,0)) rotatedaround (z8,-45); |
| 621 |
z11 = (z9 shifted (thinstroke,0)) rotatedaround (z9,225); |
| 622 |
z12 = 0.5[z10,z3]; y12 := 0; |
| 623 |
z13 = 0.5[z11,z3]; y13 := 0; |
| 624 |
z14 = (x3,y11); |
| 625 |
z15 = 0.5[z1,z4]; y15 := 2h/3; |
| 626 |
z16 = 0.5[z2,z5]; y16 := 2h/3; |
| 627 |
z17 = (x4,h/2); |
| 628 |
z18 = z5 shifted (thinstroke,0); |
| 629 |
z19 = z6 shifted (-thinstroke,0); |
| 630 |
z20 = z7 shifted (thinstroke,0); |
| 631 |
z21 = z8 shifted (0,thinstroke); |
| 632 |
z22 = z9 shifted (0,thinstroke); |
| 633 |
z23 = (2x8/3,0); |
| 634 |
z24 = (x8/3,h/4); |
| 635 |
z25 = z23 shifted (0,thickstroke); |
| 636 |
z26 = z21 shifted (-thinstroke,thinstroke); |
| 637 |
z27 = z19 shifted (-thinstroke,0); |
| 638 |
z28 = 0.5[z17,z27] shifted (-0.5thinstroke,0); |
| 639 |
z29 = z15 shifted (0,-1.5thickstroke); |
| 640 |
z30 = (x1,h/3); |
| 641 |
z31 = z1 shifted (thinstroke,0); |
| 642 |
z32 = z27 shifted (-thickstroke,0); |
| 643 |
z33 = z32 reflectedabout ((w/2,h),(w/2,0)); |
| 644 |
z34 = z32 shifted (thinstroke,thinstroke); |
| 645 |
z35 = z34 reflectedabout ((w/2,h),(w/2,0)); |
| 646 |
z36 = z32 shifted (thinstroke,-thinstroke); |
| 647 |
z37 = z36 reflectedabout ((w/2,h),(w/2,0)); |
| 648 |
|
| 649 |
pickup pencircle scaled 2; |
| 650 |
path middle; |
| 651 |
middle = z0{dir 225}..z4..z6..z8--z10--z12--z14--z13-- |
| 652 |
z11--z9..z7..z5..{dir 135}cycle; |
| 653 |
fill middle; |
| 654 |
|
| 655 |
path side; side = z30..z1..z15..z17..z19..z21..z23.. |
| 656 |
{up}z24{dir -65}..z25..z27..z28..z29..{down}z30..cycle; |
| 657 |
fill side; |
| 658 |
fill side reflectedabout ((w/2,h),(w/2,0)); |
| 659 |
path binder; binder = z32..z34---z35..z33..z37---z36..cycle; |
| 660 |
fill binder; |
| 661 |
|
| 662 |
picture fleurdelis; fleurdelis := currentpicture; |
| 663 |
|
| 664 |
penlabels(0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16); |
| 665 |
penlabels(17,18,19,20,21,22,23,24,25,26,27,28,29,30); |
| 666 |
penlabels(31,32,33,34,35,36,37,38,39,40,41,42,43,44); |
| 667 |
endchar; |
| 668 |
|
| 669 |
beginchar(oct"167",cap#+2ss#,cap#,0); "downward fleur-de-lis"; |
| 670 |
currentpicture := fleurdelis reflectedabout ((0,h/2),(w,h/2)); |
| 671 |
endchar; |
| 672 |
|
| 673 |
beginchar(oct"177",cap#,cap#+2ss#,0); "leftward fleur-de-lis"; |
| 674 |
currentpicture := fleurdelis rotatedaround ((w/2+ss,h/2),-90); |
| 675 |
endchar; |
| 676 |
|
| 677 |
beginchar(oct"316",cap#,cap#+2ss#,0); "rightward fleur-de-lis"; |
| 678 |
currentpicture := fleurdelis rotatedaround ((w/2,h/2-ss),90); |
| 679 |
endchar; |
| 680 |
|
| 681 |
beginchar(oct"317",ex#,ex#,0); "extension winding cord"; |
| 682 |
|
| 683 |
cordwid = thickstroke; |
| 684 |
pickup pensquare scaled 1.5thinl; |
| 685 |
top z0 = (0,h); |
| 686 |
top z1 = (w,h); |
| 687 |
bot lft z2 = (0,0); |
| 688 |
bot z3 = (w,0); |
| 689 |
draw z0--z1; draw z2--z3; |
| 690 |
pickup pencircle scaled 0.5thinl; |
| 691 |
z4 = (w,-cordwid/2); |
| 692 |
z5 = z4 shifted (-cordwid/2,cordwid/2); |
| 693 |
z6 = (w/2+cordwid/2,h); |
| 694 |
z7 = z6 shifted (-cordwid,0); |
| 695 |
z8 = 0.5[z6,z7] shifted (0,cordwid/2); |
| 696 |
z9 = (0,-cordwid/2); |
| 697 |
z10 = z9 shifted (cordwid/2,cordwid/2); |
| 698 |
z11 = z5 shifted (cordwid,0); |
| 699 |
z12 = (z6--z11) intersectionpoint ((w,h)--(w,0)); |
| 700 |
|
| 701 |
erase filldraw z4..z5---z7..z8..z6---z11..cycle; |
| 702 |
draw z4..z5---z7..z8..z6---z11; |
| 703 |
draw z10{down}..z9; |
| 704 |
|
| 705 |
pickup pencircle scaled 0.25thinl; |
| 706 |
z13 = 0.14285[z5,z7]; |
| 707 |
z14 = 0.28571[z5,z7]; |
| 708 |
z15 = 0.42857[z5,z7]; |
| 709 |
z16 = 0.57142[z5,z7]; |
| 710 |
z17 = 0.71428[z5,z7]; |
| 711 |
z18 = 0.85714[z5,z7]; |
| 712 |
z23 = 0.14285[z11,z6]; |
| 713 |
z24 = 0.28571[z11,z6]; |
| 714 |
z25 = 0.42857[z11,z6]; |
| 715 |
z26 = 0.57142[z11,z6]; |
| 716 |
z27 = 0.71428[z11,z6]; |
| 717 |
z28 = 0.85714[z11,z6]; |
| 718 |
|
| 719 |
draw z13{dir -45}..z23; |
| 720 |
draw z14{dir -45}..z24; |
| 721 |
draw z15{dir -45}..z25; |
| 722 |
draw z16{dir -45}..z26; |
| 723 |
draw z17{dir -45}..z27; |
| 724 |
draw z18{dir -45}..z28; |
| 725 |
draw z7{dir -45}..z6; |
| 726 |
|
| 727 |
unfill z10--(-cordwid,h/2)--z9--cycle; |
| 728 |
|
| 729 |
picture cordext; cordext := currentpicture; |
| 730 |
|
| 731 |
penlabels(0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16); |
| 732 |
penlabels(17,18,19,20,21,22,23,24,25,26,27,28,29,30); |
| 733 |
endchar; |
| 734 |
|
| 735 |
beginchar(oct"320",ex#,ex#,0); "left end of winding cord"; |
| 736 |
|
| 737 |
pickup pensquare scaled 1.5thinl; |
| 738 |
top rt z0 = (w,h); |
| 739 |
top lft z1 = (w-cordwid,h); |
| 740 |
draw z0--z1; |
| 741 |
z2 = (w,-cordwid/2); |
| 742 |
z3 = (w-cordwid/2,0); |
| 743 |
z4 = (w-cordwid/2,h); |
| 744 |
z5 = z4 shifted (-cordwid,0); |
| 745 |
z6 = 0.5[z4,z5] shifted (0,cordwid/2); |
| 746 |
z7 = z3 shifted (cordwid,0); |
| 747 |
z8 = z3 shifted (-cordwid,0); |
| 748 |
z9 = 0.5[z3,z8] shifted (0,-cordwid/2); |
| 749 |
z10 = z5 shifted (-cordwid,0); |
| 750 |
z11 = z6 shifted (-cordwid,0); |
| 751 |
z12 = z10 shifted (-cordwid,0); |
| 752 |
z13 = z11 shifted (-cordwid,0); |
| 753 |
z14 = z8 shifted (-cordwid,0); |
| 754 |
z15 = z9 shifted (-cordwid,0); |
| 755 |
z16 = z14 shifted (-cordwid,0); |
| 756 |
z17 = z15 shifted (-cordwid,0); |
| 757 |
|
| 758 |
pickup pencircle scaled 0.5thinl; |
| 759 |
erase filldraw z7---z4..z6..z5---z3..z2..cycle; |
| 760 |
draw z7---z4..z6..z5---z3..z2; |
| 761 |
% draw the rope lines on the underlying frap |
| 762 |
pickup pencircle scaled 0.25thinl; |
| 763 |
z23 = 0.14285[z4,z7]; |
| 764 |
z24 = 0.28571[z4,z7]; |
| 765 |
z25 = 0.42857[z4,z7]; |
| 766 |
z26 = 0.57142[z4,z7]; |
| 767 |
z27 = 0.71428[z4,z7]; |
| 768 |
z28 = 0.85714[z4,z7]; |
| 769 |
z33 = 0.14285[z5,z3]; |
| 770 |
z34 = 0.28571[z5,z3]; |
| 771 |
z35 = 0.42857[z5,z3]; |
| 772 |
z36 = 0.57142[z5,z3]; |
| 773 |
z37 = 0.71428[z5,z3]; |
| 774 |
z38 = 0.85714[z5,z3]; |
| 775 |
draw z33{dir -45}..z23; |
| 776 |
draw z34{dir -45}..z24; |
| 777 |
draw z35{dir -45}..z25; |
| 778 |
draw z36{dir -45}..z26; |
| 779 |
draw z37{dir -45}..z27; |
| 780 |
draw z38{dir -45}..z28; |
| 781 |
|
| 782 |
% first overlapping frap |
| 783 |
pickup pencircle scaled 0.5thinl; |
| 784 |
erase filldraw z5---z8..z9..z3---z4..z6..cycle; |
| 785 |
draw z5---z8..z9..z3---z4..z6..cycle; |
| 786 |
% next overlapping fraps |
| 787 |
pickup pencircle scaled 0.5thinl; |
| 788 |
draw z8---z5..z11..z10---z14..z15..cycle; |
| 789 |
draw z10---z14..z17..z16---z12..z13..cycle; |
| 790 |
% draw the rope marks on the straight fraps |
| 791 |
pickup pencircle scaled 0.25thinl; |
| 792 |
z42 = 0.00000[z4,z3]; |
| 793 |
z43 = 0.14285[z4,z3]; |
| 794 |
z44 = 0.28571[z4,z3]; |
| 795 |
z45 = 0.42857[z4,z3]; |
| 796 |
z46 = 0.57142[z4,z3]; |
| 797 |
z47 = 0.71428[z4,z3]; |
| 798 |
z48 = 0.85714[z4,z3]; |
| 799 |
z49 = 1.00000[z4,z3]; |
| 800 |
z52 = 0.00000[z5,z8]; |
| 801 |
z53 = 0.14285[z5,z8]; |
| 802 |
z54 = 0.28571[z5,z8]; |
| 803 |
z55 = 0.42857[z5,z8]; |
| 804 |
z56 = 0.57142[z5,z8]; |
| 805 |
z57 = 0.71428[z5,z8]; |
| 806 |
z58 = 0.85714[z5,z8]; |
| 807 |
z59 = 1.00000[z5,z8]; |
| 808 |
draw z52{dir -45}..z42; |
| 809 |
draw z53{dir -45}..z43; |
| 810 |
draw z54{dir -45}..z44; |
| 811 |
draw z55{dir -45}..z45; |
| 812 |
draw z56{dir -45}..z46; |
| 813 |
draw z57{dir -45}..z47; |
| 814 |
draw z58{dir -45}..z48; |
| 815 |
draw z59{dir -45}..z49; |
| 816 |
z62 = 0.00000[z5,z8]; |
| 817 |
z63 = 0.14285[z5,z8]; |
| 818 |
z64 = 0.28571[z5,z8]; |
| 819 |
z65 = 0.42857[z5,z8]; |
| 820 |
z66 = 0.57142[z5,z8]; |
| 821 |
z67 = 0.71428[z5,z8]; |
| 822 |
z68 = 0.85714[z5,z8]; |
| 823 |
z69 = 1.00000[z5,z8]; |
| 824 |
z72 = 0.00000[z10,z14]; |
| 825 |
z73 = 0.14285[z10,z14]; |
| 826 |
z74 = 0.28571[z10,z14]; |
| 827 |
z75 = 0.42857[z10,z14]; |
| 828 |
z76 = 0.57142[z10,z14]; |
| 829 |
z77 = 0.71428[z10,z14]; |
| 830 |
z78 = 0.85714[z10,z14]; |
| 831 |
z79 = 1.00000[z10,z14]; |
| 832 |
draw z72{dir -45}..z62; |
| 833 |
draw z73{dir -45}..z63; |
| 834 |
draw z74{dir -45}..z64; |
| 835 |
draw z75{dir -45}..z65; |
| 836 |
draw z76{dir -45}..z66; |
| 837 |
draw z77{dir -45}..z67; |
| 838 |
draw z78{dir -45}..z68; |
| 839 |
draw z79{dir -45}..z69; |
| 840 |
z82 = 0.00000[z10,z14]; |
| 841 |
z83 = 0.14285[z10,z14]; |
| 842 |
z84 = 0.28571[z10,z14]; |
| 843 |
z85 = 0.42857[z10,z14]; |
| 844 |
z86 = 0.57142[z10,z14]; |
| 845 |
z87 = 0.71428[z10,z14]; |
| 846 |
z88 = 0.85714[z10,z14]; |
| 847 |
z89 = 1.00000[z10,z14]; |
| 848 |
z92 = 0.00000[z12,z16]; |
| 849 |
z93 = 0.14285[z12,z16]; |
| 850 |
z94 = 0.28571[z12,z16]; |
| 851 |
z95 = 0.42857[z12,z16]; |
| 852 |
z96 = 0.57142[z12,z16]; |
| 853 |
z97 = 0.71428[z12,z16]; |
| 854 |
z98 = 0.85714[z12,z16]; |
| 855 |
z99 = 1.00000[z12,z16]; |
| 856 |
draw z92{dir -45}..z82; |
| 857 |
draw z93{dir -45}..z83; |
| 858 |
draw z94{dir -45}..z84; |
| 859 |
draw z95{dir -45}..z85; |
| 860 |
draw z96{dir -45}..z86; |
| 861 |
draw z97{dir -45}..z87; |
| 862 |
draw z98{dir -45}..z88; |
| 863 |
draw z99{dir -45}..z89; |
| 864 |
|
| 865 |
picture leftcordend; leftcordend := currentpicture; |
| 866 |
|
| 867 |
penlabels(0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16); |
| 868 |
penlabels(17,18,19,20,21,22,23,24,25,26,27,28,29,30); |
| 869 |
endchar; |
| 870 |
|
| 871 |
beginchar(oct"321",ex#,ex#,0); "right end of winding cord"; |
| 872 |
|
| 873 |
pickup pensquare scaled 1.5thinl; |
| 874 |
top lft z0 = (0,h); |
| 875 |
top rt z1 = (0+cordwid,h); |
| 876 |
draw z0--z1; |
| 877 |
z2 = (4cordwid,-cordwid/2); |
| 878 |
z3 = (x2-cordwid/2,0); |
| 879 |
z4 = (x2-cordwid/2,h); |
| 880 |
z5 = z4 shifted (-cordwid,0); |
| 881 |
z6 = 0.5[z4,z5] shifted (0,cordwid/2); |
| 882 |
z7 = z3 shifted (cordwid,0); |
| 883 |
z8 = z3 shifted (-cordwid,0); |
| 884 |
z9 = 0.5[z3,z8] shifted (0,-cordwid/2); |
| 885 |
z10 = z5 shifted (-cordwid,0); |
| 886 |
z11 = z6 shifted (-cordwid,0); |
| 887 |
z12 = z10 shifted (-cordwid,0); |
| 888 |
z13 = z11 shifted (-cordwid,0); |
| 889 |
z14 = z8 shifted (-cordwid,0); |
| 890 |
z15 = z9 shifted (-cordwid,0); |
| 891 |
z16 = z14 shifted (-cordwid,0); |
| 892 |
z17 = z15 shifted (-cordwid,0); |
| 893 |
z18 = z16 shifted (-cordwid/2,-cordwid/2); |
| 894 |
|
| 895 |
pickup pencircle scaled 0.5thinl; |
| 896 |
erase filldraw z5---z8..z9..z3---z4..z6..cycle; |
| 897 |
draw z5---z8..z9..z3---z4..z6..cycle; |
| 898 |
draw z12---z16..z18; |
| 899 |
% next overlapping fraps |
| 900 |
pickup pencircle scaled 0.5thinl; |
| 901 |
erase filldraw z8---z5..z11..z10---z14..z15..cycle; |
| 902 |
draw z8---z5..z11..z10---z14..z15..cycle; |
| 903 |
erase filldraw z10---z14..z17..z16---z12..z13..cycle; |
| 904 |
draw z10---z14..z17..z16---z12..z13..cycle; |
| 905 |
% draw the rope marks on the straight fraps |
| 906 |
pickup pencircle scaled 0.25thinl; |
| 907 |
z42 = 0.00000[z4,z3]; |
| 908 |
z43 = 0.14285[z4,z3]; |
| 909 |
z44 = 0.28571[z4,z3]; |
| 910 |
z45 = 0.42857[z4,z3]; |
| 911 |
z46 = 0.57142[z4,z3]; |
| 912 |
z47 = 0.71428[z4,z3]; |
| 913 |
z48 = 0.85714[z4,z3]; |
| 914 |
z49 = 1.00000[z4,z3]; |
| 915 |
z52 = 0.00000[z5,z8]; |
| 916 |
z53 = 0.14285[z5,z8]; |
| 917 |
z54 = 0.28571[z5,z8]; |
| 918 |
z55 = 0.42857[z5,z8]; |
| 919 |
z56 = 0.57142[z5,z8]; |
| 920 |
z57 = 0.71428[z5,z8]; |
| 921 |
z58 = 0.85714[z5,z8]; |
| 922 |
z59 = 1.00000[z5,z8]; |
| 923 |
draw z52{dir -45}..z42; |
| 924 |
draw z53{dir -45}..z43; |
| 925 |
draw z54{dir -45}..z44; |
| 926 |
draw z55{dir -45}..z45; |
| 927 |
draw z56{dir -45}..z46; |
| 928 |
draw z57{dir -45}..z47; |
| 929 |
draw z58{dir -45}..z48; |
| 930 |
draw z59{dir -45}..z49; |
| 931 |
z62 = 0.00000[z5,z8]; |
| 932 |
z63 = 0.14285[z5,z8]; |
| 933 |
z64 = 0.28571[z5,z8]; |
| 934 |
z65 = 0.42857[z5,z8]; |
| 935 |
z66 = 0.57142[z5,z8]; |
| 936 |
z67 = 0.71428[z5,z8]; |
| 937 |
z68 = 0.85714[z5,z8]; |
| 938 |
z69 = 1.00000[z5,z8]; |
| 939 |
z72 = 0.00000[z10,z14]; |
| 940 |
z73 = 0.14285[z10,z14]; |
| 941 |
z74 = 0.28571[z10,z14]; |
| 942 |
z75 = 0.42857[z10,z14]; |
| 943 |
z76 = 0.57142[z10,z14]; |
| 944 |
z77 = 0.71428[z10,z14]; |
| 945 |
z78 = 0.85714[z10,z14]; |
| 946 |
z79 = 1.00000[z10,z14]; |
| 947 |
draw z72{dir -45}..z62; |
| 948 |
draw z73{dir -45}..z63; |
| 949 |
draw z74{dir -45}..z64; |
| 950 |
draw z75{dir -45}..z65; |
| 951 |
draw z76{dir -45}..z66; |
| 952 |
draw z77{dir -45}..z67; |
| 953 |
draw z78{dir -45}..z68; |
| 954 |
draw z79{dir -45}..z69; |
| 955 |
z82 = 0.00000[z10,z14]; |
| 956 |
z83 = 0.14285[z10,z14]; |
| 957 |
z84 = 0.28571[z10,z14]; |
| 958 |
z85 = 0.42857[z10,z14]; |
| 959 |
z86 = 0.57142[z10,z14]; |
| 960 |
z87 = 0.71428[z10,z14]; |
| 961 |
z88 = 0.85714[z10,z14]; |
| 962 |
z89 = 1.00000[z10,z14]; |
| 963 |
z92 = 0.00000[z12,z16]; |
| 964 |
z93 = 0.14285[z12,z16]; |
| 965 |
z94 = 0.28571[z12,z16]; |
| 966 |
z95 = 0.42857[z12,z16]; |
| 967 |
z96 = 0.57142[z12,z16]; |
| 968 |
z97 = 0.71428[z12,z16]; |
| 969 |
z98 = 0.85714[z12,z16]; |
| 970 |
z99 = 1.00000[z12,z16]; |
| 971 |
draw z92{dir -45}..z82; |
| 972 |
draw z93{dir -45}..z83; |
| 973 |
draw z94{dir -45}..z84; |
| 974 |
draw z95{dir -45}..z85; |
| 975 |
draw z96{dir -45}..z86; |
| 976 |
draw z97{dir -45}..z87; |
| 977 |
draw z98{dir -45}..z88; |
| 978 |
draw z99{dir -45}..z89; |
| 979 |
|
| 980 |
picture rightcordend; rightcordend := currentpicture; |
| 981 |
|
| 982 |
penlabels(0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16); |
| 983 |
penlabels(17,18,19,20,21,22,23,24,25,26,27,28,29,30); |
| 984 |
endchar; |
| 985 |
|
| 986 |
beginchar(oct"322",ex#,ex#,0); "inverted left end of winding cord"; |
| 987 |
currentpicture := leftcordend reflectedabout ((w/2,h),(w/2,0)); |
| 988 |
endchar; |
| 989 |
|
| 990 |
beginchar(oct"323",ex#,ex#,0); "inverted right end of winding cord"; |
| 991 |
currentpicture := rightcordend reflectedabout ((w/2,h),(w/2,0)); |
| 992 |
endchar; |
| 993 |
|
| 994 |
beginchar(oct"324",ex#,ex#,0); "inverted extension winding cord"; |
| 995 |
currentpicture := cordext reflectedabout ((w/2,h),(w/2,0)); |
| 996 |
endchar; |
| 997 |
|
| 998 |
beginchar(oct"325",ex#/2,3ex#/4,0); "horizontal triple rule"; |
| 999 |
|
| 1000 |
pickup pensquare scaled thinl; |
| 1001 |
top lft z0 = (0,h); |
| 1002 |
top rt z1 = (w,h); |
| 1003 |
bot lft z2 = (0,0); |
| 1004 |
bot rt z3 = (w,0); |
| 1005 |
draw z0--z1; draw z2--z3; |
| 1006 |
pickup pensquare scaled 2thinl; |
| 1007 |
lft z4 = (0,h/2); |
| 1008 |
rt z5 = (w,h/2); |
| 1009 |
draw z4--z5; |
| 1010 |
|
| 1011 |
picture triplerule; triplerule := currentpicture; |
| 1012 |
|
| 1013 |
penlabels(0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16); |
| 1014 |
endchar; |
| 1015 |
|
| 1016 |
beginchar(oct"327",3ex#/4,ex#/2,0); "vertical triple rule"; |
| 1017 |
currentpicture := triplerule rotatedaround ((w/2,h/2),90) |
| 1018 |
shifted (ex/8,ex/8); |
| 1019 |
endchar; |