@johnmorrisdotca/chikyu-earth 0.65.0 → 0.65.1
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.
- package/CHANGELOG.md +8 -0
- package/README.md +1 -1
- package/dist/space/scene.js +8 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
## Unreleased
|
|
4
4
|
|
|
5
|
+
## 0.65.1 - 2026-11-20
|
|
6
|
+
|
|
7
|
+
- **Looking at Jupiter waits until the camera has arrived** (MODULES-1233). The space test no longer reads the distance a few seconds after the click. It waits until the element says the body is Jupiter and the distance has held still, then requires that distance, and a camera kept off Jupiter still fails. Test only.
|
|
8
|
+
- **The soak's settled counts have to match** (MODULES-1198). Once the space soak has returned to the opening view and the counts have held still, the buffers and the GPU objects equal the warm reading. 0.42.0 allowed one leftover geometry (3 buffers, 4 GPU objects). A plain sphere made for a body that has left the view was not drawn, so the buffers of the sphere it replaced were freed and the new ones never reached the card: the same view then held three buffers more, or three fewer, as that body had or had not been on screen. The new sphere is drawn once, so its buffers are on the card, and culled after that. A count that differs fails.
|
|
9
|
+
- **The big-group pin test follows the gap** (MODULES-1744). It asked that no frame pin a tenth of 3,000 satellites. The slice grows with the wall time since the last frame, and a slow frame is meant to pin more, so under load a frame pinned 600 and the check failed. The test now holds the clock and asks each frame to pin the slice for the gap it was given, including a second's pause, which pins the whole group. A frame that pins every satellite after a short gap still fails.
|
|
10
|
+
|
|
11
|
+
## 0.65.0 - 2026-11-20
|
|
12
|
+
|
|
5
13
|
- **The page chooses where a ride's compass goes** (MODULES-1732). The compass was fixed in the top-left corner, 8 pixels in, so a page with a card at the top left had to start it about 85 pixels lower to clear the compass. Two attributes, each with a property, now place it. With neither set the compass is where it always was.
|
|
6
14
|
- **`compass-place`** (property `compassPlace`): `top-left` (the default), `top-right`, `bottom-left` or `bottom-right`. A value that is not one of the four reads as `top-left`.
|
|
7
15
|
- **`compass-offset`** (property `compassOffset`, `{ x, y }`): pixels in from that corner, written `x,y` (`x` from the side, `y` from the top or the bottom, such as `16,96`) or as one number for both; 8,8 by default. A value that is not one or two numbers of 0 or more reads as `8,8`. Each attribute is read by itself.
|
package/README.md
CHANGED
|
@@ -615,7 +615,7 @@ console.log(countryList().filter((country) => country.alpha2 === null).map((coun
|
|
|
615
615
|
|
|
616
616
|
## How to cite
|
|
617
617
|
|
|
618
|
-
> Morris, J. (2026). *Chikyu Earth* (version 0.65.
|
|
618
|
+
> Morris, J. (2026). *Chikyu Earth* (version 0.65.1) [Computer software]. https://github.com/johnmorrisdotca/chikyu-earth
|
|
619
619
|
|
|
620
620
|
GitHub's "Cite this repository" button reads [CITATION.cff](CITATION.cff) and gives BibTeX and APA. Cite the version you used (`npm ls @johnmorrisdotca/chikyu-earth`), and credit the sources behind the numbers and pictures: [NOTICE.md](NOTICE.md) says who made each one and under what terms.
|
|
621
621
|
|
package/dist/space/scene.js
CHANGED
|
@@ -233,8 +233,15 @@ export const plainPainter = {
|
|
|
233
233
|
const geometry = sphere(three, 48, 24);
|
|
234
234
|
const sun = { value: new three.Vector3(1, 0, 0) };
|
|
235
235
|
const material = new three.ShaderMaterial({ vertexShader: SURFACE_VERT, fragmentShader: BODY_FRAG, uniforms: { map: { value: null }, tint: { value: new three.Color(PLAIN_COLOR(name)) }, textured: { value: 0 }, sunDir: sun, ambient: { value: 0.2 } } });
|
|
236
|
+
const mesh = new three.Mesh(geometry, material);
|
|
237
|
+
// The sphere this one replaces was drawn, so its buffers are on the card. This one is off screen (the body has left the view) and a culled mesh is not drawn, so the new buffers never arrive and the same settled view holds three buffers more or three fewer as that body had or had not been on screen (MODULES-1198). Draw it once, whichever view, and cull it after that.
|
|
238
|
+
mesh.frustumCulled = false;
|
|
239
|
+
mesh.onAfterRender = () => {
|
|
240
|
+
mesh.frustumCulled = true;
|
|
241
|
+
mesh.onAfterRender = () => undefined;
|
|
242
|
+
};
|
|
236
243
|
return {
|
|
237
|
-
object:
|
|
244
|
+
object: mesh,
|
|
238
245
|
light(toSun) {
|
|
239
246
|
sun.value.set(toSun[0], toSun[1], toSun[2]);
|
|
240
247
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@johnmorrisdotca/chikyu-earth",
|
|
3
|
-
"version": "0.65.
|
|
3
|
+
"version": "0.65.1",
|
|
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",
|