@johnmorrisdotca/kyogijo-stadiums 0.28.0 → 0.31.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (48) hide show
  1. package/CHANGELOG.md +45 -0
  2. package/NOTICE.md +17 -5
  3. package/README.md +80 -107
  4. package/dist/crowd.d.ts +20 -2
  5. package/dist/crowd.park.d.ts +6 -0
  6. package/dist/crowd.park.js +3 -3
  7. package/dist/district.d.ts +3 -3
  8. package/dist/district.js +14 -13
  9. package/dist/draw.js +25 -10
  10. package/dist/flythrough-entry.d.ts +1 -0
  11. package/dist/flythrough-entry.js +1 -0
  12. package/dist/flythrough.dom.js +52 -6
  13. package/dist/flythrough.game.d.ts +36 -0
  14. package/dist/flythrough.game.js +145 -0
  15. package/dist/flythrough.markup.js +1 -0
  16. package/dist/flythrough.path.d.ts +6 -4
  17. package/dist/flythrough.path.js +26 -22
  18. package/dist/flythrough.style.d.ts +1 -1
  19. package/dist/flythrough.style.js +3 -0
  20. package/dist/flythrough.words.d.ts +2 -0
  21. package/dist/flythrough.words.js +6 -2
  22. package/dist/index.d.ts +2 -2
  23. package/dist/index.js +1 -1
  24. package/dist/stadiums-entry.d.ts +2 -2
  25. package/dist/stadiums-entry.js +2 -2
  26. package/dist/stadiums.d.ts +109 -28
  27. package/dist/stadiums.data.js +25 -0
  28. package/dist/stadiums.js +159 -30
  29. package/dist/stadiums.osm.data.js +114 -0
  30. package/dist/strings.d.ts +4 -0
  31. package/dist/strings.js +2 -2
  32. package/dist/turn.dom.d.ts +8 -2
  33. package/dist/turn.dom.js +10 -4
  34. package/dist/venue.d.ts +2 -0
  35. package/dist/venue.js +6 -5
  36. package/dist/venue.real.d.ts +7 -2
  37. package/dist/venue.real.js +124 -10
  38. package/dist/venues-entry.d.ts +2 -2
  39. package/dist/venues-entry.js +1 -1
  40. package/dist/venues.d.ts +14 -3
  41. package/dist/venues.data.js +72 -0
  42. package/dist/venues.geo.d.ts +22 -0
  43. package/dist/venues.geo.js +28 -0
  44. package/dist/venues.js +9 -1
  45. package/dist/venues.osm.data.js +366 -0
  46. package/dist/version.d.ts +1 -1
  47. package/dist/version.js +1 -1
  48. package/package.json +4 -2
@@ -360,4 +360,370 @@ export const VENUE_OSM = {
360
360
  [-115.178259, 36.102039],
361
361
  ],
362
362
  },
363
+ "united-center": {
364
+ "source": "way/205221993",
365
+ "read": "2026-10-20",
366
+ "base": "2026-10-20T21:33:18Z",
367
+ "licence": "ODbL-1.0",
368
+ "attribution": "(c) OpenStreetMap contributors, ODbL 1.0, openstreetmap.org/copyright",
369
+ "axis": { "heading": 90, "basis": "building", "strength": 1.93, "elongation": 1.36, "centre": [-87.67419, 41.880684] },
370
+ "ring": [
371
+ [-87.67477, 41.881206],
372
+ [-87.674976, 41.881201],
373
+ [-87.674976, 41.881158],
374
+ [-87.67507, 41.881155],
375
+ [-87.675066, 41.881085],
376
+ [-87.675125, 41.881084],
377
+ [-87.675121, 41.880907],
378
+ [-87.675104, 41.880906],
379
+ [-87.675149, 41.880782],
380
+ [-87.67518, 41.88078],
381
+ [-87.675178, 41.880549],
382
+ [-87.675143, 41.880552],
383
+ [-87.67509, 41.880426],
384
+ [-87.675104, 41.880422],
385
+ [-87.675103, 41.880245],
386
+ [-87.675049, 41.880246],
387
+ [-87.675045, 41.880174],
388
+ [-87.674946, 41.880176],
389
+ [-87.674944, 41.880135],
390
+ [-87.674742, 41.880138],
391
+ [-87.67474, 41.880117],
392
+ [-87.674168, 41.880122],
393
+ [-87.673601, 41.880133],
394
+ [-87.673601, 41.880155],
395
+ [-87.673393, 41.880157],
396
+ [-87.673393, 41.880199],
397
+ [-87.673293, 41.880199],
398
+ [-87.673293, 41.880275],
399
+ [-87.673242, 41.880275],
400
+ [-87.673247, 41.880455],
401
+ [-87.673262, 41.880461],
402
+ [-87.673218, 41.880584],
403
+ [-87.673187, 41.880585],
404
+ [-87.673196, 41.880814],
405
+ [-87.673232, 41.880814],
406
+ [-87.673276, 41.880931],
407
+ [-87.673255, 41.880937],
408
+ [-87.673263, 41.881114],
409
+ [-87.673322, 41.881115],
410
+ [-87.673322, 41.88118],
411
+ [-87.673422, 41.881181],
412
+ [-87.673421, 41.881226],
413
+ [-87.673627, 41.881223],
414
+ [-87.673626, 41.881241],
415
+ [-87.674213, 41.881239],
416
+ [-87.674769, 41.881226],
417
+ ],
418
+ },
419
+ "ball-arena": {
420
+ "source": "way/25312645",
421
+ "read": "2026-10-20",
422
+ "base": "2026-10-20T21:33:18Z",
423
+ "licence": "ODbL-1.0",
424
+ "attribution": "(c) OpenStreetMap contributors, ODbL 1.0, openstreetmap.org/copyright",
425
+ "height": 22,
426
+ "axis": { "heading": 90, "basis": "none", "strength": 1.26, "elongation": 1.02, "centre": [-105.007573, 39.748633] },
427
+ "ring": [
428
+ [-105.008169, 39.749084],
429
+ [-105.008338, 39.748973],
430
+ [-105.008439, 39.748857],
431
+ [-105.008498, 39.748726],
432
+ [-105.008512, 39.748603],
433
+ [-105.008498, 39.748498],
434
+ [-105.008449, 39.748382],
435
+ [-105.00837, 39.748281],
436
+ [-105.008268, 39.7482],
437
+ [-105.008098, 39.748114],
438
+ [-105.008077, 39.748156],
439
+ [-105.007939, 39.748121],
440
+ [-105.00785, 39.748115],
441
+ [-105.007829, 39.748063],
442
+ [-105.007872, 39.74804],
443
+ [-105.007756, 39.747764],
444
+ [-105.007484, 39.74798],
445
+ [-105.007254, 39.748038],
446
+ [-105.007224, 39.747996],
447
+ [-105.00704, 39.74808],
448
+ [-105.006878, 39.748188],
449
+ [-105.00693, 39.748223],
450
+ [-105.00681, 39.748372],
451
+ [-105.006749, 39.748523],
452
+ [-105.006624, 39.74863],
453
+ [-105.006638, 39.748641],
454
+ [-105.006521, 39.748736],
455
+ [-105.006734, 39.748736],
456
+ [-105.006738, 39.748757],
457
+ [-105.006766, 39.748757],
458
+ [-105.006796, 39.748878],
459
+ [-105.00686, 39.748986],
460
+ [-105.00696, 39.749077],
461
+ [-105.006919, 39.749103],
462
+ [-105.007099, 39.749198],
463
+ [-105.007072, 39.74924],
464
+ [-105.006874, 39.749291],
465
+ [-105.006962, 39.749349],
466
+ [-105.00719, 39.749449],
467
+ [-105.007191, 39.749467],
468
+ [-105.00745, 39.749525],
469
+ [-105.007633, 39.749535],
470
+ [-105.007613, 39.749485],
471
+ [-105.007884, 39.749454],
472
+ [-105.007869, 39.749385],
473
+ [-105.007985, 39.749351],
474
+ [-105.007956, 39.749294],
475
+ [-105.008018, 39.749277],
476
+ [-105.007993, 39.749232],
477
+ [-105.008094, 39.749221],
478
+ [-105.008075, 39.749183],
479
+ [-105.008185, 39.749115],
480
+ ],
481
+ },
482
+ "american-airlines-center": {
483
+ "source": "way/25312698",
484
+ "read": "2026-10-20",
485
+ "base": "2026-10-20T21:35:07Z",
486
+ "licence": "ODbL-1.0",
487
+ "attribution": "(c) OpenStreetMap contributors, ODbL 1.0, openstreetmap.org/copyright",
488
+ "axis": { "heading": 144, "basis": "building", "strength": 2.19, "elongation": 1.31, "centre": [-96.81028, 32.79049] },
489
+ "ring": [
490
+ [-96.810234, 32.791328],
491
+ [-96.810164, 32.791245],
492
+ [-96.810182, 32.791236],
493
+ [-96.810056, 32.791086],
494
+ [-96.810012, 32.791113],
495
+ [-96.809956, 32.791046],
496
+ [-96.809969, 32.791039],
497
+ [-96.809568, 32.790561],
498
+ [-96.809555, 32.790569],
499
+ [-96.8095, 32.790504],
500
+ [-96.809545, 32.790477],
501
+ [-96.80934, 32.790256],
502
+ [-96.809439, 32.790198],
503
+ [-96.809429, 32.790171],
504
+ [-96.80958, 32.790081],
505
+ [-96.809551, 32.790046],
506
+ [-96.809959, 32.789817],
507
+ [-96.809952, 32.789809],
508
+ [-96.81003, 32.789763],
509
+ [-96.810056, 32.789794],
510
+ [-96.810209, 32.789704],
511
+ [-96.81024, 32.789718],
512
+ [-96.810339, 32.789661],
513
+ [-96.810408, 32.789744],
514
+ [-96.810392, 32.789752],
515
+ [-96.81051, 32.789892],
516
+ [-96.810556, 32.789865],
517
+ [-96.810611, 32.789932],
518
+ [-96.810599, 32.789939],
519
+ [-96.810997, 32.790421],
520
+ [-96.81101, 32.790413],
521
+ [-96.811063, 32.790477],
522
+ [-96.811021, 32.790502],
523
+ [-96.811154, 32.790659],
524
+ [-96.811168, 32.790649],
525
+ [-96.811237, 32.790731],
526
+ [-96.811139, 32.79079],
527
+ [-96.81113, 32.790776],
528
+ [-96.810963, 32.790875],
529
+ [-96.811009, 32.790929],
530
+ [-96.810986, 32.790943],
531
+ [-96.810931, 32.790975],
532
+ [-96.810924, 32.790967],
533
+ [-96.81053, 32.791213],
534
+ [-96.810484, 32.791159],
535
+ [-96.810319, 32.791257],
536
+ [-96.810331, 32.791269],
537
+ ],
538
+ },
539
+ "grand-casino-arena": {
540
+ "source": "relation/20658401",
541
+ "read": "2026-10-20",
542
+ "base": "2026-10-20T21:42:20Z",
543
+ "licence": "ODbL-1.0",
544
+ "attribution": "(c) OpenStreetMap contributors, ODbL 1.0, openstreetmap.org/copyright",
545
+ "axis": { "heading": 120, "basis": "building", "strength": 1.51, "elongation": 1.12, "centre": [-93.101118, 44.94475] },
546
+ "ring": [
547
+ [-93.101946, 44.945149],
548
+ [-93.101869, 44.945235],
549
+ [-93.101693, 44.945367],
550
+ [-93.101482, 44.945465],
551
+ [-93.101311, 44.945508],
552
+ [-93.101106, 44.945509],
553
+ [-93.101131, 44.945374],
554
+ [-93.10048, 44.945305],
555
+ [-93.100506, 44.945284],
556
+ [-93.100006, 44.945241],
557
+ [-93.100101, 44.9447],
558
+ [-93.100263, 44.944555],
559
+ [-93.100451, 44.944321],
560
+ [-93.100614, 44.944037],
561
+ [-93.100731, 44.944047],
562
+ [-93.100747, 44.943959],
563
+ [-93.100821, 44.943966],
564
+ [-93.100815, 44.943991],
565
+ [-93.101246, 44.944032],
566
+ [-93.101382, 44.944108],
567
+ [-93.101341, 44.944145],
568
+ [-93.102061, 44.944549],
569
+ [-93.102104, 44.94451],
570
+ [-93.102203, 44.94456],
571
+ [-93.102207, 44.944633],
572
+ [-93.102063, 44.944755],
573
+ [-93.102049, 44.944967],
574
+ ],
575
+ },
576
+ "bridgestone-arena": {
577
+ "source": "way/130905914",
578
+ "read": "2026-10-20",
579
+ "base": "2026-10-20T21:37:18Z",
580
+ "licence": "ODbL-1.0",
581
+ "attribution": "(c) OpenStreetMap contributors, ODbL 1.0, openstreetmap.org/copyright",
582
+ "axis": { "heading": 156, "basis": "building", "strength": 1.74, "elongation": 1.21, "centre": [-86.778468, 36.159052] },
583
+ "ring": [
584
+ [-86.779614, 36.159778],
585
+ [-86.778759, 36.160135],
586
+ [-86.778748, 36.160074],
587
+ [-86.778708, 36.160087],
588
+ [-86.778657, 36.160137],
589
+ [-86.77863, 36.160144],
590
+ [-86.778566, 36.160124],
591
+ [-86.778547, 36.160061],
592
+ [-86.778603, 36.160001],
593
+ [-86.778587, 36.159892],
594
+ [-86.778367, 36.159879],
595
+ [-86.778252, 36.15984],
596
+ [-86.77811, 36.159773],
597
+ [-86.778, 36.159674],
598
+ [-86.777903, 36.159554],
599
+ [-86.777817, 36.159388],
600
+ [-86.77727, 36.158538],
601
+ [-86.777404, 36.15848],
602
+ [-86.777688, 36.158435],
603
+ [-86.777713, 36.158509],
604
+ [-86.777852, 36.158491],
605
+ [-86.777874, 36.158562],
606
+ [-86.777965, 36.158543],
607
+ [-86.778107, 36.158439],
608
+ [-86.778198, 36.158394],
609
+ [-86.778332, 36.158368],
610
+ [-86.778493, 36.158366],
611
+ [-86.778716, 36.158268],
612
+ [-86.778981, 36.158632],
613
+ [-86.779008, 36.158606],
614
+ [-86.779056, 36.15874],
615
+ [-86.779362, 36.159223],
616
+ [-86.779244, 36.159221],
617
+ ],
618
+ },
619
+ "enterprise-center": {
620
+ "source": "way/42369176",
621
+ "read": "2026-10-20",
622
+ "base": "2026-10-20T21:38:19Z",
623
+ "licence": "ODbL-1.0",
624
+ "attribution": "(c) OpenStreetMap contributors, ODbL 1.0, openstreetmap.org/copyright",
625
+ "axis": { "heading": 105, "basis": "building", "strength": 1.36, "elongation": 1.36, "centre": [-90.202628, 38.62678] },
626
+ "ring": [
627
+ [-90.203486, 38.626974],
628
+ [-90.203327, 38.627369],
629
+ [-90.203071, 38.627308],
630
+ [-90.202527, 38.627404],
631
+ [-90.202343, 38.627419],
632
+ [-90.202349, 38.627393],
633
+ [-90.202238, 38.627384],
634
+ [-90.202115, 38.627355],
635
+ [-90.201929, 38.627257],
636
+ [-90.201837, 38.627163],
637
+ [-90.201774, 38.627054],
638
+ [-90.201731, 38.626911],
639
+ [-90.201726, 38.626818],
640
+ [-90.201749, 38.626703],
641
+ [-90.2018, 38.626603],
642
+ [-90.201929, 38.626473],
643
+ [-90.202014, 38.626357],
644
+ [-90.201956, 38.626201],
645
+ [-90.202915, 38.62625],
646
+ [-90.203048, 38.62627],
647
+ [-90.20325, 38.626353],
648
+ [-90.203402, 38.626491],
649
+ [-90.203522, 38.626559],
650
+ [-90.203455, 38.626579],
651
+ [-90.203511, 38.626784],
652
+ ],
653
+ },
654
+ "delta-center": {
655
+ "source": "way/23335190",
656
+ "read": "2026-10-20",
657
+ "base": "2026-10-20T21:39:17Z",
658
+ "licence": "ODbL-1.0",
659
+ "attribution": "(c) OpenStreetMap contributors, ODbL 1.0, openstreetmap.org/copyright",
660
+ "axis": { "heading": 45, "basis": "building", "strength": 1.31, "elongation": 1.13, "centre": [-111.901119, 40.768261] },
661
+ "ring": [
662
+ [-111.901061, 40.768973],
663
+ [-111.900901, 40.76885],
664
+ [-111.900611, 40.769069],
665
+ [-111.900045, 40.768639],
666
+ [-111.900252, 40.768482],
667
+ [-111.900269, 40.768495],
668
+ [-111.900342, 40.768439],
669
+ [-111.900155, 40.768297],
670
+ [-111.900339, 40.768162],
671
+ [-111.900263, 40.768103],
672
+ [-111.900488, 40.767934],
673
+ [-111.900391, 40.767859],
674
+ [-111.900588, 40.76771],
675
+ [-111.900686, 40.767785],
676
+ [-111.900912, 40.767616],
677
+ [-111.900994, 40.76768],
678
+ [-111.901174, 40.767547],
679
+ [-111.901342, 40.767674],
680
+ [-111.901494, 40.767553],
681
+ [-111.902045, 40.767972],
682
+ [-111.901892, 40.768087],
683
+ [-111.902062, 40.768216],
684
+ [-111.901874, 40.768358],
685
+ [-111.901955, 40.768419],
686
+ [-111.90174, 40.768581],
687
+ [-111.901841, 40.768658],
688
+ [-111.901641, 40.768809],
689
+ [-111.901542, 40.768733],
690
+ [-111.901322, 40.768899],
691
+ [-111.901241, 40.768837],
692
+ ],
693
+ },
694
+ "canada-life-centre": {
695
+ "source": "way/14869890",
696
+ "read": "2026-10-20",
697
+ "base": "2026-10-20T21:40:19Z",
698
+ "licence": "ODbL-1.0",
699
+ "attribution": "(c) OpenStreetMap contributors, ODbL 1.0, openstreetmap.org/copyright",
700
+ "height": 15,
701
+ "axis": { "heading": 162, "basis": "building", "strength": 2.55, "elongation": 1.57, "centre": [-97.143717, 49.892609] },
702
+ "ring": [
703
+ [-97.144608, 49.893039],
704
+ [-97.144619, 49.893025],
705
+ [-97.144553, 49.892939],
706
+ [-97.144589, 49.892931],
707
+ [-97.144197, 49.892203],
708
+ [-97.144242, 49.892143],
709
+ [-97.144286, 49.892134],
710
+ [-97.144231, 49.892033],
711
+ [-97.144188, 49.892043],
712
+ [-97.14403, 49.891994],
713
+ [-97.14399, 49.891921],
714
+ [-97.143964, 49.891914],
715
+ [-97.143862, 49.891938],
716
+ [-97.143868, 49.891949],
717
+ [-97.142843, 49.892177],
718
+ [-97.142852, 49.892194],
719
+ [-97.142835, 49.892198],
720
+ [-97.14287, 49.89226],
721
+ [-97.142887, 49.892256],
722
+ [-97.143448, 49.89329],
723
+ [-97.143472, 49.893397],
724
+ [-97.143544, 49.893435],
725
+ [-97.143634, 49.893423],
726
+ [-97.143674, 49.893381],
727
+ ],
728
+ },
363
729
  };
package/dist/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
1
  /** The package's version: the same as package.json's, and a test holds them to each other. */
2
- export declare const VERSION = "0.28.0";
2
+ export declare const VERSION = "0.31.0";
package/dist/version.js CHANGED
@@ -1,2 +1,2 @@
1
1
  /** The package's version: the same as package.json's, and a test holds them to each other. */
2
- export const VERSION = "0.28.0";
2
+ export const VERSION = "0.31.0";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@johnmorrisdotca/kyogijo-stadiums",
3
- "version": "0.28.0",
3
+ "version": "0.31.0",
4
4
  "description": "Kyogijo Stadiums 競技場, 40 sports' surfaces as SVG, drawn to scale from the rulebooks: NFL, CFL and IFAF football fields, an NHL rink, an NBA court, MLB ballparks, soccer pitches, curling sheets, athletics stadiums, speed skating, short track and figure skating rinks, swimming pools, water polo fields, diving wells, artistic swimming areas, and the courts and fields of tennis, volleyball (indoor, beach and sitting), badminton, pickleball, table tennis, padel, squash, racquetball, sepak takraw, teqball, roundnet, netball, lacrosse, rugby, Australian football, Gaelic games, cricket, field hockey and handball, and the budo of judo, karate, kendo, sumo and kyudo with a dojo of tatami laid as real units, the MMA cage, with each team's name and logo on its side and the score in the middle, stands and a crowd, a pageant of flags, and a 3D view. Light and dark, accessible, a compact badge for lists, a helper for React and a custom element. Zero dependencies.",
5
5
  "keywords": [
6
6
  "sports",
@@ -292,7 +292,9 @@
292
292
  "prepublishOnly": "pnpm check",
293
293
  "site": "pnpm build && node scripts/site.mjs",
294
294
  "test:demo": "pnpm site && playwright test",
295
- "screenshots:readme": "pnpm site && node scripts/readme-pictures.mjs",
295
+ "screenshots:readme": "pnpm site && node scripts/readme-pictures.mjs && node scripts/readme-animation.mjs && node scripts/readme-flythrough.mjs",
296
+ "screenshots:animation": "pnpm site && node scripts/readme-animation.mjs",
297
+ "screenshots:flythrough": "pnpm site && node scripts/readme-flythrough.mjs",
296
298
  "test:readme": "pnpm build && node scripts/check-readme-examples.mjs",
297
299
  "docs:make": "node scripts/docs.mjs",
298
300
  "parks": "node scripts/build-parks.mjs",