(id: string)
| 57 | |
| 58 | const byId = new Map(STARS.map((s) => [s.id, s])); |
| 59 | export const star = (id: string): Star | undefined => byId.get(id); |
| 60 | |
| 61 | /** Asterism line segments, by star id, drawn faintly when both ends are up. */ |
| 62 | export const ASTERISMS: [string, string][] = [ |