Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions docs/stellar-brightness-maps-from-tess.md
Original file line number Diff line number Diff line change
Expand Up @@ -912,8 +912,10 @@ the flat **Color** the star had.
The contrast is drawn stronger because the measured one cannot be seen. AU Microscopii is among the most spotted stars
here: its darkest longitude gives 21% less light than its brightest, which is one tenth on a display, and most stars swing by
1 or 2%. Two weaker stretches were tried on the page and were still faint, and a scale that ran toward black read as shadow
on the star. So the darkest part is drawn as a darker, richer step of the star's own hue (0.4 lower in lightness and 0.12
higher in chroma, in OKLCH), chosen by eye from sheets of options. Each dataset's text says so with the star's own number, and the Brightness map carries the measured
on the star. So the darkest part is drawn as a darker, richer step of the star's own hue (0.4 lower in lightness and 2.2
times its chroma, in OKLCH), chosen by eye from sheets of options. The chroma is a multiple of the star's own, so a nearly
white star's darker parts stay nearly neutral: a fixed step of 0.12 drew the faint violet of HD 73344's Gaia color ten
times stronger than the color holds it. Each dataset's text says so with the star's own number, and the Brightness map carries the measured
values on its scale. Every star's scale is its own, so a faintly spotted star is drawn as strongly as a heavily spotted one;
the scale's ends and the text tell them apart.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -151,9 +151,12 @@ function fromOklch(L: number, C: number, H: number): [number, number, number] {
const l = (L + 0.3963377774 * A + 0.2158037573 * B) ** 3, m = (L - 0.1055613458 * A - 0.0638541728 * B) ** 3, s = (L - 0.0894841775 * A - 1.291485548 * B) ** 3;
const rgb = [4.0767416621 * l - 3.3077115913 * m + 0.2309699292 * s, -1.2684380046 * l + 2.6097574011 * m - 0.3413193965 * s, -0.0041960863 * l - 0.7034186147 * m + 1.707614701 * s] as const;
if (chroma < 0.002 || rgb.every(unit => unit >= -0.0005 && unit <= 1.0005)) return rgb.map(unit => fromLinear(Math.max(0, Math.min(1, unit)))) as [number, number, number]; } }
/** How the darkest part of Color + brightness is drawn: the star's own hue, this much lower in lightness and this much
* richer in chroma (OKLCH), "four steps darker, richer" of a sheet of options. Nothing is mixed with black. */
export const DARK_STEP = { lightness: 0.4, chroma: 0.12 } as const;
/** How the darkest part of Color + brightness is drawn: the star's own hue, this much lower in lightness and this many
* times its chroma (OKLCH), "four steps darker, richer" of a sheet of options. Nothing is mixed with black. The chroma is
* a multiple of the star's own, so a nearly white star stays nearly white: a fixed 0.12 added to a chroma of 0.01 drew
* a hue the color barely has ten times stronger, violet on HD 73344. 2.2 is what that 0.12 gave AU Mic's orange
* (#ffc08b, chroma 0.0997), on which the step was chosen. */
export const DARK_STEP = { lightness: 0.4, chroma: 2.2 } as const;
/** How much stronger than the Color dataset's the darkening toward the edge is drawn on Color + brightness: the limb law's
* light raised to this power, still toward black. Chosen by eye by the owner of the project from a sheet of options
* (2026-10-06); the Color dataset keeps the published law as it is. */
Expand All @@ -163,9 +166,8 @@ export const LIMB_STRENGTH = 1.5;
* stars here, gives 21% less light at its darkest longitude, one tenth on a display), and a scale that ran toward black
* read as shadow, not as the star; the owner of the project chose this step by eye from sheets of options (2026-10-06).
* The dataset's text says the contrast is drawn stronger than it is, with the star's own numbers. */
export function tinted(colorHex: string): string[] { const color = [1, 3, 5].map(at => Number.parseInt(colorHex.slice(at, at + 2), 16)) as [number, number, number], [L, C, H] = toOklch(color),
// A color with no hue of its own (a pure white or gray) is given none: its darker step stays neutral.
dark = fromOklch(Math.max(0, L - DARK_STEP.lightness), C < 0.002 ? 0 : C + DARK_STEP.chroma, H);
export function tinted(colorHex: string): string[] { const color = [1, 3, 5].map(at => Number.parseInt(colorHex.slice(at, at + 2), 16)) as [number, number, number], [L, C, H] = toOklch(color),
dark = fromOklch(Math.max(0, L - DARK_STEP.lightness), C * DARK_STEP.chroma, H);
return PALETTE.map((_stop, index) => `#${color.map((channel, at) => Math.round(dark[at]! + (channel - dark[at]!) * index / (PALETTE.length - 1)).toString(16).padStart(2, '0')).join('')}`); }
/** The scale all of a star's brightness maps share: the same reach either side of the mean surface. */
const brightnessScale = (maps: readonly BrightnessSurfaceMap[]) => { const reach = scaleEnd(Math.max(...maps.flatMap(map => [100 - map.darkestPercent, map.brightestPercent - 100]))); return { minimum: 100 - reach, maximum: 100 + reach, labels: [`${100 - reach}%`, '100%', `${100 + reach}%`] }; };
Expand Down
Binary file modified site/public/navigation/search/alpha-lacertae@2x.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified site/public/navigation/search/be-ceti@2x.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified site/public/navigation/search/biham@2x.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified site/public/navigation/search/dalim@2x.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified site/public/navigation/search/darlugal@2x.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified site/public/navigation/search/flegetonte@2x.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified site/public/navigation/search/gj-504@2x.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified site/public/navigation/search/hd-29615@2x.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified site/public/navigation/search/hd-35296@2x.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified site/public/navigation/search/honores@2x.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified site/public/navigation/search/merga@2x.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified site/public/navigation/search/moth@2x.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified site/public/navigation/search/phact@2x.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified site/public/navigation/search/piautos@2x.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
28 changes: 14 additions & 14 deletions src/objects/ab-pic/inventory.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
{
"location": "public",
"filename": "ab-pic-arrival.webp",
"bytes": 29214,
"sha256": "e8cb90df0c891c411a4fa7d52a0fde6ad24abc8b9b6ccb7073361580a832acd4"
"bytes": 27738,
"sha256": "94d98adbaa928039a0d1a47aa91f0a3f4afd0f4a1eeba345668d872e8ee9d6d7"
},
{
"location": "public",
"filename": "ab-pic-billboard.webp",
"bytes": 5018,
"sha256": "af85ae55cceaaba053d83aaefd39c03a174b0112c2c68560b955d134027dd0f6"
"bytes": 4716,
"sha256": "d9d2d529f314e38af34d8f828ad25b10553e101246b5e12114cfe96eeeb55ca9"
},
{
"location": "public",
Expand Down Expand Up @@ -226,8 +226,8 @@
{
"location": "public",
"filename": "ab-pic-dataset-color-brightness.webp",
"bytes": 210,
"sha256": "9c7c16fd4948b61a264b2ba1ca146ef6b5cede311eb82ee0096d4dc15d767d66"
"bytes": 186,
"sha256": "34d498edf68380b48820ee917f0b3296ebca35218a20f712a95da29a38a5a269"
},
{
"location": "public",
Expand Down Expand Up @@ -460,8 +460,8 @@
{
"location": "public",
"filename": "ab-pic-poles-color-brightness@2x.webp",
"bytes": 21164,
"sha256": "5359d9ae9f566313d38157cb79bd89151259883c8eb31eac2816659c81b95111"
"bytes": 15114,
"sha256": "abeff9cbae733249eb5a11c1986565e5137ce7b3a6ce93e8e74eb0a26db047ce"
},
{
"location": "public",
Expand Down Expand Up @@ -682,8 +682,8 @@
{
"location": "public",
"filename": "ab-pic-surface-color-brightness@2x.webp",
"bytes": 17734,
"sha256": "f3093ccb32f247b9a849bed566b8a31c04646c0065ceedf778eb1723e6bbe40a"
"bytes": 14904,
"sha256": "a0b7ca8066bc437b184c9beef55943c4abe5388e7e494793ea9c5797ae1dbf5b"
},
{
"location": "public",
Expand Down Expand Up @@ -719,7 +719,7 @@
"location": "prepared",
"filename": "datasets.json",
"bytes": 76673,
"sha256": "36ddf5c1b196b9a41e019f4d640296752d550e2d5a4979f3bb463f04780d51dd"
"sha256": "1ee06574ac43bf5b466f2b076f976c19fe6251ff346bf257c7741851823cdf25"
},
{
"location": "prepared",
Expand Down Expand Up @@ -946,8 +946,8 @@
{
"location": "prepared",
"filename": "minimaps/color-brightness.webp",
"bytes": 1276,
"sha256": "e585b8b60f11e90ae5ab1718450b6ec6e7e760681870a5a79450db7bfd6763da"
"bytes": 1076,
"sha256": "6541331171cfa9c0c94eda4f53eb2cf0b00215f26297386605bc684f92bfbee8"
},
{
"location": "prepared",
Expand All @@ -959,7 +959,7 @@
"location": "prepared",
"filename": "runtime.json",
"bytes": 163924,
"sha256": "8b3236d41f04d78ba57ca72594aa9cca96af15cdc0516172a4f0150b807afc53"
"sha256": "b42b99cd098990af4f283438e257623b21b7f5043de26c7bed4a052adf39d89a"
},
{
"location": "prepared",
Expand Down
8 changes: 4 additions & 4 deletions src/objects/ab-pic/source/preparation/raster.json
Original file line number Diff line number Diff line change
Expand Up @@ -1364,10 +1364,10 @@
"minimum": 94,
"maximum": 106,
"colors": [
"#a75400",
"#bd7835",
"#d39c6a",
"#e9c09e",
"#93603d",
"#ae8163",
"#c9a288",
"#e4c3ae",
"#ffe4d3"
],
"labels": [
Expand Down
28 changes: 14 additions & 14 deletions src/objects/af-lep/inventory.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
{
"location": "public",
"filename": "af-lep-arrival.webp",
"bytes": 27904,
"sha256": "a99fcc6bc44f78eded03b8d8641facb24dca67e8546b25d356d0d17c22ee2a38"
"bytes": 26686,
"sha256": "a674eb2f2e6e1af7030c0ddc22b89a1fadc7b0a0bde318e36caaa4048efaca10"
},
{
"location": "public",
"filename": "af-lep-billboard.webp",
"bytes": 4822,
"sha256": "01772c2e91a774ec00a8ee5ec8668afa5c87942c1786075d490b148136bf8011"
"bytes": 4558,
"sha256": "63bee7cb4e36db20d2fa6b956755be1efbeb59e918aaa1b46abb5dfd07b7413e"
},
{
"location": "public",
Expand Down Expand Up @@ -40,8 +40,8 @@
{
"location": "public",
"filename": "af-lep-dataset-color-brightness.webp",
"bytes": 156,
"sha256": "bdadaa51524395b084b70a85f4d75125c37e5658ab1cf34462e5fbb09fe12bdd"
"bytes": 134,
"sha256": "33b7b81f7cdfdb41a04aca06701ef702274d718d482afcec1b41a2e75b0802b8"
},
{
"location": "public",
Expand Down Expand Up @@ -94,8 +94,8 @@
{
"location": "public",
"filename": "af-lep-poles-color-brightness@2x.webp",
"bytes": 17718,
"sha256": "ba4b46c3b040582070639d33761d43db90b624f657e78b6c12e732930a8c1e5c"
"bytes": 16150,
"sha256": "1877614d811da46cefcc6164f1af7fd6a20527a5de9f2be762abe16f6e7af237"
},
{
"location": "public",
Expand Down Expand Up @@ -136,8 +136,8 @@
{
"location": "public",
"filename": "af-lep-surface-color-brightness@2x.webp",
"bytes": 16210,
"sha256": "8a1f53a22a0eb3034884d72fdfd204573de2c27cf544e27d731ab65559b89b09"
"bytes": 13570,
"sha256": "6798f6d6d79167e0e0f1823fad6fb9ba82333182174f9fbf117f8712dccb17d0"
},
{
"location": "public",
Expand Down Expand Up @@ -179,7 +179,7 @@
"location": "prepared",
"filename": "datasets.json",
"bytes": 12668,
"sha256": "d22f8fb4c7c5b21e980401fedc9ab5a3a94a313f7d27b7d1a5e99bcae63ea446"
"sha256": "b34b7461aad98566e2a2d8c780abd79a07eda42a7d1d54b90a6e68f1daabc4ab"
},
{
"location": "prepared",
Expand Down Expand Up @@ -220,8 +220,8 @@
{
"location": "prepared",
"filename": "minimaps/color-brightness.webp",
"bytes": 1140,
"sha256": "1850dc7e327216c9658d1b40c5b078153b6a29fa9073c6ccc9842936cc0fae9c"
"bytes": 966,
"sha256": "c1c8c809dd2f72630721de4460c38c31bd262e199b75b3bbdb932306b02d7dc7"
},
{
"location": "prepared",
Expand All @@ -239,7 +239,7 @@
"location": "prepared",
"filename": "runtime.json",
"bytes": 82059,
"sha256": "09ee775d0a87a3800544f94f30922289b8caf1bfc303392ef8b8984738a574a4"
"sha256": "2bc579f13ee09d019a0163ebc2f714d9c893bf000fdd64e8324e55e9af72d68f"
},
{
"location": "prepared",
Expand Down
8 changes: 4 additions & 4 deletions src/objects/af-lep/source/preparation/raster.json
Original file line number Diff line number Diff line change
Expand Up @@ -269,10 +269,10 @@
"minimum": 98.5,
"maximum": 101.5,
"colors": [
"#9c5dac",
"#b483c1",
"#cda9d5",
"#e5cfea",
"#837487",
"#a294a5",
"#c0b4c3",
"#dfd5e1",
"#fdf5ff"
],
"labels": [
Expand Down
28 changes: 14 additions & 14 deletions src/objects/alpha-lacertae/inventory.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
{
"location": "public",
"filename": "alpha-lacertae-arrival.webp",
"bytes": 28626,
"sha256": "92d594a7684ec4db7375d7a53f97504f234bcbc793860aa124de86a33e07a7b4"
"bytes": 28512,
"sha256": "18a849f61722d84d16098469c7766e30af6b36ba06fe4970bcf24cd33339cd79"
},
{
"location": "public",
"filename": "alpha-lacertae-billboard.webp",
"bytes": 5022,
"sha256": "b7ecf29115a0bfa8ea2cc1cfa19736e2f701778a2573e35f31b5621de4c2218f"
"bytes": 4982,
"sha256": "37da1c628d539b6e50de256e409eadb2a0d19d6dbe75380e2ea58617e7803eae"
},
{
"location": "public",
Expand Down Expand Up @@ -46,8 +46,8 @@
{
"location": "public",
"filename": "alpha-lacertae-dataset-color-brightness.webp",
"bytes": 146,
"sha256": "a0d8b1609b6d8bf698d16223d955560654f1a94a54fdf022b70046abcc67c8a5"
"bytes": 142,
"sha256": "4756ddbda318741353b5665b45721fa174fd9bcee8edb066e4312f9937771deb"
},
{
"location": "public",
Expand Down Expand Up @@ -100,8 +100,8 @@
{
"location": "public",
"filename": "alpha-lacertae-poles-color-brightness@2x.webp",
"bytes": 6006,
"sha256": "569d5507d2cc3c9f4cf4ce33a960ce3fb1870e1eca534b05e54ff06bfa29e382"
"bytes": 6616,
"sha256": "f975926527acc0cb72ecd1c8eb532e5d865db3dc76fc0832be2b563dcf1d9710"
},
{
"location": "public",
Expand Down Expand Up @@ -142,8 +142,8 @@
{
"location": "public",
"filename": "alpha-lacertae-surface-color-brightness@2x.webp",
"bytes": 16240,
"sha256": "2be960b289e04bcd78cf637e19b75c3a603156401fbdea6b1891c308807442e1"
"bytes": 14900,
"sha256": "3389186579e7d3e74e2502828369c42da7a327979640f26e3a06d6b5001d4985"
},
{
"location": "public",
Expand Down Expand Up @@ -179,7 +179,7 @@
"location": "prepared",
"filename": "datasets.json",
"bytes": 13224,
"sha256": "5144fda3a07628e2674494d0f0d0e3fae6bddc37d9be565e25573e64e774723f"
"sha256": "6e96a250f453bdbf64f613295e92b7d1e56bfacc85918cb568603b7432312fbe"
},
{
"location": "prepared",
Expand Down Expand Up @@ -226,8 +226,8 @@
{
"location": "prepared",
"filename": "minimaps/color-brightness.webp",
"bytes": 894,
"sha256": "b5e23e72b17c529cbd3c7760225a1332665fde706e5c5864404e1e58a3c0bc9d"
"bytes": 816,
"sha256": "56d043117ce20dc9f5020cd0be518f8794ca8148cb0bc586c7147f7226fea35a"
},
{
"location": "prepared",
Expand All @@ -239,7 +239,7 @@
"location": "prepared",
"filename": "runtime.json",
"bytes": 82734,
"sha256": "dca5e916067cc5ee25bea0dc61b93f49157bcfdec836e966f487a45fed59b4c5"
"sha256": "daa8b3ace152dfa67cd262f8a91e58adfcf5db48cf12dd1e3645a9bbe7e22940"
},
{
"location": "prepared",
Expand Down
8 changes: 4 additions & 4 deletions src/objects/alpha-lacertae/source/preparation/raster.json
Original file line number Diff line number Diff line change
Expand Up @@ -254,10 +254,10 @@
"minimum": 99.9,
"maximum": 100.1,
"colors": [
"#2042be",
"#4564ce",
"#6a86de",
"#8fa9ef",
"#2748af",
"#4a68c3",
"#6d89d7",
"#91aaeb",
"#b4cbff"
],
"labels": [
Expand Down
Loading
Loading