-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathTrackImg.txt
517 lines (416 loc) · 15.4 KB
/
TrackImg.txt
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
0x4000FF 0x1AAA0999 0x12003C 60 15 "PSU TestOval" -- 2018 May 7
// Concrete floor; alt color: 0x96961966 = reddish track, greenish off
// PSU TestOval.. +---- 350 map pix = 32m floor = 256m park ----+
// (north hallway | |
// off EB atrium) | <88px=66m> ^ |
// (108pix=32'=10m) | +--------+ 54px = 40m pk
// 48x255m park |< 96px=68m >| ^ | +--------+ v |
// (=24x127 grid) | |22p=20m +=+ ^ | |
// =16x100' floor + .. . .. .. + =7.5' 32p=22m +- 64px=46m -+
//
// Adapted from plan here: https://www.pdx.edu/floorplans/buildings/eb
//
// Start 18,60 (=9,30 grid), 60 degs = ENE, 6" park (3/4" floor) lines
F 1 1 29 34 0 -- rect fill w/floor (2x2m grid coords)..
F 1 1 11 124 0
F 1 64 20 68 0
F 1 68 15 101 0
F 1 96 22 126 0
-- U 7.25 50 5 412^172 99 83 -- (disabled) eastbound painted stop line
V 11 34 30 5 -- (double) white N-S wall
H 11 34 63 5 -- ditto, E-W wall
V 11 63 30 5
V 14 68 19 5
H 14 68 95 5
V 14 95 20 5
H 22 95 126 5
H 10 122 127 1 -- exit divider wall?
H 20 65 67 2 -- recessed door
H 22 97 99 2 -- flat door
H 22 101 103 2
P 9 126
P 1 1 -- dark columns in glass wall to north..
P 21 1
P 1 20
P 1 26
P 1 56
P 1 62
P 1 88
P 1 92
P 1 126
-- Do outside track edge first..
W 2 17 -- start in 2,17 facing west
L 8 -- curve to south (to 10,8)
A 5 -- advance south extra, to make room for return (15,8)
L 8 -- curve to east (24,16)
A 3 -- short straight (24,18)
L 8 -- curve to north (16,27)
A 1 -- even shorter straight (15,27)
R 5 -- curve to east (9,32)
A 62 -- advance east to other end of hall (9,95)
E 10 98 -- 1st segment of R 5 curve to south (+1,+3)
E 19 105 -- 2nd seg't merged w/2nd seg of.. (+7,+7)
E 20 109 -- 3rd segment of L 8 curve to east (+1,+4)
A 2 -- short straight (20,111)
L 8 -- curve to north (12,120)
A 1 -- tiny advance north (11,120)
L 8 -- curve to west (2,112)
A 95 -- advance west to start (2,17)
I -- Now the inside track edge..
E 5 16 -- start in 5,17 facing east
A 95 -- advance east to other end of hall (5,111)
R 5 -- curve to south (to 10,118)
A 1 -- tiny advance south to (11,118)
R 5 -- curve to west (17,113)
A 2 -- short straight west (17,111)
W 16 107 -- 1st segment of R 5 curve to north (-1,-3)
W 7 100 -- 2nd seg't merged w/2nd seg of.. (-9,-7)
W 6 96 -- 3rd segment of L 8 curve to west (+1,+4)
A 63 -- advance west to other end of hall (6,33)
L 8 -- curve to south (to 14,24)
A 1 -- very short straight (15,24)
R 5 -- curve to west (24,16)
A 2 -- short straight west (24,14)
R 5 -- curve to north (16,8)
A 5 -- longer straight (15,8)
R 5 -- curve to east, ending at start (6?,17)
B 3 55 1 -- bucket track drop in westbound lane
B 12 102 1 -- (otherwise might miss diagonal)
. . . . . . . . -- end of descriptor -- . . . . . . . . . . . . . . . .
0x700070 0x96931963 0x380024 90 13 "Figure-8" -- 2018 May 9
// "Figure-8" track for testing..
// 112x112m park (=56x56 in grid units),
// brown trk + green non-trk,
// start 56,36 (=28,18 grid units),
// 90 degrees = E
// 5" (13cm) line width
// Alternate start: 0x32001B 135 (50,27 aim SE) for later timing start
// Artifacts at crossroads:
// stop sign facing west, also painted on street
// traffic lite over center
// parked car on far side, facing west
// pedestrian walking south on east side
// car driving by northbound
// Artifacts...
U 28 25.4 5 15 -- eastbound painted stop line w/"STOP"
-- U 29.6 28.1 4 15 -- northbound painted stop line w/"STOP"
-- U 25.4 26.7 6 15 -- southbound painted stop line w/"STOP"
-- U 26.7 29.6 7 15 -- westbound painted stop line w/"STOP"
-- Y 26.0 26.5 0 0 -- stop sign facing north (southbound traffic)
-- Y 26.5 30.0 0 90 -- stop sign facing east (westbound)
-- Y 30.0 29.5 0 180 -- stop sign facing south
Y 29.5 25.875 0 270 -- stop sign facing west
Y 28.0 28.0 2 0 -- traffic lite
Y 26 31 16 270 -- parked car facing west
T 20 16 10 1 0 -- start timer #0 +1 secs when: V>40m, H>32m
J 35 28 6 15n 16f 23z 0d 1.3r 1.25e 0.3i -0.29p*23 -- northbound car
@ 19.0 29.5 6 20 0 -- northbound car parked at end
J 26.5 30 5 30n 13f 14z 180d 0.125r 1.0e 0.2i -- ped'n walking south
-- J 28.0 28 6 15n 16f 23z 0d 0r 0.5e 0.25i -- car rotates (disabled)
-- _ 55 -- (disabled) TripLine (extra logging on map row 55m)
-- U 20 30.0 0 32^248 5 3 -- numeral '4' (marking milestones)
-- U 20 30.5 0 16^248 5 3 -- numeral '0' (disabled)
-- U 25 30.0 0 36^248 5 3 -- numeral '5'
-- U 25 30.5 0 16^248 5 3 -- numeral '0'
-- U 30 30.0 0 40^248 5 3 -- numeral '6'
-- U 30 30.5 0 16^248 5 3 -- numeral '0'
-- U 35 30.0 0 44^248 5 3 -- numeral '7'
-- U 35 30.5 0 16^248 5 3 -- numeral '0'
-- U 27.7 27.7 0 36^248 5 3 -- numeral '5' (center of crossroad)
-- U 27.7 28.2 0 36^248 5 3 -- numeral '5'
// Now the track...
F 1 1 50 50 0 -- rect fill w/grass (2x2m grid coords)
-- outside edge from top (CCW)..
W 10 19 -- start at top center facing west
L 8 -- curve W->S (to 18,10)
A 2 -- short straight south (20,10)
L 8 -- curve S->E (29,18)
A 7 -- straight east to crossover (29,25)
R 0 -- corner south (29,26)
A 7 -- straight south from crossover (36,26)
L 8 -- curve S->E (45,34)
A 2 -- short straight east (45,36)
L 8 -- curve E->N (37,45)
A 2 -- short straight north (35,45)
L 8 -- curve N->W (26,37)
A 7 -- straight west to crossover (26,30)
R 0 -- corner north (26,29)
A 7 -- straight north from crossover (19,29)
L 8 -- curve N->W (10,21)
A 2 -- short straight west to end at start
I -- inside edge from top (upper loop c-wise)..
E 13 20 -- start at top center facing east
R 5 -- curve E->S (to 18,26)
A 7 -- straight south to crossover (25,26)
R 0 -- corner west (26,26)
A 7 -- straight west from crossover (26,19)
R 5 -- curve W->N (21,13)
A 2 -- short straight north (19,13)
R 5 -- curve N->E (13,18)
A 2 -- short straight east to end at start
I -- inside edge from top (lower loop c-wise)..
E 29 29 -- start at top center facing east
A 7 -- straight east from crossover (to 29,36)
R 5 -- curve E->S (34,42)
A 2 -- short straight south (36,42)
R 5 -- curve S->W (42,37)
A 2 -- short straight west (42,35)
R 5 -- curve W->N (37,29)
A 7 -- straight north to crossover (30,29)
R 0 -- corner east to end at start (29,29)
B 12 20 1 -- drop track bucket near top
. -- end of track
// Image Index...
.StopInfo
90 128 29 1 44 0~1 -- Stop Sign full-on (in file)
90 64 15 60 22 0~2 -- Stop Sign back full-on
160 128 17 32 44 0~3 -- Stop Sign front angled
160 64 9 50 22 0~4 -- Stop Sign back angled
180 64 3 76 22 0~5 -- Stop Sign S-edge-on
0 64 3 80 22 0~6 -- Stop Sign P-edge-on
0 200 25 84 24~7 -- dark traffic lite
0 200 25 110 24 1~8 -- Green lite
0 200 25 136 24 1~9 -- Yellow lite
0 200 25 162 24 1~10 -- Red lite
0 64 23 55^132 25~11 -- Pedestrian faces left
0 64 29 52^66 25~12 -- Pedestrian steps left
0 64 23 1^132 25~13 -- Pedestrian faces right
0 64 29 25^132 25~14 -- Pedestrian steps right
0 83 99 412^172 32~15 -- white painted STOP line
60 55 78 274^172 36~16=16 -- BlueCar front
32+45 54 157 190^2 36~17=16 -- BlueCar right-front
60+90 54 155 352^114 36~18=16 -- BlueCar right
32+135 54 157 352^58 36~19=16 -- BlueCar right-back
60+180 55 78 190^172 36~20=16 -- BlueCar back
32+225 54 157 190^58 36~21=16 -- BlueCar left-back
60+270 54 155 190^114 36~22=16 -- BlueCar left
0 54 157 352^2 36~23=16 -- BlueCar left-front
. . . . . . . . -- end of descriptor -- . . . . . . . . . . . . . . . .
0x6800E6 0x933F033C 0x380008 180 12 "Brussels" -- 2018 August 2
// "Brussels" track for testing..
// v
// +-------+
// | $$$ |
// >| $ $ |< 5m (actual, = 40m park)
// | $ $ |
// | $ $ |<------------ 18m ----------->| 5m |
// | $ $ | v | v |
// | $ $ +------------------------------+. . . . .|
// | $$$ ================================== $$$ |
// +--------------------------------------+ $ $ |
// ^ ^ | $ $ |
// 9.5m 2.5m = 20m pk 5.5m >| $$$ |<
// = 44m pk |. . . . .|
// | ^ |
//
// 76x40m park, w/20x144 strip to right, 44m more open
// blue everywhere (but checkerboard off-track),
// start 56,8 (=28,4 grid units), facing 0 degrees = N,
// 5" (13cm) line width
F 1 1 38 20 0 -- rect fill w/non-track (2x2m grid coords)
F 29 1 38 114 0
F 16 93 51 114 0
-- outside edge from top (CCW)..
W 2 11 -- start in (2,11) facing west
L 8 -- curve to south (to 10,2)
A 18 -- advance south to (28,2)
L 8 -- curve to east (37,10)
L 8 -- curve to north to (29,19)
A 18 -- .. then advance north (11,19)
L 8 -- curve to west = start (2,11)
I -- inside edge from top (upper loop c-wise)..
E 5 10 -- start in (5,11) facing east
R 5 -- curve to south (to 11,16)
A 18 -- advance south to (29,16)
R 5 -- curve to west (34,10)
R 5 -- curve to north (28,5)
A 18 -- advance north (10,5)
R 5 -- curve to east = start (5,11)
I -- optional longer route out dogleg to crossover..
-- Dashed yellow line from 34,24 to 34,74
U 34 25 4 192^235 11 160 -- 5m yellow stripe
U 34 30 4 192^235 11 160
U 34 35 4 192^235 11 160
U 34 40 4 192^235 11 160
U 34 45 4 192^235 11 160
U 34 50 4 192^235 11 160
U 34 55 4 192^235 11 160
U 34 60 4 192^235 11 160
U 34 65 4 192^235 11 160
U 34 70 4 192^235 11 160
F 32 60 37 62 1 -- block recursive fill near halfway
F 35 10 36 20 0 -- erase merge in oval
F 34 13 35 20 0
F 33 15 34 20 0
F 31 16 33 20 0
F 30 17 35 20 0
F 29 18 30 19 0
E 37 10 -- start at bottom of oval..
A 91 -- advance east into main corridor (37,101)
R 5 -- curve to south (to 43,106)
R 5 -- curve to west (48,100)
R 5 -- curve to north (42,95)
A 5 -- advance north (37,95)
L 8 -- curve to west (28,87)
W 31 69 -- merge into 2-lane (31,69)
A 44 -- 88m (11m actual) of 2-lane (to 31,25)
R 5 -- merge back north into oval (25,19)
I -- inside edge at crossover (c-wise)..
E 32 86 -- start at top of curve (32,86)
A 1 --
R 5 -- curve south to (38,92)
A 5 -- advance extra (42,92)
L 8 -- curve to east (51,100)
L 8 -- curve to north to (43,109)
L 8 -- curve to west (34,101)
A 26 -- advance to divide (34,75)
N 34 74 -- angle to north
E 33 77 -- sharp angle back (34,77)
E 32 86 -- diagonal return to start
I -- fix crossover, add corners
F 35 90 36 97 0
F 34 92 35 96 0
F 37 93 38 97 0
E 37 92 -- SW corner..
R 0
A 2
I
N 40 96 -- SE corner..
A 2
R 0
A 2
I
W 34 97 -- NE corner..
A 1
N 34 95
I
E 33 90 -- NW corner..
S 33 91
W 34 91
I -- inside edge at loop/divide..
W 34 23 -- start facing west (34,23)
N 34 18 -- west to oval (34,17)
E 32 18 -- short diagonal (33,18)
S 33 23 -- short diagonal (32,20)
W 34 23 -- arrive at start
B 3 11 1 -- bucket track
B 33 64 1
..// this misses the top of the corridor by -5,
/// .. probly gotta cross at an angle? Or not at all.
A 81 -- advance east to main corridor (37,91)
R 0 -- hard right south at crossover (37,92)
L 8 -- curve to east (46,100)
// A 1 -- advance east (46,101)
L 8 -- curve to north (38,109)
A 4 -- advance north to clear crossover (42,109)
L 8 -- curve to west (33,101)
A 5 -- advance west to crossover (33,96)
R 0 -- hard right north at crossover (33,95)
L 8 -- curve immediately to west (24,87)
/// ..so give up
. . . . . . . . -- end of descriptor -- . . . . . . . . . . . . . . . .
0x500050 0x96931963 0x180020 90 5 "Minimal Circle" -- 2018 February 7
// Minimal Circle track..
// 80x80m park (=40x40 in grid units),
// brown trk + green non-trk,
// start 24,32 (=12,16 grid units),
// 90 degrees = E
// 5" (12.5cm) line width
F 1 1 38 38 0 -- rect fill w/grass
-- outside edge from top (CCW)..
W 10 19 -- start at top center facing west
L 8 -- curve W->S (to 18,10)
A 2 -- short straight south (20,10)
L 8 -- curve S->E (29,18)
A 2 -- short straight east (29,20)
L 8 -- curve E->N (21,29)
A 2 -- short straight north (19,29)
L 8 -- curve N->W (10,21)
A 2 -- short straight west to end at start
I -- inside edge from top (c-wise)..
E 13 20 -- start at top center facing east
R 5 -- curve E->S (to 18,26)
A 2 -- short straight south (20,26)
R 5 -- curve S->W (26,21)
A 2 -- short straight west (26,19)
R 5 -- curve W->N (21,13)
A 2 -- short straight north (19,13)
R 5 -- curve N->E (13,18)
A 2 -- short straight east to end at start
B 12 20 1 -- drop track bucket near car position
. -- end of track
. . . . . . . . -- end of descriptor -- . . . . . . . . . . . . . . . .
0x300020 0x96931963 0x24000C 0 16 "Divided Highway" -- 2018 April 26
// Divided Highway..
// 48x32m park, brown trk + green non-trk, start 36,12; 0 degrees = N
// =24x16 in grid, =18,6 grid (middle, facing divide)
F 1 1 23 12 0 -- rect fill w/grass (2x2m grid coords)
U 16.0 5.9 7 192^235 160 11 -- 5m yellow stripe
U 21.0 5.9 5 192^242 160 11 -- 2nd yellow stripe (see doc)
N 23 8 -- init somewhere in the south (near south edge)
N 17 8 -- straight north (2-lane)
N 12 9 -- veer off to right to make room for divider
N 2 9 -- continue straight north again
L 0 -- cap off lane..
A 2
L 0
S 11 6 -- south on west (inside) edge of northbound lane
W 14 6 -- slight diagonal west, to divider end
X 1 -- required to pass close to previous diagonal track run
N 12 5 -- return north on east (inside) southbound lane
N 2 5 -- continue straight north
L 0 -- cap off lane..
A 2
L 0
S 11 2 -- south on west (outside) edge of southbound lane
S 16 3
S 22 3
L 0 -- cap off bottom (so fill is limited to track)..
A 4
L 0
B 20 5 1 -- bucket fill near bottom
. . . . . . . . -- end of descriptor -- . . . . . . . . . . . . . . . .
0x200020 0x96931963 0x0C000F 300 16 "MinimalSquare" -- 2018 April 12
// This ridiculous track shows fractional edges for sharp corners
// 32x32m park, brown trk + green non-trk, start 12,15; 300 degrees = WNW
// =16x16 in grid, (MinimalSquare) =6,7.5 grid
F 1 1 9 9 0 -- rect fill w/grass (2x2m grid coords)
X 22 -- disable overstrike prevention
E 3.9 3.9 -- init inside east at top left
E 3.9 4.9 -- across top
S 3.9 5.0 -- sharp right turn
S 4.9 5.0 -- down right
W 5.0 5.0 -- sharp right turn
W 5.0 4.0 -- across bottom
N 5.0 3.9 -- sharp right turn
N 4.0 3.9 -- up left
E 3.9 3.9 -- sharp right turn & end
F 2 2 3 3 1 -- fill corners with track..
F 2 5 3 6 1
F 5 5 6 6 1
F 5 2 6 3 1
W 2.9 6.0 -- init outside west at top right
W 2.9 3.0 -- across top
S 2.9 2.9 -- sharp left turn (doesn't work, but smash later)
S 5.9 2.9 -- down left
E 6.0 2.9 -- sharp left turn
E 6.0 5.9 -- across bottom
N 6.0 6.0 -- sharp left turn (doesn't work, but smash later)
N 3.0 6.0 -- up right
W 2.9 6.0 -- sharp left turn & end
F 6 6 7 7 0 -- erase corner glitches..
F 1 1 2 2 0
F 6 1 7 2 0
F 1 6 2 7 0
. . . . . . . . -- end of descriptor -- . . . . . . . . . . . . . . . .
U 00 00 0 16^248 5 3 -- numeral '0'
U 00 00 0 20^248 5 3 -- numeral '1'
U 00 00 0 24^248 5 3 -- numeral '2'
U 00 00 0 28^248 5 3 -- numeral '3'
U 00 00 0 32^248 5 3 -- numeral '4'
U 00 00 0 36^248 5 3 -- numeral '5'
U 00 00 0 40^248 5 3 -- numeral '6'
U 00 00 0 44^248 5 3 -- numeral '7'
U 00 00 0 48^248 5 3 -- numeral '8'
U 00 00 0 52^248 5 3 -- numeral '9'
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .