@johnmorrisdotca/chikyu-earth 0.37.0 → 0.39.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 (43) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/NOTICE.md +2 -1
  3. package/README.md +2 -1
  4. package/dist/markers/place-layer.d.ts +12 -1
  5. package/dist/markers/place-layer.js +88 -18
  6. package/dist/markers/place-sprites.d.ts +5 -0
  7. package/dist/markers/place-sprites.js +8 -0
  8. package/dist/paint/buffer.d.ts +58 -0
  9. package/dist/paint/buffer.js +321 -0
  10. package/dist/paint/math.d.ts +24 -0
  11. package/dist/paint/math.js +94 -0
  12. package/dist/paint/texture.d.ts +34 -0
  13. package/dist/paint/texture.js +52 -0
  14. package/dist/realistic/earth.d.ts +9 -0
  15. package/dist/realistic/earth.js +19 -10
  16. package/dist/realistic/element-base.d.ts +437 -0
  17. package/dist/realistic/element-base.js +1209 -0
  18. package/dist/realistic/element.d.ts +2 -406
  19. package/dist/realistic/element.js +3 -1151
  20. package/dist/realistic/index.d.ts +1 -1
  21. package/dist/realistic/no-cultures.d.ts +1 -0
  22. package/dist/realistic/no-cultures.js +2 -0
  23. package/dist/realistic/shaders.js +13 -0
  24. package/dist/realistic/tiles.d.ts +24 -0
  25. package/dist/realistic/tiles.js +30 -12
  26. package/dist/satellites/track.js +26 -11
  27. package/dist/satellites/types.d.ts +5 -2
  28. package/dist/sky/culture-source.d.ts +15 -0
  29. package/dist/sky/culture-source.js +15 -0
  30. package/dist/sky/cultures.d.ts +1 -0
  31. package/dist/sky/cultures.js +8 -0
  32. package/dist/sky/host.js +144 -18
  33. package/dist/space/element-base.d.ts +624 -0
  34. package/dist/space/element-base.js +1627 -0
  35. package/dist/space/element.d.ts +2 -587
  36. package/dist/space/element.js +3 -1546
  37. package/dist/space/no-cultures.d.ts +1 -0
  38. package/dist/space/no-cultures.js +2 -0
  39. package/dist/space/satellite-layer.d.ts +24 -0
  40. package/dist/space/satellite-layer.js +45 -5
  41. package/dist/space/scene.d.ts +16 -0
  42. package/dist/space/scene.js +56 -9
  43. package/package.json +23 -3
@@ -0,0 +1 @@
1
+ export * from "./element-base.ts";
@@ -0,0 +1,2 @@
1
+ // `<chikyu-space>` with no sky culture but the IAU's: nothing under `hoshi-stars/cultures` is in the build, and `constellation-culture` is `iau` whatever a page sets (with one warning). Everything else is as `space/element`.
2
+ export * from "./element-base.js";
@@ -35,6 +35,30 @@ export interface SatelliteState {
35
35
  export declare const newSatelliteState: () => SatelliteState;
36
36
  /** The most orbits a group may draw all at once, one line each. */
37
37
  export declare const MAX_ORBIT_GROUP = 40;
38
+ /** How long, in milliseconds of wall time, a satellite's place is kept before SGP4 places it again when the clock is too fast to interpolate: about once a second. */
39
+ export declare const PIN_PERIOD_MS = 1000;
40
+ /**
41
+ * How many satellites of a group to pin in a frame that comes `elapsedMs` after the last one, so that each is pinned again about once every {@link PIN_PERIOD_MS} and no frame that comes at a lively pace pins them all: a share of the group in
42
+ * proportion to the time since the last frame (a 60 Hz frame pins about a sixtieth, a 30 Hz one a thirtieth), at least one. A frame that comes a second or more after the last one pins the whole group, as one always did: a picture that
43
+ * is drawn that seldom has no frames for a single batch to hitch.
44
+ *
45
+ * @param count - How many satellites the group has.
46
+ * @param elapsedMs - Wall-clock milliseconds since the last frame that pinned a slice.
47
+ * @returns How many to pin now, from 0 (an empty group) to `count`. Internal: not exported from the package.
48
+ */
49
+ export declare const pinSliceSize: (count: number, elapsedMs: number) => number;
50
+ /**
51
+ * The slice of a group to pin in this frame: up to two runs of satellites as `[first, count]` (the second when the slice reaches the end and goes on from the start), and where the next slice begins.
52
+ *
53
+ * @param count - How many satellites the group has.
54
+ * @param next - Where the last slice ended (the first satellite of this one).
55
+ * @param elapsedMs - Wall-clock milliseconds since the last frame that pinned a slice.
56
+ * @returns The runs to pin and the start of the next slice. Internal: not exported from the package.
57
+ */
58
+ export declare function pinPlan(count: number, next: number, elapsedMs: number): {
59
+ runs: [number, number][];
60
+ next: number;
61
+ };
38
62
  /**
39
63
  * Where a satellite is on the screen now: in CSS pixels in the view's box, whether it can be seen (inside the box and not behind the Earth) and how high it is.
40
64
  *
@@ -37,6 +37,37 @@ void main() {
37
37
  gl_FragColor = vec4(colour, a * (1.0 - 0.7 * vDim));
38
38
  }
39
39
  }`;
40
+ /** How long, in milliseconds of wall time, a satellite's place is kept before SGP4 places it again when the clock is too fast to interpolate: about once a second. */
41
+ export const PIN_PERIOD_MS = 1000;
42
+ /**
43
+ * How many satellites of a group to pin in a frame that comes `elapsedMs` after the last one, so that each is pinned again about once every {@link PIN_PERIOD_MS} and no frame that comes at a lively pace pins them all: a share of the group in
44
+ * proportion to the time since the last frame (a 60 Hz frame pins about a sixtieth, a 30 Hz one a thirtieth), at least one. A frame that comes a second or more after the last one pins the whole group, as one always did: a picture that
45
+ * is drawn that seldom has no frames for a single batch to hitch.
46
+ *
47
+ * @param count - How many satellites the group has.
48
+ * @param elapsedMs - Wall-clock milliseconds since the last frame that pinned a slice.
49
+ * @returns How many to pin now, from 0 (an empty group) to `count`. Internal: not exported from the package.
50
+ */
51
+ export const pinSliceSize = (count, elapsedMs) => (count <= 0 ? 0 : Math.min(count, Math.max(1, Math.ceil((count * Math.min(PIN_PERIOD_MS, Math.max(0, elapsedMs))) / PIN_PERIOD_MS))));
52
+ /**
53
+ * The slice of a group to pin in this frame: up to two runs of satellites as `[first, count]` (the second when the slice reaches the end and goes on from the start), and where the next slice begins.
54
+ *
55
+ * @param count - How many satellites the group has.
56
+ * @param next - Where the last slice ended (the first satellite of this one).
57
+ * @param elapsedMs - Wall-clock milliseconds since the last frame that pinned a slice.
58
+ * @returns The runs to pin and the start of the next slice. Internal: not exported from the package.
59
+ */
60
+ export function pinPlan(count, next, elapsedMs) {
61
+ const slice = pinSliceSize(count, elapsedMs);
62
+ if (slice === 0)
63
+ return { runs: [], next: 0 };
64
+ const first = next >= 0 && next < count ? Math.floor(next) : 0;
65
+ const part = Math.min(slice, count - first);
66
+ const runs = [[first, part]];
67
+ if (part < slice)
68
+ runs.push([0, slice - part]);
69
+ return { runs, next: (first + slice) % count };
70
+ }
40
71
  export function createSatelliteLayer(three, scene, state, ratio) {
41
72
  if (!three.Points)
42
73
  throw new Error("Satellites need `Points` from three.js: add it to the parts the three loader hands over (see setThreeLoader)");
@@ -178,7 +209,7 @@ export function createSatelliteLayer(three, scene, state, ratio) {
178
209
  streak.visible = false;
179
210
  scene.add(streak);
180
211
  }
181
- entry = { source: group.satellites, points, geometry, material, positions, attribute, dim, dimVersion: -1, lines: [], linesAt: Number.NaN, linesWall: 0, style: "", streak, streakPositions, streakColours, streakAttribute, pinWall: 0, pinTime: 0 };
212
+ entry = { source: group.satellites, points, geometry, material, positions, attribute, dim, dimVersion: -1, lines: [], linesAt: Number.NaN, linesWall: 0, style: "", streak, streakPositions, streakColours, streakAttribute, pinWall: 0, pinTime: 0, pinNext: 0 };
182
213
  drawn.set(name, entry);
183
214
  }
184
215
  const style = `${group.color}|${group.size}|${ratio()}|${dotScale}|${state.orbitTint ? 1 : 0}`;
@@ -213,12 +244,21 @@ export function createSatelliteLayer(three, scene, state, ratio) {
213
244
  continue;
214
245
  }
215
246
  if (tooFast) {
216
- // pinned again about once a second, and at once when the time jumped (a date typed in, a scrub), so a place is never turned across days
217
- if (entry.pinWall === 0 || started - entry.pinWall >= 1000 || Math.abs(time - entry.pinTime) > 1500 * Math.abs(speed)) {
247
+ // pinned whole at the first frame and when the time jumped (a date typed in, a scrub), so a place is never turned across days; after that a slice a frame, each satellite again about once a second,
248
+ // so SGP4 never runs for the whole group (17,000 satellites take about 12 ms) in one frame
249
+ const total = group.satellites.count;
250
+ if (entry.pinWall === 0 || Math.abs(time - entry.pinTime) > 1500 * Math.abs(speed)) {
218
251
  group.satellites.pin(time);
219
- entry.pinWall = started;
220
- entry.pinTime = time;
252
+ entry.pinNext = 0;
253
+ }
254
+ else {
255
+ const plan = pinPlan(total, entry.pinNext, started - entry.pinWall);
256
+ for (const [first, part] of plan.runs)
257
+ group.satellites.pin(time, first, part);
258
+ entry.pinNext = plan.next;
221
259
  }
260
+ entry.pinWall = started;
261
+ entry.pinTime = time;
222
262
  const n = group.satellites.arc(time, span, entry.positions, entry.streakPositions);
223
263
  entry.attribute.needsUpdate = true;
224
264
  if (entry.streak) {
@@ -1,6 +1,7 @@
1
1
  import type * as THREE from "three";
2
2
  import type { AssetCache, Item3D } from "@johnmorrisdotca/kazoku-ui/renderer";
3
3
  import { type ThreeParts } from "../realistic/textures.ts";
4
+ import { type TileSet, type TileSources } from "../realistic/tile-set.ts";
4
5
  import type { Layer } from "../realistic/tiers.ts";
5
6
  import type { LightMode } from "../realistic/earth.ts";
6
7
  import { type Frame, type PlanetName, type Vec3 } from "./ephemeris.ts";
@@ -212,6 +213,8 @@ export interface SpaceModel {
212
213
  shown: boolean;
213
214
  parts: number;
214
215
  } | null;
216
+ /** The map tiles laid over the Earth while the scene is built: what they are doing, for a page or a test. */
217
+ tiles: TileSet | null;
215
218
  /** Where a satellite of a shown group is on the screen as of the last draw (`placeSatellite`), or `null`. */
216
219
  placeSatellite: ((ref: SatelliteRef) => SatelliteScreen | null) | null;
217
220
  ratio(): number;
@@ -395,12 +398,25 @@ export interface SpaceDeps {
395
398
  onRideLost?: () => void;
396
399
  /** The satellites could not be drawn (the three.js parts handed over lack `Points`). */
397
400
  onSatellitesError?: (error: unknown) => void;
401
+ /** The painted satellite trail. Read at every draw; nothing is uploaded while `step` returns false. */
402
+ paint?: {
403
+ data(): Uint8Array;
404
+ width: number;
405
+ height: number;
406
+ step(ms: number): boolean;
407
+ span(): number;
408
+ on(): boolean;
409
+ };
398
410
  /** How the Sun, the planets and their moons are drawn; left out, plain spheres in the right colours (see `BodyPainter`). */
399
411
  painter?: BodyPainter;
400
412
  /** The models of large satellites, for a followed satellite (see `SatellitePainter`); none, and a satellite is a dot. */
401
413
  satellitePainter?: () => SatellitePainter | undefined;
402
414
  /** The painter could not make a body (the three.js parts handed over lack something it needs); the body is drawn plain instead. */
403
415
  onPainterError?: (error: unknown) => void;
416
+ /** The map source of each layer now (the folder of the `tiles` attribute), or none: the Earth then keeps the package's own pictures. Read at every draw. */
417
+ sources?: () => TileSources;
418
+ /** Told once when the tile set has been read: the width in pixels of the finest level of each of its layers. */
419
+ onTiles?: (layers: Record<string, number>) => void;
404
420
  }
405
421
  /**
406
422
  * The default look: a sphere in the planet's colour, lit by the Sun, and for the Sun a glowing disc.
@@ -2,13 +2,16 @@ import { AIR_QUALITY, AIR_THICKNESS_DEFAULT, AIR_VERT, airFrag, airTop } from ".
2
2
  import { sphere } from "../realistic/earth.js";
3
3
  import { BODY_FRAG, CLOUD_FRAG, GLOW_FRAG, GLOW_VERT, SURFACE_FRAG, SURFACE_VERT } from "../realistic/shaders.js";
4
4
  import { createTextureSet } from "../realistic/textures.js";
5
+ import { createTileSet } from "../realistic/tile-set.js";
5
6
  import { createTrack, orbitPath, PLANETS } from "./ephemeris.js";
6
7
  import { placeAround, placeMoon, placeSun, RADIUS } from "./scale.js";
7
8
  import { faceOffset, ridePose } from "./ride.js";
8
9
  import { coverBody, covers } from "../sky/cover.js";
9
- import { createPlaceSprites } from "../markers/place-sprites.js";
10
+ import { beginPlaceSprites, createPlaceSprites } from "../markers/place-sprites.js";
10
11
  import { aboveAxes, MODEL_RADIUS_SHARE, modelMatrix, modelRadius, satelliteAxes } from "./satellite-model.js";
11
12
  import { createSatelliteLayer, newSatelliteState } from "./satellite-layer.js";
13
+ import { paintMinute } from "../paint/buffer.js";
14
+ import { createPaintTexture } from "../paint/texture.js";
12
15
  import { createBodyLabelLayer, newBodyLabelState } from "../realistic/body-label.js";
13
16
  import { createMeteorLayer, newMeteorState } from "../meteors/layer.js";
14
17
  import { createBorderLayer, newBorderState } from "../borders/layer.js";
@@ -98,6 +101,7 @@ export const newSpaceModel = () => ({
98
101
  pick: null,
99
102
  placeSatellite: null,
100
103
  followModel: null,
104
+ tiles: null,
101
105
  ratio: () => Math.min(globalThis.devicePixelRatio || 1, 2),
102
106
  });
103
107
  /** An inertial direction from the Earth's centre, in scene axes, for right ascension and declination in degrees. */
@@ -186,6 +190,8 @@ export function createSpaceItem(model, deps) {
186
190
  fragmentShader: SURFACE_FRAG,
187
191
  uniforms: { dayMap: uniform.day, nightMap: uniform.night, waterMap: uniform.water, cloudMap: uniform.clouds, sunDir: sunEarth, sunLocal, cloudShift, lights: { value: 1 }, boost: { value: 0 }, ortho: { value: 0 } },
188
192
  });
193
+ const paint = createPaintTexture(three, { data: () => deps.paint?.data() ?? new Uint8Array(4), width: deps.paint?.width ?? 1, height: deps.paint?.height ?? 1 });
194
+ Object.assign(earthMaterial.uniforms, paint.uniforms);
189
195
  const cloudMaterial = new three.ShaderMaterial({
190
196
  vertexShader: SURFACE_VERT,
191
197
  fragmentShader: CLOUD_FRAG,
@@ -203,6 +209,9 @@ export function createSpaceItem(model, deps) {
203
209
  depthWrite: false,
204
210
  });
205
211
  const earth = new three.Mesh(grid, earthMaterial);
212
+ // the finer map tiles, laid over the Earth's own picture where the camera is near enough to need them (they turn with the Earth: they are its children)
213
+ const tiles = createTileSet(three, earth, { sunDir: sunEarth, lights: earthMaterial.uniforms["lights"], boost: earthMaterial.uniforms["boost"], ortho: earthMaterial.uniforms["ortho"], water: uniform.water, night: uniform.night, extra: { cloudMap: uniform.clouds, sunLocal, cloudShift } }, { assets: deps.assets, sources: () => deps.sources?.() ?? {}, cap: deps.cap, invalidate: deps.invalidate, ...(deps.onTiles ? { onManifest: deps.onTiles } : {}) });
214
+ model.tiles = tiles;
206
215
  const clouds = new three.Mesh(grid, cloudMaterial);
207
216
  clouds.scale.setScalar(1.006);
208
217
  clouds.renderOrder = 3;
@@ -283,8 +292,7 @@ export function createSpaceItem(model, deps) {
283
292
  let meteorTimer;
284
293
  let nameOn = null;
285
294
  let borders = null;
286
- let placeSprites = null;
287
- let placeSpritesTried = false;
295
+ const placeRings = { sprites: null, tried: false };
288
296
  let gridLayer = null;
289
297
  let marksTold = false;
290
298
  // the followed satellite's model: which satellite it is for, the drawing once it is made, and a count so that a model made for a satellite no longer followed is let go
@@ -304,6 +312,9 @@ export function createSpaceItem(model, deps) {
304
312
  const desiredQ = camera.quaternion.clone();
305
313
  const fromQ = camera.quaternion.clone();
306
314
  const projected = new three.Vector3();
315
+ const upAxis = new three.Vector3(0, 1, 0);
316
+ const eye = new three.Vector3();
317
+ const ray = new three.Vector3();
307
318
  const placeAll = (at) => {
308
319
  const sunAt = placeSun(model.mode, at.sun);
309
320
  const all = { Earth: [0, 0, 0], Moon: placeMoon(model.mode, at.moon), Sun: sunAt };
@@ -348,6 +359,13 @@ export function createSpaceItem(model, deps) {
348
359
  glow.scale.setScalar(airTop(model.airThickness));
349
360
  earthMaterial.uniforms["lights"].value = model.light === "lit" ? 0 : 1;
350
361
  earthMaterial.uniforms["boost"].value = model.light === "boost" ? 1 : 0;
362
+ if (deps.paint) {
363
+ const changed = deps.paint.step(model.time);
364
+ paint.sync(deps.paint.on(), changed);
365
+ paint.uniforms.paintNow.value = paintMinute(model.time);
366
+ paint.uniforms.paintSpan.value = deps.paint.span();
367
+ paint.uniforms.paintOn.value = deps.paint.on() ? 1 : 0;
368
+ }
351
369
  // the Moon, with its near side to the Earth
352
370
  moon.position.set(moonPos[0], moonPos[1], moonPos[2]);
353
371
  moon.scale.setScalar(RADIUS["Moon"][mode]);
@@ -581,6 +599,34 @@ export function createSpaceItem(model, deps) {
581
599
  px[name] = radiusPxOf(name);
582
600
  model.drawn = { frame, distance, radiusPx: px.Earth };
583
601
  layer?.resize(px.Earth);
602
+ // the finer map tiles: the camera as the Earth's own axes have it, so a camera a few kilometres up asks for the tiles under it at the level its height needs
603
+ {
604
+ // the Earth is turned about the y axis and sits at the origin, so its own axes are the world's turned back by that angle
605
+ const turn = earth.rotation.y;
606
+ eye.copy(camera.position).applyAxisAngle(upAxis, -turn);
607
+ const away = Math.max(1e-4, eye.length() - 1);
608
+ const focal = size.height / 2 / half;
609
+ const look = {
610
+ eye: [eye.x, eye.y, eye.z],
611
+ project: (point) => {
612
+ projected.set(point[0], point[1], point[2]).applyAxisAngle(upAxis, turn).project(camera);
613
+ if (projected.z > 1 || projected.z < -1)
614
+ return null;
615
+ return { x: ((projected.x + 1) / 2) * size.width, y: ((1 - projected.y) / 2) * size.height };
616
+ },
617
+ ground: (x, y) => {
618
+ ray.set((x / size.width) * 2 - 1, 1 - (y / size.height) * 2, 0.5).unproject(camera).sub(camera.position).normalize().applyAxisAngle(upAxis, -turn);
619
+ // the nearer point where the line from the camera meets the unit sphere, if it does
620
+ const b = eye.dot(ray);
621
+ const rest = b * b - (eye.lengthSq() - 1);
622
+ if (rest < 0)
623
+ return null;
624
+ const t = -b - Math.sqrt(rest);
625
+ return t < 0 ? null : [eye.x + t * ray.x, eye.y + t * ray.y, eye.z + t * ray.z];
626
+ },
627
+ };
628
+ tiles.sync({ lon: 0, lat: 0, width: size.width, height: size.height, panX: 0, panY: 0, radius: focal / away, perspective: look }, [sunLocal.value.x, sunLocal.value.y, sunLocal.value.z], true, model.ratio());
629
+ }
584
630
  let paintedBodies = sunSlot.drawing ? 1 : 0;
585
631
  for (const p of planets.values())
586
632
  if (p.slot.drawing)
@@ -777,13 +823,11 @@ export function createSpaceItem(model, deps) {
777
823
  });
778
824
  }
779
825
  const spriteData = deps.placeSprites?.() ?? null;
780
- if (spriteData && !placeSprites && !placeSpritesTried) {
781
- placeSprites = createPlaceSprites(three, earth, sunEarth);
782
- placeSpritesTried = true;
826
+ if (beginPlaceSprites(placeRings, spriteData, () => createPlaceSprites(three, earth, sunEarth))) {
783
827
  // told once: without `Points` the page's layer draws these rings itself
784
- deps.onPlaceRings?.(placeSprites !== null);
828
+ deps.onPlaceRings?.(placeRings.sprites !== null);
785
829
  }
786
- placeSprites?.sync(spriteData, model.ratio(), size.width, size.height, model.light === "lit");
830
+ placeRings.sprites?.sync(spriteData, model.ratio(), size.width, size.height, model.light === "lit");
787
831
  // the name written on the Earth: made the first time the settings ask for it; none while a ride along a body hides the Earth
788
832
  if (model.bodyLabel.settings && !nameOn)
789
833
  nameOn = createBodyLabelLayer(three, earth, model.bodyLabel, { invalidate: () => deps.invalidate(), ...(deps.onLabelError ? { onError: deps.onLabelError } : {}) });
@@ -921,13 +965,15 @@ export function createSpaceItem(model, deps) {
921
965
  meteors?.dispose();
922
966
  nameOn?.dispose();
923
967
  borders?.dispose();
924
- placeSprites?.dispose();
968
+ placeRings.sprites?.dispose();
925
969
  gridLayer?.dispose();
926
970
  modelSlot.turn += 1;
927
971
  dropModel();
928
972
  layer?.dispose();
929
973
  model.pick = null;
930
974
  model.placeSatellite = null;
975
+ model.tiles = null;
976
+ tiles.dispose();
931
977
  textures.dispose();
932
978
  ended = true;
933
979
  empty(sunSlot);
@@ -942,6 +988,7 @@ export function createSpaceItem(model, deps) {
942
988
  }
943
989
  grid.dispose();
944
990
  solid.dispose();
991
+ paint.dispose();
945
992
  earthMaterial.dispose();
946
993
  cloudMaterial.dispose();
947
994
  atmosphereMaterial.dispose();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@johnmorrisdotca/chikyu-earth",
3
- "version": "0.37.0",
3
+ "version": "0.39.0",
4
4
  "description": "Chikyu Earth 地球 — A line-drawn globe for the web: country outlines that turn at the Earth's own rate, centred on the place you give it, with an optional realistic Earth from space (three.js), the Sun, Moon and planets, satellites on their orbits, and markers for any place. A web component and an SVG string.",
5
5
  "keywords": [
6
6
  "earth",
@@ -77,8 +77,18 @@
77
77
  "./src/passes/element.ts",
78
78
  "./dist/realistic/element.js",
79
79
  "./src/realistic/element.ts",
80
+ "./dist/realistic/element-base.js",
81
+ "./src/realistic/element-base.ts",
82
+ "./dist/realistic/no-cultures.js",
83
+ "./src/realistic/no-cultures.ts",
80
84
  "./dist/space/element.js",
81
- "./src/space/element.ts"
85
+ "./src/space/element.ts",
86
+ "./dist/space/element-base.js",
87
+ "./src/space/element-base.ts",
88
+ "./dist/space/no-cultures.js",
89
+ "./src/space/no-cultures.ts",
90
+ "./dist/sky/cultures.js",
91
+ "./src/sky/cultures.ts"
82
92
  ],
83
93
  "main": "./dist/index.js",
84
94
  "module": "./dist/index.js",
@@ -104,6 +114,11 @@
104
114
  "import": "./dist/realistic/element.js",
105
115
  "default": "./dist/realistic/element.js"
106
116
  },
117
+ "./realistic/no-cultures": {
118
+ "types": "./dist/realistic/no-cultures.d.ts",
119
+ "import": "./dist/realistic/no-cultures.js",
120
+ "default": "./dist/realistic/no-cultures.js"
121
+ },
107
122
  "./markers": {
108
123
  "types": "./dist/markers/index.d.ts",
109
124
  "import": "./dist/markers/index.js",
@@ -119,6 +134,11 @@
119
134
  "import": "./dist/space/element.js",
120
135
  "default": "./dist/space/element.js"
121
136
  },
137
+ "./space/no-cultures": {
138
+ "types": "./dist/space/no-cultures.d.ts",
139
+ "import": "./dist/space/no-cultures.js",
140
+ "default": "./dist/space/no-cultures.js"
141
+ },
122
142
  "./door": {
123
143
  "types": "./dist/door/index.d.ts",
124
144
  "import": "./dist/door/index.js",
@@ -235,7 +255,7 @@
235
255
  "@johnmorrisdotca/hata": "^1.8.0",
236
256
  "@johnmorrisdotca/hoshi-stars": "^0.30.0",
237
257
  "@johnmorrisdotca/kuni": "^1.6.1",
238
- "@johnmorrisdotca/wakusei-planets": "^0.37.1",
258
+ "@johnmorrisdotca/wakusei-planets": "^0.38.0",
239
259
  "@playwright/test": "1.64.0",
240
260
  "@sveltejs/vite-plugin-svelte": "^7.3.1",
241
261
  "@types/d3-geo": "^3.1.0",