@a2f0/skyline 0.2.4 → 0.2.6
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.
|
@@ -130,7 +130,7 @@ export const colourMaterials = {
|
|
|
130
130
|
piers: ["concrete"],
|
|
131
131
|
"corner balconies": ["concrete"],
|
|
132
132
|
},
|
|
133
|
-
// A
|
|
133
|
+
// A warm white precast slab with bronze-tinted glass.
|
|
134
134
|
"building-michigan-plaza-front-tall": {
|
|
135
135
|
shell: ["neutral"],
|
|
136
136
|
"walls and windows": ["glass", { ...windows(0x727272, 0x484848), 0x666666: "concrete" }],
|
|
@@ -277,7 +277,9 @@ export const toneOf = (grey) => new THREE.Color(grey, grey, grey).getHex();
|
|
|
277
277
|
// granite and Crain's aluminium pass white at their own greys here, so a higher factor would
|
|
278
278
|
// brighten only the darker materials. The Railway Exchange is left out: the view shows its shaded
|
|
279
279
|
// Michigan front, not the sunlit Jackson front its colour is measured on; that front renders 0.82
|
|
280
|
-
// of the photograph's shaded Michigan front.
|
|
280
|
+
// of the photograph's shaded Michigan front. The seven measured next (FID-COL-004) spread wider,
|
|
281
|
+
// 0.25 to 1.56 on their measured materials and 0.14 on Kemper's whole face, where the scene's sun
|
|
282
|
+
// lights their faces differently from the photograph's; docs/viewer.md and their audits give each.
|
|
281
283
|
export const exposure = 1.4;
|
|
282
284
|
// A grey in its measured colour: the swatch's colour scaled by the grey's brightness against the
|
|
283
285
|
// swatch's grey, both in linear light, so a darker surface of one material stays darker. A colour
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// By day no office lights show: lit and dim windows are the glass, in its measured colour.
|
|
2
|
-
const glass = (colour) => ({
|
|
2
|
+
const glass = (colour, material = "glass") => ({ [material]: colour, "lit window": colour, "dim window": colour });
|
|
3
3
|
export const measuredColours = {
|
|
4
4
|
// docs/railway-exchange-reference.md, 2026-10-09 — Daytime colours from Chicago.jpg.
|
|
5
5
|
"building-railway-exchange": {
|
|
@@ -55,6 +55,54 @@ export const measuredColours = {
|
|
|
55
55
|
"dark metal": null,
|
|
56
56
|
neutral: null,
|
|
57
57
|
},
|
|
58
|
+
// docs/willoughby-tower-reference.md, 2026-10-09 — Daytime colours from Chicago.jpg.
|
|
59
|
+
"building-willoughby-tower": {
|
|
60
|
+
limestone: 0xccbdab,
|
|
61
|
+
...glass(0x4d4541),
|
|
62
|
+
"dark granite": null,
|
|
63
|
+
neutral: null,
|
|
64
|
+
},
|
|
65
|
+
// docs/heritage-geographic-reference.md, 2026-10-09 — Daytime colours from Chicago.jpg.
|
|
66
|
+
"building-heritage-at-millennium-park": {
|
|
67
|
+
limestone: 0xd8dad6,
|
|
68
|
+
"green glass": 0x475861,
|
|
69
|
+
"lit window": 0x475861,
|
|
70
|
+
bronze: 0x475861,
|
|
71
|
+
concrete: null,
|
|
72
|
+
"buff brick": null,
|
|
73
|
+
neutral: null,
|
|
74
|
+
},
|
|
75
|
+
// docs/kemper-geographic-reference.md, 2026-10-09 — Daytime colours from Chicago.jpg.
|
|
76
|
+
"building-kemper": {
|
|
77
|
+
marble: 0xc3c0b6,
|
|
78
|
+
...glass(0x535455),
|
|
79
|
+
aluminium: null,
|
|
80
|
+
},
|
|
81
|
+
// docs/north-wabash-reference.md, 2026-10-09 — Daytime colours from Chicago.jpg.
|
|
82
|
+
"building-330-north-wabash": {
|
|
83
|
+
...glass(0x2f4052, "bronze glass"),
|
|
84
|
+
bronze: 0x2f4052,
|
|
85
|
+
"dark granite": null,
|
|
86
|
+
neutral: null,
|
|
87
|
+
},
|
|
88
|
+
// docs/millennium-park-plaza-reference.md, 2026-10-09 — Daytime colours from Chicago.jpg.
|
|
89
|
+
"building-michigan-plaza-front-tall": {
|
|
90
|
+
concrete: 0xe5d6c9,
|
|
91
|
+
...glass(0x3c342a),
|
|
92
|
+
neutral: null,
|
|
93
|
+
},
|
|
94
|
+
// docs/trump-reference.md, 2026-10-09 — Daytime colours from Chicago.jpg.
|
|
95
|
+
"building-trump-tower-only": {
|
|
96
|
+
...glass(0x6f838e),
|
|
97
|
+
stainless: null,
|
|
98
|
+
},
|
|
99
|
+
// docs/340-on-the-park-reference.md, 2026-10-09 — Daytime colours from Chicago.jpg.
|
|
100
|
+
"building-340-on-the-park": {
|
|
101
|
+
concrete: 0xdfe3e1,
|
|
102
|
+
...glass(0x637c84, "green glass"),
|
|
103
|
+
aluminium: null,
|
|
104
|
+
neutral: null,
|
|
105
|
+
},
|
|
58
106
|
};
|
|
59
107
|
// The sunny day the colour toggle shows: the sky's blue at the top of the view and its haze just
|
|
60
108
|
// above the horizon, each the median of a clear box of the same panorama (scripts/sample-colours.ts,
|
package/package.json
CHANGED
|
@@ -130,7 +130,7 @@ export const colourMaterials = {
|
|
|
130
130
|
piers: ["concrete"],
|
|
131
131
|
"corner balconies": ["concrete"],
|
|
132
132
|
},
|
|
133
|
-
// A
|
|
133
|
+
// A warm white precast slab with bronze-tinted glass.
|
|
134
134
|
"building-michigan-plaza-front-tall": {
|
|
135
135
|
shell: ["neutral"],
|
|
136
136
|
"walls and windows": ["glass", { ...windows(0x727272, 0x484848), 0x666666: "concrete" }],
|
|
@@ -277,7 +277,9 @@ export const toneOf = (grey) => new THREE.Color(grey, grey, grey).getHex();
|
|
|
277
277
|
// granite and Crain's aluminium pass white at their own greys here, so a higher factor would
|
|
278
278
|
// brighten only the darker materials. The Railway Exchange is left out: the view shows its shaded
|
|
279
279
|
// Michigan front, not the sunlit Jackson front its colour is measured on; that front renders 0.82
|
|
280
|
-
// of the photograph's shaded Michigan front.
|
|
280
|
+
// of the photograph's shaded Michigan front. The seven measured next (FID-COL-004) spread wider,
|
|
281
|
+
// 0.25 to 1.56 on their measured materials and 0.14 on Kemper's whole face, where the scene's sun
|
|
282
|
+
// lights their faces differently from the photograph's; docs/viewer.md and their audits give each.
|
|
281
283
|
export const exposure = 1.4;
|
|
282
284
|
// A grey in its measured colour: the swatch's colour scaled by the grey's brightness against the
|
|
283
285
|
// swatch's grey, both in linear light, so a darker surface of one material stays darker. A colour
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// By day no office lights show: lit and dim windows are the glass, in its measured colour.
|
|
2
|
-
const glass = (colour) => ({
|
|
2
|
+
const glass = (colour, material = "glass") => ({ [material]: colour, "lit window": colour, "dim window": colour });
|
|
3
3
|
export const measuredColours = {
|
|
4
4
|
// docs/railway-exchange-reference.md, 2026-10-09 — Daytime colours from Chicago.jpg.
|
|
5
5
|
"building-railway-exchange": {
|
|
@@ -55,6 +55,54 @@ export const measuredColours = {
|
|
|
55
55
|
"dark metal": null,
|
|
56
56
|
neutral: null,
|
|
57
57
|
},
|
|
58
|
+
// docs/willoughby-tower-reference.md, 2026-10-09 — Daytime colours from Chicago.jpg.
|
|
59
|
+
"building-willoughby-tower": {
|
|
60
|
+
limestone: 0xccbdab,
|
|
61
|
+
...glass(0x4d4541),
|
|
62
|
+
"dark granite": null,
|
|
63
|
+
neutral: null,
|
|
64
|
+
},
|
|
65
|
+
// docs/heritage-geographic-reference.md, 2026-10-09 — Daytime colours from Chicago.jpg.
|
|
66
|
+
"building-heritage-at-millennium-park": {
|
|
67
|
+
limestone: 0xd8dad6,
|
|
68
|
+
"green glass": 0x475861,
|
|
69
|
+
"lit window": 0x475861,
|
|
70
|
+
bronze: 0x475861,
|
|
71
|
+
concrete: null,
|
|
72
|
+
"buff brick": null,
|
|
73
|
+
neutral: null,
|
|
74
|
+
},
|
|
75
|
+
// docs/kemper-geographic-reference.md, 2026-10-09 — Daytime colours from Chicago.jpg.
|
|
76
|
+
"building-kemper": {
|
|
77
|
+
marble: 0xc3c0b6,
|
|
78
|
+
...glass(0x535455),
|
|
79
|
+
aluminium: null,
|
|
80
|
+
},
|
|
81
|
+
// docs/north-wabash-reference.md, 2026-10-09 — Daytime colours from Chicago.jpg.
|
|
82
|
+
"building-330-north-wabash": {
|
|
83
|
+
...glass(0x2f4052, "bronze glass"),
|
|
84
|
+
bronze: 0x2f4052,
|
|
85
|
+
"dark granite": null,
|
|
86
|
+
neutral: null,
|
|
87
|
+
},
|
|
88
|
+
// docs/millennium-park-plaza-reference.md, 2026-10-09 — Daytime colours from Chicago.jpg.
|
|
89
|
+
"building-michigan-plaza-front-tall": {
|
|
90
|
+
concrete: 0xe5d6c9,
|
|
91
|
+
...glass(0x3c342a),
|
|
92
|
+
neutral: null,
|
|
93
|
+
},
|
|
94
|
+
// docs/trump-reference.md, 2026-10-09 — Daytime colours from Chicago.jpg.
|
|
95
|
+
"building-trump-tower-only": {
|
|
96
|
+
...glass(0x6f838e),
|
|
97
|
+
stainless: null,
|
|
98
|
+
},
|
|
99
|
+
// docs/340-on-the-park-reference.md, 2026-10-09 — Daytime colours from Chicago.jpg.
|
|
100
|
+
"building-340-on-the-park": {
|
|
101
|
+
concrete: 0xdfe3e1,
|
|
102
|
+
...glass(0x637c84, "green glass"),
|
|
103
|
+
aluminium: null,
|
|
104
|
+
neutral: null,
|
|
105
|
+
},
|
|
58
106
|
};
|
|
59
107
|
// The sunny day the colour toggle shows: the sky's blue at the top of the view and its haze just
|
|
60
108
|
// above the horizon, each the median of a clear box of the same panorama (scripts/sample-colours.ts,
|