@johnmorrisdotca/wakusei-planets 0.72.0 → 0.74.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.
@@ -29,7 +29,10 @@ export function takeRenderer(onContext) {
29
29
  listeners.add(onContext);
30
30
  shared ??= createSharedRenderer({
31
31
  load: () => loader(),
32
- stillSize: 480,
32
+ // 160 holds every moon of Saturn (293) with the planet. A hero planet sets data-still-size="960" on its own element, so a grid tile stays at 160. One 960 still is about 3.7 MB, so the budget is the 32 MB of small stills plus that one picture.
33
+ stillSize: 160,
34
+ antialias: true,
35
+ stillBytes: 36 * 1024 * 1024,
33
36
  onContext: (state) => {
34
37
  for (const listener of listeners)
35
38
  listener(state);
@@ -11,7 +11,7 @@ import { type BodyMapSource } from "../door/map.ts";
11
11
  * console.log(TEXTURE_BASE);
12
12
  * ```
13
13
  */
14
- export declare const TEXTURE_BASE = "https://cdn.jsdelivr.net/npm/@johnmorrisdotca/wakusei-planets@0.72.0/dist/textures/";
14
+ export declare const TEXTURE_BASE = "https://cdn.jsdelivr.net/npm/@johnmorrisdotca/wakusei-planets@0.74.0/dist/textures/";
15
15
  /**
16
16
  * Where the sharpest surface pictures are: the files of this exact version in the repository, on jsDelivr's GitHub address. The npm package holds only the two smaller widths, so a page that
17
17
  * never zooms in never fetches them. Set `texture-far-base` on an element to serve them yourself.
@@ -23,7 +23,7 @@ export declare const TEXTURE_BASE = "https://cdn.jsdelivr.net/npm/@johnmorrisdot
23
23
  * console.log(TEXTURE_FAR_BASE);
24
24
  * ```
25
25
  */
26
- export declare const TEXTURE_FAR_BASE = "https://cdn.jsdelivr.net/gh/johnmorrisdotca/wakusei-planets@v0.72.0/textures/";
26
+ export declare const TEXTURE_FAR_BASE = "https://cdn.jsdelivr.net/gh/johnmorrisdotca/wakusei-planets@v0.74.0/textures/";
27
27
  /**
28
28
  * Where the finer map tiles are by default: the demo site's `tiles/` folder (GitHub Pages sends `access-control-allow-origin: *`). The tiles are made by `scripts/make-body-tiles.py` and are in no package and no repository:
29
29
  * a page that serves its own gives the folder in the `tiles` attribute, and `tiles="off"` turns them off. A page that sets `texture-base` (it serves its own pictures) has none unless it says where they are.
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const VERSION = "0.72.0";
1
+ export declare const VERSION = "0.74.0";
package/dist/version.js CHANGED
@@ -1,2 +1,2 @@
1
1
  // The published package version. Snippets and texture addresses name it. test/version.test.ts keeps it equal to package.json.
2
- export const VERSION = "0.72.0";
2
+ export const VERSION = "0.74.0";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@johnmorrisdotca/wakusei-planets",
3
- "version": "0.72.0",
3
+ "version": "0.74.0",
4
4
  "description": "Wakusei Planets 惑星 — The Sun, planets and moons for the web: each as a clean line drawing, a shaded realistic drawing or a painted surface map, with real sizes, axial tilt and rotation as data, and positions of the moons for any date and time. SVG for the lines, three.js (optional) for the rest.",
5
5
  "keywords": [
6
6
  "planets",
@@ -1034,6 +1034,9 @@
1034
1034
  "pnpm": {
1035
1035
  "onlyBuiltDependencies": [
1036
1036
  "esbuild"
1037
- ]
1037
+ ],
1038
+ "patchedDependencies": {
1039
+ "@johnmorrisdotca/kazoku-ui@0.41.0": "patches/@johnmorrisdotca__kazoku-ui@0.41.0.patch"
1040
+ }
1038
1041
  }
1039
1042
  }