@johnmorrisdotca/dougu-sports 0.26.0 → 0.28.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 (60) hide show
  1. package/CHANGELOG.md +45 -0
  2. package/README.md +3 -3
  3. package/dist/emblems/emblem.descriptions.js +16 -4
  4. package/dist/emblems/emblem.ids.d.ts +2 -2
  5. package/dist/emblems/emblem.ids.js +12 -0
  6. package/dist/emblems/emblem.lathe.d.ts +124 -4
  7. package/dist/emblems/emblem.lathe.js +28 -6
  8. package/dist/emblems/emblem.named.js +125 -5
  9. package/dist/emblems/emblem.registry.js +24 -0
  10. package/dist/emblems/lathe.ballrods.d.ts +2 -0
  11. package/dist/emblems/lathe.ballrods.js +155 -0
  12. package/dist/emblems/lathe.conference.d.ts +2 -0
  13. package/dist/emblems/lathe.conference.js +219 -0
  14. package/dist/emblems/lathe.extras.d.ts +3 -1
  15. package/dist/emblems/lathe.extras.js +77 -2
  16. package/dist/emblems/lathe.framed.d.ts +30 -0
  17. package/dist/emblems/lathe.framed.js +98 -0
  18. package/dist/emblems/lathe.sculpt.d.ts +6 -0
  19. package/dist/emblems/lathe.sculpt.js +320 -0
  20. package/dist/emblems/nba.parts.d.ts +27 -0
  21. package/dist/emblems/nba.parts.js +34 -0
  22. package/dist/emblems/trophy/bill-russell-trophy.d.ts +1 -1
  23. package/dist/emblems/trophy/bill-russell-trophy.js +17 -13
  24. package/dist/emblems/trophy/bob-cousy-trophy.d.ts +2 -0
  25. package/dist/emblems/trophy/bob-cousy-trophy.js +18 -0
  26. package/dist/emblems/trophy/calder-cup.js +4 -4
  27. package/dist/emblems/trophy/foundation-player-award.d.ts +2 -0
  28. package/dist/emblems/trophy/foundation-player-award.js +31 -0
  29. package/dist/emblems/trophy/george-halas-trophy.d.ts +2 -0
  30. package/dist/emblems/trophy/george-halas-trophy.js +6 -0
  31. package/dist/emblems/trophy/jackie-robinson-award.d.ts +2 -0
  32. package/dist/emblems/trophy/jackie-robinson-award.js +60 -0
  33. package/dist/emblems/trophy/kelly-cup.js +7 -6
  34. package/dist/emblems/trophy/lamar-hunt-trophy.d.ts +1 -1
  35. package/dist/emblems/trophy/lamar-hunt-trophy.js +5 -16
  36. package/dist/emblems/trophy/larry-bird-trophy.d.ts +2 -0
  37. package/dist/emblems/trophy/larry-bird-trophy.js +23 -0
  38. package/dist/emblems/trophy/larry-obrien-trophy-1977.d.ts +2 -0
  39. package/dist/emblems/trophy/larry-obrien-trophy-1977.js +23 -0
  40. package/dist/emblems/trophy/larry-obrien-trophy.d.ts +1 -1
  41. package/dist/emblems/trophy/larry-obrien-trophy.js +18 -11
  42. package/dist/emblems/trophy/magic-johnson-trophy.d.ts +2 -0
  43. package/dist/emblems/trophy/magic-johnson-trophy.js +20 -0
  44. package/dist/emblems/trophy/messier-leadership-award.d.ts +2 -0
  45. package/dist/emblems/trophy/messier-leadership-award.js +79 -0
  46. package/dist/emblems/trophy/nba-eastern-conference-2001.d.ts +2 -0
  47. package/dist/emblems/trophy/nba-eastern-conference-2001.js +18 -0
  48. package/dist/emblems/trophy/nba-western-conference-2001.d.ts +2 -0
  49. package/dist/emblems/trophy/nba-western-conference-2001.js +19 -0
  50. package/dist/emblems/trophy/oscar-robertson-trophy.d.ts +2 -0
  51. package/dist/emblems/trophy/oscar-robertson-trophy.js +19 -0
  52. package/dist/emblems/trophy/willie-oree-award.d.ts +2 -0
  53. package/dist/emblems/trophy/willie-oree-award.js +55 -0
  54. package/dist/emblems/trophy/wnba-championship-trophy.d.ts +1 -1
  55. package/dist/emblems/trophy/wnba-championship-trophy.js +6 -17
  56. package/dist/index.d.ts +12 -0
  57. package/dist/index.js +12 -0
  58. package/dist/version.d.ts +1 -1
  59. package/dist/version.js +1 -1
  60. package/package.json +1 -1
@@ -0,0 +1,55 @@
1
+ // A gold fedora with a band and a small bow, on three twisting gold ribbons that rise from a round stepped base and cross as they climb to its brim; the base is a gold drum with a black band that holds a plate, on
2
+ // a thin gold disc. Drawn for this package from photographs (docs/likeness.md); the hat is a body of revolution (a crown and a brim), the ribbons are drawn by the cut-out drawing (src/emblems/lathe.sculpt.ts), and
3
+ // the ribbons and the plate are blank: no lettering, and no mark.
4
+ import { defineLathe } from "../emblem.lathe.js";
5
+ import { LATHE_EXTRAS } from "../lathe.extras.js";
6
+ import { LATHE_SCULPT } from "../lathe.sculpt.js";
7
+ /** The Willie O'Ree Community Hero Award: a gold fedora on three twisting ribbons over a round gold and black base. */
8
+ export const TROPHY_WILLIE_OREE_AWARD = /* @__PURE__ */ defineLathe("trophy:willie-oree-award", "Willie O'Ree Award", "ウィリー・オリー賞", "ours", {
9
+ metal: "gold",
10
+ color: "#b8923f",
11
+ extras: LATHE_EXTRAS,
12
+ sculptor: LATHE_SCULPT,
13
+ tones: { dark: "#15110c", band: "#6f5322", high: "#e2c680", hat: "#b8923f" },
14
+ turnBox: "-5.8 -4.8 75.6 75.6",
15
+ lineWidth: 1.5,
16
+ tilt: 10,
17
+ solids: [
18
+ {
19
+ p: [
20
+ [45.4, 7.1, 1],
21
+ [46.3, 7.2],
22
+ [47.2, 7.3, 1],
23
+ [47.2, 8.6, 1],
24
+ [47.9, 8.7],
25
+ [50.5, 8.7, 1],
26
+ [50.5, 8.7, 1],
27
+ [59.5, 8.7, 1],
28
+ [59.5, 8.7, 1],
29
+ [60.4, 8.8],
30
+ [60.4, 9, 1],
31
+ [61.4, 9, 1],
32
+ ],
33
+ decor: [["ring", 47.9], ["ring", 59.5], ["patch", 50.6, 59.3, -50, 50, "dark"], ["patch", 50.6, 59.3, 62, 118, "dark"], ["patch", 50.6, 59.3, -118, -62, "dark"], ["patch", 50.6, 59.3, 130, 230, "dark"]],
34
+ },
35
+ { open: false, p: [[7.9, 4.8, 1], [8, 6.6], [8.2, 7.7], [8.5, 7.9, 1], [8.8, 7.6], [8.9, 6.1, 1], [8.9, 4.8, 1]] },
36
+ ],
37
+ parts: [
38
+ {
39
+ kind: "cut",
40
+ t: 8.5,
41
+ layers: [
42
+ ["hat", "M27.8 7.4C27.8 7.1 27.8 6.3 27.8 5.7C27.9 5 28.2 4.3 28.4 3.7C28.6 3.2 28.8 2.8 29.1 2.5C29.4 2.1 29.8 1.8 30.2 1.8C30.6 1.7 31 2.1 31.4 2.4C31.8 2.7 32.1 3.6 32.5 3.6C32.9 3.5 33.3 2.5 33.8 2.2C34.3 1.8 35.1 1.5 35.5 1.5C36 1.5 36.3 2 36.6 2.5C36.9 2.9 37.1 3.5 37.2 4.3C37.3 5 37.4 6.9 37.4 6.9C37.4 6.9 37.1 7.5 37.1 7.5C37.1 7.5 31.9 7.6 31.9 7.6C31.9 7.6 28.1 7.5 28.1 7.5C28.1 7.5 27.9 7.7 27.8 7.4Z"],
43
+ ["band", "M31.9 3.2C32.1 2.9 32.5 3 32.8 3.1C33 3.1 33.4 3.1 33.5 3.7C33.6 4.4 33.5 6.3 33.3 6.9C33.1 7.4 32.5 7.2 32.3 6.9C32 6.5 32 5.6 31.9 5C31.9 4.4 31.8 3.5 31.9 3.2Z", "dk"],
44
+ ["high", "M35 2C35.1 1.8 35.8 1.7 36.1 1.8C36.4 2 36.6 2.3 36.8 2.9C36.9 3.4 37 4.9 36.9 5.1C36.8 5.3 36.5 4.4 36.2 4.1C36 3.7 35.6 3.4 35.4 3.1C35.2 2.7 34.9 2.2 35 2Z", "lt"],
45
+ ["band", "M27.8 6.7L37.4 6.5L37.4 8.1L27.8 8.2Z"],
46
+ ["hat", "M35.7 6.9C35.9 6.6 36.4 6.5 36.8 6.5C37.1 6.5 37.6 6.6 37.8 6.9C38 7.1 38 7.8 37.8 8.1C37.6 8.3 37.1 8.2 36.8 8.2C36.4 8.2 35.9 8.3 35.7 8.1C35.5 7.8 35.5 7.1 35.7 6.9Z", "fl"],
47
+ ],
48
+ },
49
+ { kind: "ribbon", steps: 16, pts: [[0.3, 9.3, -1.3, 75, 1.7], [0.4, 12.7, -1.3, 75, 1.7], [0.3, 18.8, -1.2, 75, 1.7], [0.4, 24.9, -1.2, 78, 1.7], [0.6, 31.8, -1.1, 75, 1.7], [0.3, 37.8, -1.1, 69, 1.7], [0.1, 43.9, -1, 63, 1.7], [0.3, 46.5, -1, 49, 1.7]] },
50
+ { kind: "ribbon", steps: 16, pts: [[0.1, 9.3, 0.2, -78, 2.8], [-0.3, 12.7, 0.3, -70, 2.8], [-1.3, 18.8, 0.4, -56, 2.8], [-2.9, 24.9, 0.5, -52, 2.8], [-4, 31.8, 0.6, -54, 2.8], [-4.4, 37, 0.7, -68, 2.8], [-3.5, 42.2, 0.8, -56, 2.8], [-2.2, 46.7, 0.9, -30, 2.8]] },
51
+ { kind: "ribbon", steps: 16, pts: [[0.6, 9.3, 1, 79, 3.1], [1.1, 12.7, 1.1, 72, 3.1], [2, 18.8, 1.1, 62, 3.1], [3.2, 24.9, 1.2, 52, 3.1], [4.4, 31.8, 1.2, 50, 3.1], [5.3, 37, 1.3, 56, 3.1], [5.3, 42.2, 1.3, 58, 3.1], [4.6, 46.7, 1.4, 30, 3.1]] },
52
+ { kind: "box", tone: "main", x: [4.6, 6.4], y: [6.7, 8.2], z: [-1.2, 1.2] },
53
+ ],
54
+ plate: { y0: 51.3, y1: 58.6, tone: "dark" },
55
+ });
@@ -1,2 +1,2 @@
1
- /** The WNBA Championship Trophy: a silver basketball on two slanting tubes over a low slab. */
1
+ /** The WNBA Championship Trophy: a silver basketball on three leaning rods over a low triangular plinth. */
2
2
  export declare const TROPHY_WNBA_CHAMPIONSHIP_TROPHY: import("../emblem.core.ts").Emblem<import("../emblem.lathe.ts").LatheModel>;
@@ -1,18 +1,7 @@
1
- // A polished silver basketball held up by two thick silver tubes that slant away from it to a low slab of pale stone, the whole leaning like a swung club. Drawn for this package from a photograph of the trophy carried by a
2
- // player (docs/likeness.md), so approximate: the ball's seams are the engine's basketball seams, the tubes are two parallel curves in one plane, and the base is a plain square slab (the real one is a wedge); no lettering.
1
+ // The WNBA championship trophy of today (the design used since 2023): a polished silver basketball, its seams cut as grooves, held up high and off to one side on three thin silver rods that lean forward from small
2
+ // collars on a low, rounded, triangular plinth. The ball is about a third of the trophy's height. Drawn for this package from photographs (docs/likeness.md) in 3D parts (lathe.ballrods.ts), so it turns; the maker's
3
+ // mark, the league's mark and every letter are left out, and the plinth's front takes the `engrave` option.
3
4
  import { defineLathe } from "../emblem.lathe.js";
4
- /** The WNBA Championship Trophy: a silver basketball on two slanting tubes over a low slab. */
5
- export const TROPHY_WNBA_CHAMPIONSHIP_TROPHY = /* @__PURE__ */ defineLathe("trophy:wnba-championship-trophy", "WNBA Championship Trophy", "WNBA優勝トロフィー", "ours", {
6
- metal: "silver",
7
- box: "-0.4 0 64.7 64.7",
8
- turnBox: "-8.1 0 80 80",
9
- tones: { stone: "#cfd3d8" },
10
- tilt: 12,
11
- solids: [{ sides: 4, turn: -45, tone: "stone", p: [[53.5, 17, 1, "stone"], [60.5, 19, 1, "stone"]] }],
12
- handles: [
13
- { a: 90, w: 3.4, pts: [[-8, 22], [-2, 33], [6, 44], [14, 53.6]] },
14
- { a: 90, w: 3.4, pts: [[-2, 20], [4, 31], [12, 42], [19, 51.4]] },
15
- ],
16
- balls: [{ kind: "basket", cx: 26, cy: 13.5, r: 10.5 }],
17
- plate: { y0: 55, y1: 60, tone: "stone", face: 0 },
18
- });
5
+ import { BALL_ON_RODS } from "../lathe.ballrods.js";
6
+ /** The WNBA Championship Trophy: a silver basketball on three leaning rods over a low triangular plinth. */
7
+ export const TROPHY_WNBA_CHAMPIONSHIP_TROPHY = /* @__PURE__ */ defineLathe("trophy:wnba-championship-trophy", "WNBA Championship Trophy", "WNBA優勝トロフィー", "ours", BALL_ON_RODS);
package/dist/index.d.ts CHANGED
@@ -63,9 +63,17 @@ export { TROPHY_MLB_MVP_AWARD } from "./emblems/trophy/mlb-mvp-award.ts";
63
63
  export { TROPHY_RELIEF_MAN_AWARD } from "./emblems/trophy/relief-man-award.ts";
64
64
  export { TROPHY_HANK_AARON_AWARD } from "./emblems/trophy/hank-aaron-award.ts";
65
65
  export { TROPHY_BILL_RUSSELL_TROPHY } from "./emblems/trophy/bill-russell-trophy.ts";
66
+ export { TROPHY_NBA_WESTERN_CONFERENCE_2001 } from "./emblems/trophy/nba-western-conference-2001.ts";
67
+ export { TROPHY_NBA_EASTERN_CONFERENCE_2001 } from "./emblems/trophy/nba-eastern-conference-2001.ts";
68
+ export { TROPHY_OSCAR_ROBERTSON_TROPHY } from "./emblems/trophy/oscar-robertson-trophy.ts";
69
+ export { TROPHY_BOB_COUSY_TROPHY } from "./emblems/trophy/bob-cousy-trophy.ts";
70
+ export { TROPHY_MAGIC_JOHNSON_TROPHY } from "./emblems/trophy/magic-johnson-trophy.ts";
71
+ export { TROPHY_LARRY_BIRD_TROPHY } from "./emblems/trophy/larry-bird-trophy.ts";
72
+ export { TROPHY_LARRY_OBRIEN_TROPHY_1977 } from "./emblems/trophy/larry-obrien-trophy-1977.ts";
66
73
  export { TROPHY_WALTER_CUP } from "./emblems/trophy/walter-cup.ts";
67
74
  export { TROPHY_WNBA_CHAMPIONSHIP_TROPHY } from "./emblems/trophy/wnba-championship-trophy.ts";
68
75
  export { TROPHY_LAMAR_HUNT_TROPHY } from "./emblems/trophy/lamar-hunt-trophy.ts";
76
+ export { TROPHY_GEORGE_HALAS_TROPHY } from "./emblems/trophy/george-halas-trophy.ts";
69
77
  export { TROPHY_SILVER_SLUGGER_AWARD } from "./emblems/trophy/silver-slugger-award.ts";
70
78
  export { TROPHY_WORLD_SERIES_MVP_TROPHY } from "./emblems/trophy/world-series-mvp-trophy.ts";
71
79
  export { TROPHY_AVCO_WORLD_TROPHY } from "./emblems/trophy/avco-world-trophy.ts";
@@ -75,10 +83,14 @@ export { TROPHY_FIFA_WORLD_CUP } from "./emblems/trophy/fifa-world-cup.ts";
75
83
  export { TROPHY_WOODLAWN_VASE } from "./emblems/trophy/woodlawn-vase.ts";
76
84
  export { TROPHY_DFB_POKAL } from "./emblems/trophy/dfb-pokal.ts";
77
85
  export { TROPHY_CHAMPIONS_LEAGUE_TROPHY } from "./emblems/trophy/champions-league-trophy.ts";
86
+ export { TROPHY_JACKIE_ROBINSON_AWARD } from "./emblems/trophy/jackie-robinson-award.ts";
78
87
  export { TROPHY_CALDER_CUP } from "./emblems/trophy/calder-cup.ts";
79
88
  export { TROPHY_KELLY_CUP } from "./emblems/trophy/kelly-cup.ts";
80
89
  export { TROPHY_CFP_TROPHY } from "./emblems/trophy/cfp-trophy.ts";
81
90
  export { TROPHY_MLS_CUP } from "./emblems/trophy/mls-cup.ts";
91
+ export { TROPHY_FOUNDATION_PLAYER_AWARD } from "./emblems/trophy/foundation-player-award.ts";
92
+ export { TROPHY_WILLIE_OREE_AWARD } from "./emblems/trophy/willie-oree-award.ts";
93
+ export { TROPHY_MESSIER_LEADERSHIP_AWARD } from "./emblems/trophy/messier-leadership-award.ts";
82
94
  export { TROPHY_WEBB_ELLIS_CUP } from "./emblems/trophy/webb-ellis-cup.ts";
83
95
  export { TROPHY_FA_CUP } from "./emblems/trophy/fa-cup.ts";
84
96
  export { TROPHY_CRICKET_WORLD_CUP } from "./emblems/trophy/cricket-world-cup.ts";
package/dist/index.js CHANGED
@@ -64,9 +64,17 @@ export { TROPHY_MLB_MVP_AWARD } from "./emblems/trophy/mlb-mvp-award.js";
64
64
  export { TROPHY_RELIEF_MAN_AWARD } from "./emblems/trophy/relief-man-award.js";
65
65
  export { TROPHY_HANK_AARON_AWARD } from "./emblems/trophy/hank-aaron-award.js";
66
66
  export { TROPHY_BILL_RUSSELL_TROPHY } from "./emblems/trophy/bill-russell-trophy.js";
67
+ export { TROPHY_NBA_WESTERN_CONFERENCE_2001 } from "./emblems/trophy/nba-western-conference-2001.js";
68
+ export { TROPHY_NBA_EASTERN_CONFERENCE_2001 } from "./emblems/trophy/nba-eastern-conference-2001.js";
69
+ export { TROPHY_OSCAR_ROBERTSON_TROPHY } from "./emblems/trophy/oscar-robertson-trophy.js";
70
+ export { TROPHY_BOB_COUSY_TROPHY } from "./emblems/trophy/bob-cousy-trophy.js";
71
+ export { TROPHY_MAGIC_JOHNSON_TROPHY } from "./emblems/trophy/magic-johnson-trophy.js";
72
+ export { TROPHY_LARRY_BIRD_TROPHY } from "./emblems/trophy/larry-bird-trophy.js";
73
+ export { TROPHY_LARRY_OBRIEN_TROPHY_1977 } from "./emblems/trophy/larry-obrien-trophy-1977.js";
67
74
  export { TROPHY_WALTER_CUP } from "./emblems/trophy/walter-cup.js";
68
75
  export { TROPHY_WNBA_CHAMPIONSHIP_TROPHY } from "./emblems/trophy/wnba-championship-trophy.js";
69
76
  export { TROPHY_LAMAR_HUNT_TROPHY } from "./emblems/trophy/lamar-hunt-trophy.js";
77
+ export { TROPHY_GEORGE_HALAS_TROPHY } from "./emblems/trophy/george-halas-trophy.js";
70
78
  export { TROPHY_SILVER_SLUGGER_AWARD } from "./emblems/trophy/silver-slugger-award.js";
71
79
  export { TROPHY_WORLD_SERIES_MVP_TROPHY } from "./emblems/trophy/world-series-mvp-trophy.js";
72
80
  export { TROPHY_AVCO_WORLD_TROPHY } from "./emblems/trophy/avco-world-trophy.js";
@@ -76,10 +84,14 @@ export { TROPHY_FIFA_WORLD_CUP } from "./emblems/trophy/fifa-world-cup.js";
76
84
  export { TROPHY_WOODLAWN_VASE } from "./emblems/trophy/woodlawn-vase.js";
77
85
  export { TROPHY_DFB_POKAL } from "./emblems/trophy/dfb-pokal.js";
78
86
  export { TROPHY_CHAMPIONS_LEAGUE_TROPHY } from "./emblems/trophy/champions-league-trophy.js";
87
+ export { TROPHY_JACKIE_ROBINSON_AWARD } from "./emblems/trophy/jackie-robinson-award.js";
79
88
  export { TROPHY_CALDER_CUP } from "./emblems/trophy/calder-cup.js";
80
89
  export { TROPHY_KELLY_CUP } from "./emblems/trophy/kelly-cup.js";
81
90
  export { TROPHY_CFP_TROPHY } from "./emblems/trophy/cfp-trophy.js";
82
91
  export { TROPHY_MLS_CUP } from "./emblems/trophy/mls-cup.js";
92
+ export { TROPHY_FOUNDATION_PLAYER_AWARD } from "./emblems/trophy/foundation-player-award.js";
93
+ export { TROPHY_WILLIE_OREE_AWARD } from "./emblems/trophy/willie-oree-award.js";
94
+ export { TROPHY_MESSIER_LEADERSHIP_AWARD } from "./emblems/trophy/messier-leadership-award.js";
83
95
  export { TROPHY_WEBB_ELLIS_CUP } from "./emblems/trophy/webb-ellis-cup.js";
84
96
  export { TROPHY_FA_CUP } from "./emblems/trophy/fa-cup.js";
85
97
  export { TROPHY_CRICKET_WORLD_CUP } from "./emblems/trophy/cricket-world-cup.js";
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const VERSION = "0.26.0";
1
+ export declare const VERSION = "0.28.0";
package/dist/version.js CHANGED
@@ -1 +1 @@
1
- export const VERSION = "0.26.0";
1
+ export const VERSION = "0.28.0";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@johnmorrisdotca/dougu-sports",
3
- "version": "0.26.0",
3
+ "version": "0.28.0",
4
4
  "description": "Dougu Sports 道具, sports emblems as SVG strings: trophies, medals, crests, sport icons, and the ball and gear of every sport, in metal, line or flat colour, with optional 3D turning. Light and dark, accessible, tree-shakeable. Zero dependencies.",
5
5
  "keywords": [
6
6
  "sports",