@idle-screens/savers-classic 2.0.1 → 3.1.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.
- package/dist/{chunk-MIVXP2IL.js → chunk-PU6BQ5S3.js} +1172 -240
- package/dist/chunk-PU6BQ5S3.js.map +1 -0
- package/dist/idle-worker.js +416 -273
- package/dist/idle-worker.js.map +1 -1
- package/dist/index.d.ts +26 -11
- package/dist/index.js +254 -463
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
- package/dist/chunk-MIVXP2IL.js.map +0 -1
package/dist/idle-worker.js
CHANGED
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
|
+
dvd,
|
|
2
3
|
fluid,
|
|
3
4
|
flurry,
|
|
4
5
|
globe,
|
|
5
6
|
hardRain,
|
|
7
|
+
messages,
|
|
6
8
|
mystify,
|
|
7
9
|
pipes,
|
|
8
10
|
rainstorm,
|
|
9
11
|
reactionDiffusion,
|
|
10
12
|
spotlight,
|
|
11
13
|
warp
|
|
12
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-PU6BQ5S3.js";
|
|
13
15
|
|
|
14
16
|
// src/idle-worker.ts
|
|
15
17
|
import { runIdleWorker } from "@idle-screens/core";
|
|
@@ -270,8 +272,15 @@ function validateLayer(layer, path, err, warn, spec) {
|
|
|
270
272
|
}
|
|
271
273
|
}
|
|
272
274
|
if (layer.spin !== void 0) {
|
|
273
|
-
if (
|
|
274
|
-
|
|
275
|
+
if (isRange(layer.spin)) {
|
|
276
|
+
if (Math.abs(layer.spin[0]) > LIMITS.maxSpin || Math.abs(layer.spin[1]) > LIMITS.maxSpin) {
|
|
277
|
+
err(`${path}.spin`, `each end of the range must be within \xB1${LIMITS.maxSpin} deg/sec`);
|
|
278
|
+
}
|
|
279
|
+
} else if (!isNum(layer.spin)) {
|
|
280
|
+
err(`${path}.spin`, "must be a number or a [min,max] range (degrees/sec)");
|
|
281
|
+
} else if (Math.abs(layer.spin) > LIMITS.maxSpin) {
|
|
282
|
+
err(`${path}.spin`, `must be within \xB1${LIMITS.maxSpin} deg/sec`);
|
|
283
|
+
}
|
|
275
284
|
}
|
|
276
285
|
if (layer.grow !== void 0) {
|
|
277
286
|
if (!isObj(layer.grow)) err(`${path}.grow`, "must be an object");
|
|
@@ -767,8 +776,10 @@ function buildEntities(layer, rng, w, h, scale = 1, countScale = 1) {
|
|
|
767
776
|
pulsePeriod: layer.pulse?.period ?? 1e3,
|
|
768
777
|
pulsePhase: layer.pulse ? rng.range(0, Math.PI * 2) : 0,
|
|
769
778
|
// New draws AFTER pulsePhase — guarded so existing specs keep identical streams.
|
|
770
|
-
|
|
771
|
-
//
|
|
779
|
+
// Scalar spin: no draw here, one phase draw below (unchanged). Range spin
|
|
780
|
+
// (new): one seeded speed draw here, then the phase draw — array form is new
|
|
781
|
+
// so the extra draw can't perturb any existing spec's entity stream.
|
|
782
|
+
spinSpeed: typeof layer.spin === "number" ? layer.spin * Math.PI / 180 : Array.isArray(layer.spin) ? rng.range(layer.spin[0], layer.spin[1]) * Math.PI / 180 : 0,
|
|
772
783
|
spinPhase: layer.spin ? rng.range(0, Math.PI * 2) : 0,
|
|
773
784
|
growAmp: layer.grow?.amp ?? 0,
|
|
774
785
|
growPeriod: layer.grow?.period ?? 1e3,
|
|
@@ -1161,6 +1172,11 @@ function hexToRgba(hex, alpha) {
|
|
|
1161
1172
|
return `rgba(${n >> 16 & 255},${n >> 8 & 255},${n & 255},${alpha})`;
|
|
1162
1173
|
}
|
|
1163
1174
|
var FONT_PREFIX_RE = /^((?:(?:italic|oblique|bold|bolder|lighter|normal|\d{3})\s+)+)/;
|
|
1175
|
+
var FONT_PX_RE = /(\d{1,5}(?:\.\d{1,4})?|\.\d{1,4})px/;
|
|
1176
|
+
function scaleFontPx(font, factor) {
|
|
1177
|
+
if (factor === 1) return font;
|
|
1178
|
+
return font.replace(FONT_PX_RE, (_m, n) => `${(Number(n) * factor).toFixed(2)}px`);
|
|
1179
|
+
}
|
|
1164
1180
|
function composeFontShorthand(sz, font) {
|
|
1165
1181
|
const m = FONT_PREFIX_RE.exec(font);
|
|
1166
1182
|
if (m) return `${m[1].trim()} ${sz}px ${font.slice(m[0].length)}`;
|
|
@@ -1232,6 +1248,11 @@ var SpecInstance = class {
|
|
|
1232
1248
|
/** Active glide between two resolved specs (live setParam/applyTrack). */
|
|
1233
1249
|
transition = null;
|
|
1234
1250
|
lastStructural = "";
|
|
1251
|
+
/** Viewport factor for absolute px sizes — 1 for `units: 'px'` specs. */
|
|
1252
|
+
fontScale() {
|
|
1253
|
+
if (this.effSpec.units === "px") return 1;
|
|
1254
|
+
return Math.min(this.w, this.h) / (this.effSpec.referenceViewport ?? LIMITS.referenceViewport);
|
|
1255
|
+
}
|
|
1235
1256
|
sizeCanvas() {
|
|
1236
1257
|
const dpr = Math.min(this.saverCtx.dpr, 2);
|
|
1237
1258
|
this.canvas.width = Math.max(1, Math.round(this.w * dpr));
|
|
@@ -1446,7 +1467,7 @@ var SpecInstance = class {
|
|
|
1446
1467
|
} else {
|
|
1447
1468
|
ctx.textAlign = sprite.align ?? "center";
|
|
1448
1469
|
ctx.textBaseline = sprite.baseline ?? "middle";
|
|
1449
|
-
ctx.font = sprite.font ?
|
|
1470
|
+
ctx.font = sprite.font ? FONT_PX_RE.test(sprite.font) ? scaleFontPx(sprite.font, this.fontScale()) : composeFontShorthand(sz, sprite.font) : `${sz}px system-ui, sans-serif`;
|
|
1450
1471
|
ctx.fillStyle = sprite.color ?? "#e6e8ef";
|
|
1451
1472
|
const idx = spriteIndexAt(e, t, sprite.strings.length);
|
|
1452
1473
|
const text = sprite.strings[idx] ?? sprite.strings[0];
|
|
@@ -1819,84 +1840,113 @@ var DASHBOARD_SPEC = {
|
|
|
1819
1840
|
background: {
|
|
1820
1841
|
type: "gradient",
|
|
1821
1842
|
stops: [
|
|
1822
|
-
{ at: 0, color: "#
|
|
1823
|
-
{ at: 0.
|
|
1824
|
-
{ at: 1, color: "#
|
|
1843
|
+
{ at: 0, color: "#05070d" },
|
|
1844
|
+
{ at: 0.55, color: "#080b14" },
|
|
1845
|
+
{ at: 1, color: "#0a0d18" }
|
|
1825
1846
|
]
|
|
1826
1847
|
},
|
|
1827
1848
|
layers: [
|
|
1828
|
-
//
|
|
1829
|
-
{
|
|
1830
|
-
key: "dust",
|
|
1831
|
-
count: 40,
|
|
1832
|
-
sprite: { kind: "circle", radius: [1852e-7, 7407e-7], color: "#1a2538" },
|
|
1833
|
-
alpha: [0.1, 0.25],
|
|
1834
|
-
motion: { type: "drift", speed: [2778e-7, 1111e-6], bob: 2778e-7 }
|
|
1835
|
-
},
|
|
1849
|
+
// ---- ambient: the LED wall behind everything ----
|
|
1836
1850
|
{
|
|
1837
1851
|
key: "led-wall",
|
|
1838
|
-
count:
|
|
1839
|
-
sprite: { kind: "circle", radius: [
|
|
1840
|
-
alpha: [0.
|
|
1841
|
-
layout: { type: "grid", columns:
|
|
1842
|
-
|
|
1843
|
-
pulse: { amp: 0.3, period: 5e3, wave: { wavelength: 0.35, angle: 20 } },
|
|
1852
|
+
count: 240,
|
|
1853
|
+
sprite: { kind: "circle", radius: [7e-4, 11e-4], color: "#22344c" },
|
|
1854
|
+
alpha: [0.04, 0.1],
|
|
1855
|
+
layout: { type: "grid", columns: 24, jitter: 0.1 },
|
|
1856
|
+
pulse: { amp: 0.3, period: 6200, wave: { wavelength: 0.4, angle: 24 } },
|
|
1844
1857
|
motion: { type: "static" }
|
|
1845
1858
|
},
|
|
1846
|
-
//
|
|
1859
|
+
// ---- frame chrome (boots first) ----
|
|
1860
|
+
{
|
|
1861
|
+
key: "rule-header",
|
|
1862
|
+
count: 1,
|
|
1863
|
+
position: { x: 0.5, y: 0.085 },
|
|
1864
|
+
sprite: { kind: "rect", width: [0.93, 0.93], aspect: [12e-4, 12e-4], color: "#24384f" },
|
|
1865
|
+
alpha: [0.8, 0.8],
|
|
1866
|
+
motion: { type: "static" },
|
|
1867
|
+
life: { enter: 100, fade: 400 }
|
|
1868
|
+
},
|
|
1869
|
+
{
|
|
1870
|
+
key: "rule-footer",
|
|
1871
|
+
count: 1,
|
|
1872
|
+
position: { x: 0.5, y: 0.915 },
|
|
1873
|
+
sprite: { kind: "rect", width: [0.93, 0.93], aspect: [12e-4, 12e-4], color: "#24384f" },
|
|
1874
|
+
alpha: [0.8, 0.8],
|
|
1875
|
+
motion: { type: "static" },
|
|
1876
|
+
life: { enter: 100, fade: 400 }
|
|
1877
|
+
},
|
|
1878
|
+
{
|
|
1879
|
+
key: "rule-col-left",
|
|
1880
|
+
count: 1,
|
|
1881
|
+
position: { x: 0.265, y: 0.5 },
|
|
1882
|
+
sprite: { kind: "rect", width: [9e-4, 9e-4], aspect: [620, 620], color: "#1c2c40" },
|
|
1883
|
+
alpha: [0.7, 0.7],
|
|
1884
|
+
motion: { type: "static" },
|
|
1885
|
+
life: { enter: 100, fade: 400 }
|
|
1886
|
+
},
|
|
1887
|
+
{
|
|
1888
|
+
key: "rule-col-right",
|
|
1889
|
+
count: 1,
|
|
1890
|
+
position: { x: 0.645, y: 0.5 },
|
|
1891
|
+
sprite: { kind: "rect", width: [9e-4, 9e-4], aspect: [620, 620], color: "#1c2c40" },
|
|
1892
|
+
alpha: [0.7, 0.7],
|
|
1893
|
+
motion: { type: "static" },
|
|
1894
|
+
life: { enter: 100, fade: 400 }
|
|
1895
|
+
},
|
|
1896
|
+
// ---- header band ----
|
|
1847
1897
|
{
|
|
1848
1898
|
key: "title",
|
|
1849
1899
|
count: 1,
|
|
1850
|
-
position: { x: 0.
|
|
1900
|
+
position: { x: 0.035, y: 0.052 },
|
|
1851
1901
|
sprite: {
|
|
1852
1902
|
kind: "text",
|
|
1853
|
-
strings: ["
|
|
1854
|
-
color: "#
|
|
1903
|
+
strings: ["VIREO-9 \xB7 TRANS-LUNAR RELAY \xB7 OPS WALL 03"],
|
|
1904
|
+
color: "#7f93ab",
|
|
1855
1905
|
font: "600 13px 'SF Mono', monospace",
|
|
1856
|
-
align: "
|
|
1906
|
+
align: "left"
|
|
1857
1907
|
},
|
|
1858
1908
|
motion: { type: "static" },
|
|
1859
1909
|
life: { enter: 200, fade: 600 }
|
|
1860
1910
|
},
|
|
1861
1911
|
{
|
|
1862
|
-
key: "
|
|
1912
|
+
key: "clock",
|
|
1863
1913
|
count: 1,
|
|
1864
|
-
position: { x: 0.
|
|
1914
|
+
position: { x: 0.5, y: 0.058 },
|
|
1865
1915
|
sprite: {
|
|
1866
1916
|
kind: "text",
|
|
1867
|
-
strings: ["
|
|
1868
|
-
color: "#
|
|
1869
|
-
font: "
|
|
1870
|
-
align: "
|
|
1917
|
+
strings: ["04:17:26 UTC"],
|
|
1918
|
+
color: "#c8d4e4",
|
|
1919
|
+
font: "600 20px 'SF Mono', monospace",
|
|
1920
|
+
align: "center"
|
|
1871
1921
|
},
|
|
1872
|
-
pulse: { amp: 0.2, period: 2400 },
|
|
1873
1922
|
motion: { type: "static" },
|
|
1874
1923
|
life: { enter: 200, fade: 600 }
|
|
1875
1924
|
},
|
|
1876
1925
|
{
|
|
1877
|
-
key: "
|
|
1926
|
+
key: "status",
|
|
1878
1927
|
count: 1,
|
|
1879
|
-
position: { x: 0.
|
|
1928
|
+
position: { x: 0.965, y: 0.052 },
|
|
1880
1929
|
sprite: {
|
|
1881
1930
|
kind: "text",
|
|
1882
|
-
strings: ["
|
|
1883
|
-
color: "#
|
|
1884
|
-
font: "bold
|
|
1885
|
-
align: "
|
|
1931
|
+
strings: ["\u25CF UPLINK LOCKED \xB7 WATCH C"],
|
|
1932
|
+
color: "#46d17a",
|
|
1933
|
+
font: "bold 11px 'SF Mono', monospace",
|
|
1934
|
+
align: "right"
|
|
1886
1935
|
},
|
|
1936
|
+
pulse: { amp: 0.18, period: 2600 },
|
|
1887
1937
|
motion: { type: "static" },
|
|
1888
1938
|
life: { enter: 200, fade: 600 }
|
|
1889
1939
|
},
|
|
1890
|
-
//
|
|
1940
|
+
// ---- left column: arrays (boots second) ----
|
|
1891
1941
|
{
|
|
1892
|
-
key: "
|
|
1942
|
+
key: "dish1",
|
|
1893
1943
|
count: 1,
|
|
1894
|
-
position: { x: 0.
|
|
1944
|
+
position: { x: 0.035, y: 0.148 },
|
|
1895
1945
|
sprite: {
|
|
1896
1946
|
kind: "text",
|
|
1897
|
-
strings: ["
|
|
1898
|
-
color: "#
|
|
1899
|
-
font: "
|
|
1947
|
+
strings: ["DSA-1 EAST AZ 214.6\xB0 EL 38.2\xB0"],
|
|
1948
|
+
color: "#9fb2c8",
|
|
1949
|
+
font: "11px 'SF Mono', monospace",
|
|
1900
1950
|
align: "left",
|
|
1901
1951
|
baseline: "top"
|
|
1902
1952
|
},
|
|
@@ -1904,267 +1954,245 @@ var DASHBOARD_SPEC = {
|
|
|
1904
1954
|
life: { enter: 700, fade: 600 }
|
|
1905
1955
|
},
|
|
1906
1956
|
{
|
|
1907
|
-
key: "
|
|
1908
|
-
count:
|
|
1909
|
-
|
|
1910
|
-
|
|
1911
|
-
|
|
1912
|
-
|
|
1913
|
-
|
|
1914
|
-
font: "bold 26px monospace",
|
|
1915
|
-
align: "left",
|
|
1916
|
-
baseline: "top"
|
|
1917
|
-
},
|
|
1957
|
+
key: "dish1-bars",
|
|
1958
|
+
count: 14,
|
|
1959
|
+
sprite: { kind: "rect", width: [38e-4, 38e-4], aspect: [0.5, 2.6], color: "#2ee6c8" },
|
|
1960
|
+
alpha: [0.3, 0.65],
|
|
1961
|
+
layout: { type: "grid", columns: 14 },
|
|
1962
|
+
region: { x: [0.035, 0.15], y: [0.183, 0.203] },
|
|
1963
|
+
pulse: { amp: 0.42, period: 1500, wave: { wavelength: 0.09, angle: 0 } },
|
|
1918
1964
|
motion: { type: "static" },
|
|
1919
1965
|
life: { enter: 700, fade: 600 }
|
|
1920
1966
|
},
|
|
1921
1967
|
{
|
|
1922
|
-
key: "
|
|
1968
|
+
key: "dish2",
|
|
1923
1969
|
count: 1,
|
|
1924
|
-
position: { x: 0.
|
|
1970
|
+
position: { x: 0.035, y: 0.243 },
|
|
1925
1971
|
sprite: {
|
|
1926
1972
|
kind: "text",
|
|
1927
|
-
strings: ["
|
|
1928
|
-
color: "#
|
|
1929
|
-
font: "
|
|
1973
|
+
strings: ["DSA-2 WEST AZ 097.1\xB0 EL 61.7\xB0"],
|
|
1974
|
+
color: "#9fb2c8",
|
|
1975
|
+
font: "11px 'SF Mono', monospace",
|
|
1930
1976
|
align: "left",
|
|
1931
1977
|
baseline: "top"
|
|
1932
1978
|
},
|
|
1933
1979
|
motion: { type: "static" },
|
|
1934
|
-
life: { enter:
|
|
1980
|
+
life: { enter: 850, fade: 600 }
|
|
1935
1981
|
},
|
|
1936
1982
|
{
|
|
1937
|
-
key: "
|
|
1938
|
-
count:
|
|
1939
|
-
|
|
1940
|
-
|
|
1941
|
-
|
|
1942
|
-
|
|
1943
|
-
|
|
1944
|
-
font: "bold 26px monospace",
|
|
1945
|
-
align: "left",
|
|
1946
|
-
baseline: "top"
|
|
1947
|
-
},
|
|
1983
|
+
key: "dish2-bars",
|
|
1984
|
+
count: 14,
|
|
1985
|
+
sprite: { kind: "rect", width: [38e-4, 38e-4], aspect: [0.5, 2.2], color: "#44aaff" },
|
|
1986
|
+
alpha: [0.3, 0.6],
|
|
1987
|
+
layout: { type: "grid", columns: 14 },
|
|
1988
|
+
region: { x: [0.035, 0.15], y: [0.278, 0.298] },
|
|
1989
|
+
pulse: { amp: 0.4, period: 1900, wave: { wavelength: 0.11, angle: 0 } },
|
|
1948
1990
|
motion: { type: "static" },
|
|
1949
|
-
life: { enter:
|
|
1991
|
+
life: { enter: 850, fade: 600 }
|
|
1950
1992
|
},
|
|
1951
1993
|
{
|
|
1952
|
-
key: "
|
|
1994
|
+
key: "dish3",
|
|
1953
1995
|
count: 1,
|
|
1954
|
-
position: { x: 0.
|
|
1996
|
+
position: { x: 0.035, y: 0.338 },
|
|
1955
1997
|
sprite: {
|
|
1956
1998
|
kind: "text",
|
|
1957
|
-
strings: ["
|
|
1958
|
-
color: "#
|
|
1959
|
-
font: "
|
|
1999
|
+
strings: ["DSA-3 POLAR AZ 002.4\xB0 EL 12.9\xB0 \u25B3 WIND"],
|
|
2000
|
+
color: "#5d7089",
|
|
2001
|
+
font: "11px 'SF Mono', monospace",
|
|
1960
2002
|
align: "left",
|
|
1961
2003
|
baseline: "top"
|
|
1962
2004
|
},
|
|
1963
2005
|
motion: { type: "static" },
|
|
1964
|
-
life: { enter:
|
|
2006
|
+
life: { enter: 1e3, fade: 600 }
|
|
1965
2007
|
},
|
|
1966
2008
|
{
|
|
1967
|
-
key: "
|
|
1968
|
-
count:
|
|
1969
|
-
|
|
1970
|
-
|
|
1971
|
-
|
|
1972
|
-
|
|
1973
|
-
|
|
1974
|
-
font: "bold 26px monospace",
|
|
1975
|
-
align: "left",
|
|
1976
|
-
baseline: "top"
|
|
1977
|
-
},
|
|
2009
|
+
key: "dish3-bars",
|
|
2010
|
+
count: 14,
|
|
2011
|
+
sprite: { kind: "rect", width: [38e-4, 38e-4], aspect: [0.4, 1.1], color: "#5d7089" },
|
|
2012
|
+
alpha: [0.2, 0.4],
|
|
2013
|
+
layout: { type: "grid", columns: 14 },
|
|
2014
|
+
region: { x: [0.035, 0.15], y: [0.373, 0.393] },
|
|
2015
|
+
pulse: { amp: 0.3, period: 2600, wave: { wavelength: 0.14, angle: 0 } },
|
|
1978
2016
|
motion: { type: "static" },
|
|
1979
|
-
life: { enter:
|
|
2017
|
+
life: { enter: 1e3, fade: 600 }
|
|
2018
|
+
},
|
|
2019
|
+
{
|
|
2020
|
+
key: "dish-leds",
|
|
2021
|
+
count: 3,
|
|
2022
|
+
sprite: { kind: "circle", radius: [4e-3, 4e-3], color: "#46d17a" },
|
|
2023
|
+
alpha: [0.9, 0.9],
|
|
2024
|
+
layout: { type: "grid", columns: 1 },
|
|
2025
|
+
region: { x: [0.238, 0.246], y: [0.15, 0.35] },
|
|
2026
|
+
pulse: { amp: 0.25, period: 2100 },
|
|
2027
|
+
motion: { type: "static" },
|
|
2028
|
+
life: { enter: 1e3, fade: 600 }
|
|
2029
|
+
},
|
|
2030
|
+
// carrier + doppler + station env
|
|
2031
|
+
{
|
|
2032
|
+
key: "carrier-wave",
|
|
2033
|
+
count: 30,
|
|
2034
|
+
sprite: { kind: "rect", width: [32e-4, 32e-4], aspect: [0.4, 3.6], color: "#2ee6c8" },
|
|
2035
|
+
alpha: [0.25, 0.6],
|
|
2036
|
+
layout: { type: "grid", columns: 30 },
|
|
2037
|
+
region: { x: [0.035, 0.245], y: [0.47, 0.5] },
|
|
2038
|
+
pulse: { amp: 0.5, period: 2100, wave: { wavelength: 0.16, angle: 0 } },
|
|
2039
|
+
motion: { type: "static" },
|
|
2040
|
+
life: { enter: 1150, fade: 600 }
|
|
1980
2041
|
},
|
|
1981
2042
|
{
|
|
1982
|
-
key: "
|
|
2043
|
+
key: "doppler",
|
|
1983
2044
|
count: 1,
|
|
1984
|
-
position: { x: 0.
|
|
2045
|
+
position: { x: 0.035, y: 0.535 },
|
|
1985
2046
|
sprite: {
|
|
1986
2047
|
kind: "text",
|
|
1987
|
-
strings: ["
|
|
1988
|
-
color: "#
|
|
1989
|
-
font: "
|
|
2048
|
+
strings: ["CARRIER X-BAND \xB7 DOPPLER +2.114 kHz \xB7 DRIFT 0.03"],
|
|
2049
|
+
color: "#9fb2c8",
|
|
2050
|
+
font: "10px 'SF Mono', monospace",
|
|
1990
2051
|
align: "left",
|
|
1991
2052
|
baseline: "top"
|
|
1992
2053
|
},
|
|
1993
2054
|
motion: { type: "static" },
|
|
1994
|
-
life: { enter:
|
|
2055
|
+
life: { enter: 1150, fade: 600 }
|
|
1995
2056
|
},
|
|
1996
2057
|
{
|
|
1997
|
-
key: "
|
|
2058
|
+
key: "env-line",
|
|
1998
2059
|
count: 1,
|
|
1999
|
-
position: { x: 0.
|
|
2060
|
+
position: { x: 0.035, y: 0.6 },
|
|
2000
2061
|
sprite: {
|
|
2001
2062
|
kind: "text",
|
|
2002
|
-
strings: ["
|
|
2003
|
-
color: "#
|
|
2004
|
-
font: "
|
|
2063
|
+
strings: ["STATION \xB7 PWR 28.1 V \xB7 THERM 312 K \xB7 GYRO NOM \xB7 PROP 81%"],
|
|
2064
|
+
color: "#5d7089",
|
|
2065
|
+
font: "10px 'SF Mono', monospace",
|
|
2005
2066
|
align: "left",
|
|
2006
2067
|
baseline: "top"
|
|
2007
2068
|
},
|
|
2008
2069
|
motion: { type: "static" },
|
|
2009
|
-
life: { enter:
|
|
2070
|
+
life: { enter: 1300, fade: 600 }
|
|
2010
2071
|
},
|
|
2011
|
-
//
|
|
2072
|
+
// ---- center: the orbital plot (boots third) ----
|
|
2012
2073
|
{
|
|
2013
|
-
key: "
|
|
2074
|
+
key: "moon",
|
|
2014
2075
|
count: 1,
|
|
2015
|
-
position: { x: 0.
|
|
2016
|
-
sprite: { kind: "
|
|
2017
|
-
alpha: [0.
|
|
2076
|
+
position: { x: 0.455, y: 0.4 },
|
|
2077
|
+
sprite: { kind: "circle", radius: [0.028, 0.028], color: "#8fa3bd", soft: true },
|
|
2078
|
+
alpha: [0.9, 0.9],
|
|
2018
2079
|
motion: { type: "static" },
|
|
2019
2080
|
life: { enter: 1200, fade: 700 }
|
|
2020
2081
|
},
|
|
2021
2082
|
{
|
|
2022
|
-
key: "
|
|
2023
|
-
count:
|
|
2024
|
-
|
|
2025
|
-
|
|
2083
|
+
key: "orbit-guides",
|
|
2084
|
+
count: 3,
|
|
2085
|
+
// All three guides pin to the plot centre; the seeded radius range
|
|
2086
|
+
// spreads them into concentric orbits (`position` is count:1-only).
|
|
2087
|
+
region: { x: [0.455, 0.455], y: [0.4, 0.4] },
|
|
2088
|
+
sprite: { kind: "ring", radius: [0.075, 0.185], color: "#1e3a52", width: 11e-4 },
|
|
2026
2089
|
alpha: [0.55, 0.55],
|
|
2027
|
-
blend: "lighter",
|
|
2028
|
-
pulse: { amp: 0.25, period: 4e3 },
|
|
2029
|
-
grow: { amp: 0.05, period: 4e3 },
|
|
2030
|
-
motion: { type: "static" },
|
|
2031
|
-
life: { enter: 1200, fade: 700 }
|
|
2032
|
-
},
|
|
2033
|
-
{
|
|
2034
|
-
key: "gauge-label",
|
|
2035
|
-
count: 1,
|
|
2036
|
-
position: { x: 0.4, y: 0.29 },
|
|
2037
|
-
sprite: {
|
|
2038
|
-
kind: "text",
|
|
2039
|
-
strings: ["ENERGY"],
|
|
2040
|
-
color: "#445566",
|
|
2041
|
-
font: "9px monospace",
|
|
2042
|
-
align: "center"
|
|
2043
|
-
},
|
|
2044
|
-
motion: { type: "static" },
|
|
2045
|
-
life: { enter: 1200, fade: 700 }
|
|
2046
|
-
},
|
|
2047
|
-
{
|
|
2048
|
-
key: "gauge-value",
|
|
2049
|
-
count: 1,
|
|
2050
|
-
position: { x: 0.4, y: 0.375 },
|
|
2051
|
-
sprite: {
|
|
2052
|
-
kind: "text",
|
|
2053
|
-
strings: ["73%"],
|
|
2054
|
-
color: "#2ee6c8",
|
|
2055
|
-
font: "bold 34px monospace",
|
|
2056
|
-
align: "center"
|
|
2057
|
-
},
|
|
2058
2090
|
motion: { type: "static" },
|
|
2059
2091
|
life: { enter: 1200, fade: 700 }
|
|
2060
2092
|
},
|
|
2061
2093
|
{
|
|
2062
|
-
key: "
|
|
2063
|
-
count:
|
|
2094
|
+
key: "fleet",
|
|
2095
|
+
count: 5,
|
|
2064
2096
|
sprite: {
|
|
2065
|
-
kind: "
|
|
2066
|
-
|
|
2067
|
-
aspect: [0.6, 3.4],
|
|
2097
|
+
kind: "circle",
|
|
2098
|
+
radius: [45e-4, 65e-4],
|
|
2068
2099
|
color: "#2ee6c8",
|
|
2069
|
-
colors: ["#2ee6c8", "#44aaff", "#aa88ff"]
|
|
2070
|
-
colorWeights: [3, 2, 1]
|
|
2100
|
+
colors: ["#2ee6c8", "#44aaff", "#ffd166", "#aa88ff", "#ff9f43"]
|
|
2071
2101
|
},
|
|
2072
|
-
alpha: [0.
|
|
2073
|
-
|
|
2074
|
-
|
|
2075
|
-
|
|
2076
|
-
|
|
2077
|
-
|
|
2078
|
-
life: { enter:
|
|
2102
|
+
alpha: [0.85, 0.95],
|
|
2103
|
+
blend: "lighter",
|
|
2104
|
+
motion: { type: "orbit", speed: [4, 11], radius: [0.075, 0.185], center: { x: 0.455, y: 0.4 } },
|
|
2105
|
+
trail: { length: 9, fade: 0.75 },
|
|
2106
|
+
// The relay web: each craft holds a comm chain to its neighbours.
|
|
2107
|
+
links: { k: 2, maxDist: 0.5, color: "#2ee6c8", alpha: 0.2, width: 12e-4, mode: "chain" },
|
|
2108
|
+
life: { enter: 1350, fade: 700 }
|
|
2079
2109
|
},
|
|
2080
|
-
// --- right column: agenda + devices (boots fourth) ---
|
|
2081
2110
|
{
|
|
2082
|
-
key: "
|
|
2111
|
+
key: "fleet-legend",
|
|
2083
2112
|
count: 1,
|
|
2084
|
-
position: { x: 0.
|
|
2113
|
+
position: { x: 0.455, y: 0.63 },
|
|
2085
2114
|
sprite: {
|
|
2086
2115
|
kind: "text",
|
|
2087
|
-
strings: ["
|
|
2088
|
-
color: "#
|
|
2089
|
-
font: "9px monospace",
|
|
2090
|
-
align: "
|
|
2116
|
+
strings: ["TRACKING 5 \xB7 KESTREL TIDE-2 LIMELIGHT CATWALK-1 SLIPSTREAM"],
|
|
2117
|
+
color: "#5d7089",
|
|
2118
|
+
font: "9px 'SF Mono', monospace",
|
|
2119
|
+
align: "center",
|
|
2091
2120
|
baseline: "top"
|
|
2092
2121
|
},
|
|
2093
2122
|
motion: { type: "static" },
|
|
2094
|
-
life: { enter:
|
|
2123
|
+
life: { enter: 1500, fade: 700 }
|
|
2095
2124
|
},
|
|
2125
|
+
// pass schedule under the plot
|
|
2096
2126
|
{
|
|
2097
|
-
key: "
|
|
2127
|
+
key: "pass-label",
|
|
2098
2128
|
count: 1,
|
|
2099
|
-
position: { x: 0.
|
|
2129
|
+
position: { x: 0.3, y: 0.69 },
|
|
2100
2130
|
sprite: {
|
|
2101
2131
|
kind: "text",
|
|
2102
|
-
strings: ["
|
|
2103
|
-
color: "#
|
|
2104
|
-
font: "
|
|
2132
|
+
strings: ["PASS SCHEDULE"],
|
|
2133
|
+
color: "#41536b",
|
|
2134
|
+
font: "9px 'SF Mono', monospace",
|
|
2105
2135
|
align: "left",
|
|
2106
|
-
baseline: "top"
|
|
2107
|
-
maxWidth: 0.2593
|
|
2136
|
+
baseline: "top"
|
|
2108
2137
|
},
|
|
2109
2138
|
motion: { type: "static" },
|
|
2110
|
-
life: { enter:
|
|
2139
|
+
life: { enter: 1650, fade: 600 }
|
|
2111
2140
|
},
|
|
2112
2141
|
{
|
|
2113
|
-
key: "
|
|
2142
|
+
key: "pass-1",
|
|
2114
2143
|
count: 1,
|
|
2115
|
-
position: { x: 0.
|
|
2144
|
+
position: { x: 0.3, y: 0.72 },
|
|
2116
2145
|
sprite: {
|
|
2117
2146
|
kind: "text",
|
|
2118
|
-
strings: ["
|
|
2119
|
-
color: "#
|
|
2120
|
-
font: "11px monospace",
|
|
2147
|
+
strings: ["04:41 CATWALK-1 ACQUIRE \xB7 DSA-1 \u25B2 12 MIN"],
|
|
2148
|
+
color: "#c8d4e4",
|
|
2149
|
+
font: "11px 'SF Mono', monospace",
|
|
2121
2150
|
align: "left",
|
|
2122
|
-
baseline: "top"
|
|
2123
|
-
maxWidth: 0.2593
|
|
2151
|
+
baseline: "top"
|
|
2124
2152
|
},
|
|
2125
2153
|
motion: { type: "static" },
|
|
2126
|
-
life: { enter:
|
|
2154
|
+
life: { enter: 1650, fade: 600 }
|
|
2127
2155
|
},
|
|
2128
2156
|
{
|
|
2129
|
-
key: "
|
|
2157
|
+
key: "pass-2",
|
|
2130
2158
|
count: 1,
|
|
2131
|
-
position: { x: 0.
|
|
2159
|
+
position: { x: 0.3, y: 0.757 },
|
|
2132
2160
|
sprite: {
|
|
2133
2161
|
kind: "text",
|
|
2134
|
-
strings: ["
|
|
2135
|
-
color: "#
|
|
2136
|
-
font: "11px monospace",
|
|
2162
|
+
strings: ["05:03 TIDE-2 OCCULT EXIT \xB7 DSA-2"],
|
|
2163
|
+
color: "#7f93ab",
|
|
2164
|
+
font: "11px 'SF Mono', monospace",
|
|
2137
2165
|
align: "left",
|
|
2138
|
-
baseline: "top"
|
|
2139
|
-
maxWidth: 0.2593
|
|
2166
|
+
baseline: "top"
|
|
2140
2167
|
},
|
|
2141
2168
|
motion: { type: "static" },
|
|
2142
|
-
life: { enter:
|
|
2169
|
+
life: { enter: 1750, fade: 600 }
|
|
2143
2170
|
},
|
|
2144
2171
|
{
|
|
2145
|
-
key: "
|
|
2172
|
+
key: "pass-3",
|
|
2146
2173
|
count: 1,
|
|
2147
|
-
position: { x: 0.
|
|
2174
|
+
position: { x: 0.3, y: 0.794 },
|
|
2148
2175
|
sprite: {
|
|
2149
2176
|
kind: "text",
|
|
2150
|
-
strings: ["
|
|
2151
|
-
color: "#
|
|
2152
|
-
font: "
|
|
2177
|
+
strings: ["05:47 KESTREL RANGING \xB7 DSA-1+2"],
|
|
2178
|
+
color: "#7f93ab",
|
|
2179
|
+
font: "11px 'SF Mono', monospace",
|
|
2153
2180
|
align: "left",
|
|
2154
2181
|
baseline: "top"
|
|
2155
2182
|
},
|
|
2156
2183
|
motion: { type: "static" },
|
|
2157
|
-
life: { enter:
|
|
2184
|
+
life: { enter: 1850, fade: 600 }
|
|
2158
2185
|
},
|
|
2186
|
+
// ---- right column: telemetry (boots fourth) ----
|
|
2159
2187
|
{
|
|
2160
|
-
key: "
|
|
2188
|
+
key: "signal-label",
|
|
2161
2189
|
count: 1,
|
|
2162
|
-
position: { x: 0.
|
|
2190
|
+
position: { x: 0.665, y: 0.115 },
|
|
2163
2191
|
sprite: {
|
|
2164
2192
|
kind: "text",
|
|
2165
|
-
strings: ["
|
|
2166
|
-
color: "#
|
|
2167
|
-
font: "
|
|
2193
|
+
strings: ["PRIMARY CARRIER \xB7 CATWALK-1"],
|
|
2194
|
+
color: "#41536b",
|
|
2195
|
+
font: "9px 'SF Mono', monospace",
|
|
2168
2196
|
align: "left",
|
|
2169
2197
|
baseline: "top"
|
|
2170
2198
|
},
|
|
@@ -2172,14 +2200,14 @@ var DASHBOARD_SPEC = {
|
|
|
2172
2200
|
life: { enter: 1700, fade: 600 }
|
|
2173
2201
|
},
|
|
2174
2202
|
{
|
|
2175
|
-
key: "
|
|
2203
|
+
key: "signal-value",
|
|
2176
2204
|
count: 1,
|
|
2177
|
-
position: { x: 0.
|
|
2205
|
+
position: { x: 0.665, y: 0.14 },
|
|
2178
2206
|
sprite: {
|
|
2179
2207
|
kind: "text",
|
|
2180
|
-
strings: ["
|
|
2181
|
-
color: "#
|
|
2182
|
-
font: "
|
|
2208
|
+
strings: ["-112.4 dBm"],
|
|
2209
|
+
color: "#ffd166",
|
|
2210
|
+
font: "bold 30px 'SF Mono', monospace",
|
|
2183
2211
|
align: "left",
|
|
2184
2212
|
baseline: "top"
|
|
2185
2213
|
},
|
|
@@ -2187,130 +2215,130 @@ var DASHBOARD_SPEC = {
|
|
|
2187
2215
|
life: { enter: 1700, fade: 600 }
|
|
2188
2216
|
},
|
|
2189
2217
|
{
|
|
2190
|
-
key: "
|
|
2218
|
+
key: "telemetry-row",
|
|
2191
2219
|
count: 1,
|
|
2192
|
-
position: { x: 0.
|
|
2220
|
+
position: { x: 0.665, y: 0.215 },
|
|
2193
2221
|
sprite: {
|
|
2194
2222
|
kind: "text",
|
|
2195
|
-
strings: ["
|
|
2196
|
-
color: "#
|
|
2197
|
-
font: "11px monospace",
|
|
2223
|
+
strings: ["RANGE 1.28 LS DOWNLINK 2.048 Mb/s BUFFER 38%"],
|
|
2224
|
+
color: "#9fb2c8",
|
|
2225
|
+
font: "11px 'SF Mono', monospace",
|
|
2198
2226
|
align: "left",
|
|
2199
2227
|
baseline: "top"
|
|
2200
2228
|
},
|
|
2201
2229
|
motion: { type: "static" },
|
|
2202
|
-
life: { enter:
|
|
2230
|
+
life: { enter: 1800, fade: 600 }
|
|
2203
2231
|
},
|
|
2232
|
+
// event log
|
|
2204
2233
|
{
|
|
2205
|
-
key: "
|
|
2234
|
+
key: "feed-1",
|
|
2206
2235
|
count: 1,
|
|
2207
|
-
position: { x: 0.
|
|
2236
|
+
position: { x: 0.665, y: 0.3 },
|
|
2208
2237
|
sprite: {
|
|
2209
2238
|
kind: "text",
|
|
2210
|
-
strings: ["
|
|
2211
|
-
color: "#
|
|
2212
|
-
font: "
|
|
2239
|
+
strings: ["04:15:02 DSA-1 LOCK RE-ACQUIRED"],
|
|
2240
|
+
color: "#9fb2c8",
|
|
2241
|
+
font: "10px 'SF Mono', monospace",
|
|
2213
2242
|
align: "left",
|
|
2214
2243
|
baseline: "top"
|
|
2215
2244
|
},
|
|
2216
2245
|
motion: { type: "static" },
|
|
2217
|
-
life: { enter:
|
|
2246
|
+
life: { enter: 1950, fade: 600 }
|
|
2218
2247
|
},
|
|
2219
|
-
// --- bottom: activity feed (boots last) ---
|
|
2220
2248
|
{
|
|
2221
|
-
key: "feed-
|
|
2249
|
+
key: "feed-2",
|
|
2222
2250
|
count: 1,
|
|
2223
|
-
position: { x: 0.
|
|
2251
|
+
position: { x: 0.665, y: 0.334 },
|
|
2224
2252
|
sprite: {
|
|
2225
2253
|
kind: "text",
|
|
2226
|
-
strings: ["
|
|
2227
|
-
color: "#
|
|
2228
|
-
font: "
|
|
2254
|
+
strings: ["04:12:47 CATWALK-1 WHEEL DESAT OK"],
|
|
2255
|
+
color: "#7f93ab",
|
|
2256
|
+
font: "10px 'SF Mono', monospace",
|
|
2229
2257
|
align: "left",
|
|
2230
2258
|
baseline: "top"
|
|
2231
2259
|
},
|
|
2232
2260
|
motion: { type: "static" },
|
|
2233
|
-
life: { enter:
|
|
2261
|
+
life: { enter: 2050, fade: 600 }
|
|
2234
2262
|
},
|
|
2235
2263
|
{
|
|
2236
|
-
key: "feed-
|
|
2264
|
+
key: "feed-3",
|
|
2237
2265
|
count: 1,
|
|
2238
|
-
position: { x: 0.
|
|
2266
|
+
position: { x: 0.665, y: 0.368 },
|
|
2239
2267
|
sprite: {
|
|
2240
2268
|
kind: "text",
|
|
2241
|
-
strings: ["
|
|
2242
|
-
color: "#
|
|
2243
|
-
font: "10px monospace",
|
|
2269
|
+
strings: ["04:09:31 RANGING RESIDUAL 0.4 m"],
|
|
2270
|
+
color: "#5d7089",
|
|
2271
|
+
font: "10px 'SF Mono', monospace",
|
|
2244
2272
|
align: "left",
|
|
2245
|
-
baseline: "top"
|
|
2246
|
-
maxWidth: 0.5556
|
|
2273
|
+
baseline: "top"
|
|
2247
2274
|
},
|
|
2248
2275
|
motion: { type: "static" },
|
|
2249
|
-
life: { enter:
|
|
2276
|
+
life: { enter: 2150, fade: 600 }
|
|
2250
2277
|
},
|
|
2278
|
+
// alert + relay load
|
|
2251
2279
|
{
|
|
2252
|
-
key: "
|
|
2280
|
+
key: "alert",
|
|
2253
2281
|
count: 1,
|
|
2254
|
-
position: { x: 0.
|
|
2282
|
+
position: { x: 0.665, y: 0.49 },
|
|
2255
2283
|
sprite: {
|
|
2256
2284
|
kind: "text",
|
|
2257
|
-
strings: ["
|
|
2258
|
-
color: "#
|
|
2259
|
-
font: "
|
|
2285
|
+
strings: ["\u25B3 SOLAR FLUX ELEVATED \u2014 MONITORING"],
|
|
2286
|
+
color: "#ff9f43",
|
|
2287
|
+
font: "bold 11px 'SF Mono', monospace",
|
|
2260
2288
|
align: "left",
|
|
2261
|
-
baseline: "top"
|
|
2262
|
-
maxWidth: 0.5556
|
|
2289
|
+
baseline: "top"
|
|
2263
2290
|
},
|
|
2291
|
+
pulse: { amp: 0.22, period: 3400 },
|
|
2264
2292
|
motion: { type: "static" },
|
|
2265
|
-
life: { enter:
|
|
2293
|
+
life: { enter: 2450, fade: 600 }
|
|
2266
2294
|
},
|
|
2267
2295
|
{
|
|
2268
|
-
key: "
|
|
2269
|
-
count:
|
|
2270
|
-
position: { x: 0.06, y: 0.86 },
|
|
2296
|
+
key: "load-bars",
|
|
2297
|
+
count: 24,
|
|
2271
2298
|
sprite: {
|
|
2272
|
-
kind: "
|
|
2273
|
-
|
|
2274
|
-
|
|
2275
|
-
|
|
2276
|
-
|
|
2277
|
-
|
|
2278
|
-
maxWidth: 0.5556
|
|
2299
|
+
kind: "rect",
|
|
2300
|
+
width: [42e-4, 42e-4],
|
|
2301
|
+
aspect: [0.5, 3.2],
|
|
2302
|
+
color: "#aa88ff",
|
|
2303
|
+
colors: ["#aa88ff", "#44aaff", "#2ee6c8"],
|
|
2304
|
+
colorWeights: [2, 2, 3]
|
|
2279
2305
|
},
|
|
2306
|
+
alpha: [0.3, 0.65],
|
|
2307
|
+
layout: { type: "grid", columns: 24 },
|
|
2308
|
+
region: { x: [0.665, 0.965], y: [0.58, 0.615] },
|
|
2309
|
+
pulse: { amp: 0.45, period: 1800, wave: { wavelength: 0.12, angle: 0 } },
|
|
2280
2310
|
motion: { type: "static" },
|
|
2281
|
-
life: { enter:
|
|
2311
|
+
life: { enter: 2550, fade: 600 }
|
|
2282
2312
|
},
|
|
2283
2313
|
{
|
|
2284
|
-
key: "
|
|
2314
|
+
key: "load-note",
|
|
2285
2315
|
count: 1,
|
|
2286
|
-
position: { x: 0.
|
|
2316
|
+
position: { x: 0.665, y: 0.65 },
|
|
2287
2317
|
sprite: {
|
|
2288
2318
|
kind: "text",
|
|
2289
|
-
strings: ["
|
|
2290
|
-
color: "#
|
|
2291
|
-
font: "10px monospace",
|
|
2319
|
+
strings: ["RELAY LOAD \xB7 QUEUE 14 FRAMES \xB7 NOMINAL"],
|
|
2320
|
+
color: "#5d7089",
|
|
2321
|
+
font: "10px 'SF Mono', monospace",
|
|
2292
2322
|
align: "left",
|
|
2293
|
-
baseline: "top"
|
|
2294
|
-
maxWidth: 0.5556
|
|
2323
|
+
baseline: "top"
|
|
2295
2324
|
},
|
|
2296
2325
|
motion: { type: "static" },
|
|
2297
|
-
life: { enter:
|
|
2326
|
+
life: { enter: 2550, fade: 600 }
|
|
2298
2327
|
},
|
|
2328
|
+
// ---- footer band ----
|
|
2299
2329
|
{
|
|
2300
|
-
key: "
|
|
2330
|
+
key: "footer",
|
|
2301
2331
|
count: 1,
|
|
2302
|
-
position: { x: 0.
|
|
2332
|
+
position: { x: 0.035, y: 0.95 },
|
|
2303
2333
|
sprite: {
|
|
2304
2334
|
kind: "text",
|
|
2305
|
-
strings: ["
|
|
2306
|
-
color: "#
|
|
2307
|
-
font: "
|
|
2308
|
-
align: "left"
|
|
2309
|
-
baseline: "top",
|
|
2310
|
-
maxWidth: 0.5556
|
|
2335
|
+
strings: ["NET STATE GREEN \xB7 3 ARRAYS \xB7 5 CARRIERS \xB7 DSN HANDOVER 23:34 \xB7 NEXT WINDOW 04:41:00"],
|
|
2336
|
+
color: "#41536b",
|
|
2337
|
+
font: "9px 'SF Mono', monospace",
|
|
2338
|
+
align: "left"
|
|
2311
2339
|
},
|
|
2312
2340
|
motion: { type: "static" },
|
|
2313
|
-
life: { enter:
|
|
2341
|
+
life: { enter: 2750, fade: 600 }
|
|
2314
2342
|
}
|
|
2315
2343
|
]
|
|
2316
2344
|
};
|
|
@@ -2443,6 +2471,118 @@ var MATRIX_RAIN_SPEC = {
|
|
|
2443
2471
|
}
|
|
2444
2472
|
]
|
|
2445
2473
|
};
|
|
2474
|
+
var NOSTALGHIA_CANDLE_SPEC = {
|
|
2475
|
+
schemaVersion: 1,
|
|
2476
|
+
id: "nostalghia-candle",
|
|
2477
|
+
label: "Nostalghia's Candle",
|
|
2478
|
+
seed: 1983,
|
|
2479
|
+
motionIntensity: "calm",
|
|
2480
|
+
background: {
|
|
2481
|
+
type: "gradient",
|
|
2482
|
+
stops: [
|
|
2483
|
+
{ at: 0, color: "#050302" },
|
|
2484
|
+
{ at: 0.55, color: "#0a0704" },
|
|
2485
|
+
{ at: 1, color: "#120c08" }
|
|
2486
|
+
]
|
|
2487
|
+
},
|
|
2488
|
+
layers: [
|
|
2489
|
+
{
|
|
2490
|
+
key: "halo",
|
|
2491
|
+
count: 1,
|
|
2492
|
+
position: { x: 0.5, y: 0.52 },
|
|
2493
|
+
sprite: {
|
|
2494
|
+
kind: "circle",
|
|
2495
|
+
radius: [0.11, 0.11],
|
|
2496
|
+
color: "#c4782a",
|
|
2497
|
+
soft: true
|
|
2498
|
+
},
|
|
2499
|
+
// Base 0.04 + amp 0.02 → breathes ~0.02..0.06; never clamps to 0.
|
|
2500
|
+
// (pulse.amp is ADDED to alpha, not multiplied.) Kept subordinate to the flame.
|
|
2501
|
+
alpha: [0.04, 0.04],
|
|
2502
|
+
blend: "lighter",
|
|
2503
|
+
pulse: { amp: 0.02, period: 1e4 },
|
|
2504
|
+
grow: { amp: 0.08, period: 1e4 },
|
|
2505
|
+
motion: { type: "static" }
|
|
2506
|
+
},
|
|
2507
|
+
{
|
|
2508
|
+
key: "smoke",
|
|
2509
|
+
count: 3,
|
|
2510
|
+
sprite: {
|
|
2511
|
+
kind: "circle",
|
|
2512
|
+
radius: [0.01, 0.022],
|
|
2513
|
+
color: "#6a6258",
|
|
2514
|
+
soft: true
|
|
2515
|
+
},
|
|
2516
|
+
alpha: [0.02, 0.04],
|
|
2517
|
+
blend: "lighter",
|
|
2518
|
+
region: { x: [0.46, 0.54], y: [0.36, 0.48] },
|
|
2519
|
+
pulse: { amp: 0.015, period: 4500 },
|
|
2520
|
+
motion: { type: "rise", speed: [2e-3, 4e-3], sway: 8e-3 }
|
|
2521
|
+
},
|
|
2522
|
+
{
|
|
2523
|
+
key: "flame-glow",
|
|
2524
|
+
count: 1,
|
|
2525
|
+
sprite: {
|
|
2526
|
+
kind: "circle",
|
|
2527
|
+
radius: [0.028, 0.028],
|
|
2528
|
+
color: "#ffb040",
|
|
2529
|
+
soft: true
|
|
2530
|
+
},
|
|
2531
|
+
alpha: [0.32, 0.32],
|
|
2532
|
+
blend: "lighter",
|
|
2533
|
+
pulse: { amp: 0.12, period: 1400 },
|
|
2534
|
+
grow: { amp: 0.4, period: 1600 },
|
|
2535
|
+
// Tiny orbit = positional lean without drifting off-center (wander has vx).
|
|
2536
|
+
motion: {
|
|
2537
|
+
type: "orbit",
|
|
2538
|
+
speed: [18, 18],
|
|
2539
|
+
radius: [3e-3, 3e-3],
|
|
2540
|
+
center: { x: 0.5, y: 0.52 }
|
|
2541
|
+
}
|
|
2542
|
+
},
|
|
2543
|
+
{
|
|
2544
|
+
key: "flame-core",
|
|
2545
|
+
count: 1,
|
|
2546
|
+
sprite: {
|
|
2547
|
+
kind: "circle",
|
|
2548
|
+
radius: [0.014, 0.014],
|
|
2549
|
+
color: "#fff6e0",
|
|
2550
|
+
soft: true
|
|
2551
|
+
},
|
|
2552
|
+
alpha: [0.95, 0.95],
|
|
2553
|
+
blend: "lighter",
|
|
2554
|
+
pulse: { amp: 0.25, period: 900 },
|
|
2555
|
+
grow: { amp: 0.55, period: 1100 },
|
|
2556
|
+
motion: {
|
|
2557
|
+
type: "orbit",
|
|
2558
|
+
speed: [22, 22],
|
|
2559
|
+
radius: [25e-4, 25e-4],
|
|
2560
|
+
center: { x: 0.5, y: 0.52 }
|
|
2561
|
+
}
|
|
2562
|
+
},
|
|
2563
|
+
{
|
|
2564
|
+
key: "embers",
|
|
2565
|
+
count: 7,
|
|
2566
|
+
sprite: {
|
|
2567
|
+
kind: "circle",
|
|
2568
|
+
radius: [18e-4, 4e-3],
|
|
2569
|
+
color: "#e08a34",
|
|
2570
|
+
soft: true
|
|
2571
|
+
},
|
|
2572
|
+
alpha: [0.4, 0.8],
|
|
2573
|
+
blend: "lighter",
|
|
2574
|
+
region: { x: [0.35, 0.65], y: [0.4, 0.7] },
|
|
2575
|
+
pulse: { amp: 0.2, period: 2200 },
|
|
2576
|
+
trail: { length: 2200, fade: 1 },
|
|
2577
|
+
motion: {
|
|
2578
|
+
type: "drift",
|
|
2579
|
+
speed: [4e-3, 0.012],
|
|
2580
|
+
angle: 270,
|
|
2581
|
+
bob: 8e-3
|
|
2582
|
+
}
|
|
2583
|
+
}
|
|
2584
|
+
]
|
|
2585
|
+
};
|
|
2446
2586
|
var POLYGONS_SPEC = {
|
|
2447
2587
|
schemaVersion: 1,
|
|
2448
2588
|
id: "polygons",
|
|
@@ -2873,7 +3013,8 @@ var SCHEMA_EXAMPLES = [
|
|
|
2873
3013
|
{ id: "warp-tunnel", label: "Warp Tunnel", spec: WARP_TUNNEL_SPEC },
|
|
2874
3014
|
{ id: "polygons", label: "Polygons", spec: POLYGONS_SPEC },
|
|
2875
3015
|
{ id: "matrix-rain", label: "Matrix Rain", spec: MATRIX_RAIN_SPEC },
|
|
2876
|
-
{ id: "procession", label: "Night Procession", spec: PROCESSION_SPEC }
|
|
3016
|
+
{ id: "procession", label: "Night Procession", spec: PROCESSION_SPEC },
|
|
3017
|
+
{ id: "nostalghia-candle", label: "Nostalghia's Candle", spec: NOSTALGHIA_CANDLE_SPEC }
|
|
2877
3018
|
];
|
|
2878
3019
|
var EXAMPLE_SPECS = SCHEMA_EXAMPLES.map((e) => e.spec);
|
|
2879
3020
|
var EXAMPLE_BY_ID = Object.fromEntries(
|
|
@@ -2883,6 +3024,7 @@ var EXAMPLE_BY_ID = Object.fromEntries(
|
|
|
2883
3024
|
// src/idle-worker.ts
|
|
2884
3025
|
runIdleWorker(
|
|
2885
3026
|
{
|
|
3027
|
+
[dvd.manifest.id]: dvd,
|
|
2886
3028
|
[warp.manifest.id]: warp,
|
|
2887
3029
|
[hardRain.manifest.id]: hardRain,
|
|
2888
3030
|
[rainstorm.manifest.id]: rainstorm,
|
|
@@ -2892,7 +3034,8 @@ runIdleWorker(
|
|
|
2892
3034
|
[pipes.manifest.id]: pipes,
|
|
2893
3035
|
[flurry.manifest.id]: flurry,
|
|
2894
3036
|
[fluid.manifest.id]: fluid,
|
|
2895
|
-
[reactionDiffusion.manifest.id]: reactionDiffusion
|
|
3037
|
+
[reactionDiffusion.manifest.id]: reactionDiffusion,
|
|
3038
|
+
[messages.manifest.id]: messages
|
|
2896
3039
|
},
|
|
2897
3040
|
{ compiler: compileSaver }
|
|
2898
3041
|
);
|