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
24 changes: 13 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,23 +74,25 @@ menu to keep it fixed.

- **Ocean:** sunlit water by day, golden light at sunset, and at night dark moonlit water with glowing plankton
and, in teeming, a diver's torch.
- **Desert:** a high sun with sunlit rock and shadows by day, backlit silhouettes at sunset, and a moonlit night with
stars and the Milky Way, where an owl and bats take over the sky.
- **Desert:** a high sun with sunlit rock and shadows by day, silhouettes in a hot ochre dust haze at sunset, and a
moonlit night with stars and the Milky Way, where an owl and bats take over the sky.
- **Jungle:** sunlit greens by day, warm backlit mist at sunset, and a moonlit night lit by fireflies, where the
jaguar's eyes glow.
- **Space:** the planet's sunlit side by day, an orbital sunrise with the star flaring at its edge at sunset, and its
night side with city lights and aurora under a bright Milky Way.
- **Farm:** sunny fields by day, a backlit barn at sunset, and a moonlit night with glowing windows and fireflies.
- **Farm:** sunny fields by day, golden-hour light over warm grass at sunset, and a moonlit night with glowing
windows and fireflies.
- **Tundra:** crisp blue-white snow by day, pink alpenglow at sunset, and deep blue snow under a green and violet
aurora at night, with warm light from the igloos.
- **Beach:** turquoise water by day, a glittering path under the setting sun, and a moon path at night with glowing
bioluminescent waves.
- **City:** glass towers in the sun by day, backlit towers with the first lit windows at sunset, and at night windows,
lamps and neon in saturated colors mirrored in the river, with rain and a wet street in teeming.
- **Zen garden:** a sunlit pond mirroring the sky by day, the setting sun glittering in it at sunset, and at night
amber lanterns, fireflies and the gold moon reflected in dark blue water.
- **Prehistoric:** a hazy blue sky over glowing lava by day, backlit dinosaurs at sunset, and a moonlit night where
red and orange lava runs down the volcano, lights its smoke and shimmers on the lake.
- **Beach:** turquoise water by day, a pastel pink and teal sunset over a pink-lit sea, and a moon path at night with
glowing bioluminescent waves.
- **City:** glass towers in the sun by day, a smoggy amber and magenta sunset dropping between the towers, and at
night windows, lamps and neon in saturated colors mirrored in the river, with rain and a wet street in teeming.
- **Zen garden:** a sunlit pond mirroring the sky by day, a soft peach and lavender sunset glittering in it, and at
night amber lanterns, fireflies and the gold moon reflected in dark blue water.
- **Prehistoric:** a hazy blue sky over glowing lava by day, dinosaurs under an ashy red sky with the sun dimmed by
smoke at sunset, and a moonlit night where red and orange lava runs down the volcano, lights its smoke and shimmers
on the lake.

## Seasons and weather

Expand Down
35 changes: 18 additions & 17 deletions wallpapers/beach.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,27 +58,28 @@ const LOOKS: Record<Time, Look> = {
},
sunset: {
style: "rim",
light: [1, 0.5, 0.2],
// Pastel: a teal sky blushing pink toward the horizon, and a sea lit pink far out, teal near the shore.
light: [1, 0.6, 0.62],
sky: [
[0, [0.03, 0.02, 0.08]],
[0.22, [0.12, 0.04, 0.12]],
[0.38, [0.45, 0.14, 0.14]],
[HORIZON, [1, 0.5, 0.18]],
[0, [0.03, 0.1, 0.14]],
[0.2, [0.1, 0.24, 0.3]],
[0.36, [0.6, 0.32, 0.5]],
[HORIZON, [1, 0.5, 0.55]],
],
orb: { x: 0.55, y: 0.475, r: 0.055, core: [3.2, 1.7, 0.6], glow: [1, 0.42, 0.14], near: 0.5, wide: 0.25 },
stars: 25,
clouds: { puffy: false, top: [0.1, 0.035, 0.09], bottom: [0.8, 0.3, 0.2], alpha: 0.55 },
orb: { x: 0.55, y: 0.465, r: 0.05, core: [2.6, 1.4, 1.2], glow: [1, 0.5, 0.58], near: 0.45, wide: 0.22 },
stars: 12,
clouds: { puffy: false, top: [0.2, 0.2, 0.3], bottom: [1, 0.5, 0.62], alpha: 0.55 },
sea: [
[0.55, 0.25, 0.18],
[0.12, 0.07, 0.12],
[0.8, 0.36, 0.5],
[0.04, 0.24, 0.27],
],
sand: [
[0.4, 0.22, 0.15],
[0.25, 0.13, 0.1],
[0.4, 0.22, 0.27],
[0.2, 0.13, 0.19],
],
foam: [1, 0.62, 0.42],
foam: [1, 0.76, 0.8],
glitter: 1,
tint: [0.22, 0.13, 0.1],
tint: [0.2, 0.16, 0.22],
night: false,
},
night: {
Expand Down Expand Up @@ -707,9 +708,9 @@ export const beach: Wallpaper = {
[44, 38, 26],
],
sunset: [
[30, 14, 26],
[36, 16, 22],
[14, 8, 8],
[8, 22, 28],
[36, 20, 30],
[16, 12, 14],
],
night: [
[3, 6, 16],
Expand Down
31 changes: 16 additions & 15 deletions wallpapers/city.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,23 +69,24 @@ const LOOKS: Record<Time, Look> = {
},
sunset: {
style: "rim",
light: [1, 0.5, 0.2],
// Smog: magenta overhead, thick amber over the rooftops, and a dull orange sun sinking between the towers.
light: [1, 0.55, 0.16],
sky: [
[0, [0.03, 0.02, 0.08]],
[0.25, [0.12, 0.04, 0.12]],
[0.45, [0.45, 0.14, 0.14]],
[BANK, [1, 0.5, 0.18]],
[0, [0.06, 0.012, 0.06]],
[0.2, [0.2, 0.035, 0.16]],
[0.38, [0.55, 0.14, 0.22]],
[BANK, [1, 0.56, 0.14]],
],
orb: { x: 0.7, y: 0.5, r: 0.055, core: [3.2, 1.7, 0.6], glow: [1, 0.42, 0.14], near: 0.5, wide: 0.25 },
stars: 20,
clouds: { puffy: false, top: [0.1, 0.035, 0.09], bottom: [0.8, 0.3, 0.2], alpha: 0.55 },
haze: [0.36, 0.14, 0.16],
orb: { x: 0.62, y: 0.4, r: 0.065, core: [2.6, 1.3, 0.35], glow: [1, 0.5, 0.12], near: 0.45, wide: 0.35 },
stars: 0,
clouds: { puffy: false, top: [0.2, 0.04, 0.16], bottom: [0.95, 0.4, 0.3], alpha: 0.5 },
haze: [0.6, 0.27, 0.12],
river: [
[0.4, 0.16, 0.14],
[0.1, 0.05, 0.09],
[0.62, 0.28, 0.12],
[0.14, 0.03, 0.1],
],
reflect: 0.6,
tint: [0.2, 0.12, 0.11],
tint: [0.22, 0.1, 0.13],
windows: [AMBER, GOLD],
lit: 0.18,
glow: 0.55,
Expand Down Expand Up @@ -1007,9 +1008,9 @@ export const city: Wallpaper = {
[26, 26, 32],
],
sunset: [
[30, 14, 26],
[34, 14, 22],
[14, 8, 12],
[28, 8, 26],
[38, 16, 12],
[16, 8, 12],
],
night: [
[3, 4, 16],
Expand Down
37 changes: 19 additions & 18 deletions wallpapers/desert.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,26 +95,27 @@ const LOOKS: Record<Time, Look> = {
},
sunset: {
style: "rim",
light: [1, 0.42, 0.14],
light: [1, 0.5, 0.16],
// Dust: a rust-brown sky thickening to a hot ochre haze along the horizon.
sky: [
[0, [0.012, 0.01, 0.04]],
[0.25, [0.05, 0.02, 0.085]],
[0.42, [0.2, 0.055, 0.12]],
[0.52, [0.55, 0.16, 0.12]],
[HORIZON, [0.95, 0.4, 0.14]],
[0, [0.03, 0.014, 0.012]],
[0.22, [0.09, 0.035, 0.022]],
[0.4, [0.3, 0.1, 0.04]],
[0.52, [0.66, 0.27, 0.08]],
[HORIZON, [0.95, 0.55, 0.2]],
],
orb: { x: 0.6, y: 0.53, r: 0.065, core: [3.2, 1.7, 0.6], glow: [1, 0.42, 0.14], near: 0.5, wide: 0.25, moon: false },
stars: 45,
orb: { x: 0.6, y: 0.565, r: 0.09, core: [2.6, 1.25, 0.42], glow: [1, 0.48, 0.14], near: 0.42, wide: 0.42, moon: false },
stars: 15,
milkyWay: false,
clouds: { puffy: false, top: [0.1, 0.035, 0.09], bottom: [0.75, 0.24, 0.2], alpha: 0.55 },
farMesa: [0.07, 0.03, 0.06],
nearMesa: [0.07, 0.025, 0.04],
clouds: { puffy: false, top: [0.14, 0.05, 0.025], bottom: [0.8, 0.38, 0.12], alpha: 0.5 },
farMesa: [0.32, 0.1, 0.05],
nearMesa: [0.13, 0.04, 0.02],
floor: [
[0.4, 0.14, 0.07],
[0.1, 0.04, 0.03],
[0.62, 0.28, 0.1],
[0.14, 0.06, 0.025],
],
backDune: [0.075, 0.03, 0.025],
frontDune: [0.04, 0.017, 0.014],
backDune: [0.12, 0.045, 0.02],
frontDune: [0.06, 0.024, 0.012],
cactus: [0.02, 0.05, 0.025],
bone: [0.62, 0.5, 0.4],
horn: [0.48, 0.38, 0.26],
Expand Down Expand Up @@ -1037,9 +1038,9 @@ export const desert: Wallpaper = {
[44, 28, 16],
],
sunset: [
[14, 10, 30],
[40, 16, 24],
[16, 8, 8],
[24, 12, 8],
[40, 18, 10],
[16, 8, 6],
],
night: [
[4, 6, 16],
Expand Down
46 changes: 24 additions & 22 deletions wallpapers/farm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@ const TIME_SCALE = 0.35
const CREATURE_SPEED = 0.25
const HORIZON = 0.55

// What changes with the time of day. Buildings, crops and animals have one daytime color each; tint darkens them into
// silhouettes at sunset and night, while the sky, hills and window light get their own values.
// What changes with the time of day. Buildings, crops and animals have one daytime color each; tint warms them in the
// golden-hour sunset and darkens them into silhouettes at night, while the sky, hills and window light get their own
// values.
interface Look {
style: "rim" | "front"
light: RGB
Expand Down Expand Up @@ -48,22 +49,23 @@ const LOOKS: Record<Time, Look> = {
},
sunset: {
style: "rim",
light: [1, 0.5, 0.2],
// Golden hour: the sun still clear of the hills, a honeyed sky and warm grass in long light.
light: [1, 0.66, 0.25],
sky: [
[0, [0.03, 0.02, 0.08]],
[0.25, [0.12, 0.04, 0.12]],
[0.42, [0.45, 0.14, 0.14]],
[HORIZON, [1, 0.5, 0.18]],
[0, [0.1, 0.08, 0.18]],
[0.18, [0.4, 0.2, 0.18]],
[0.36, [1, 0.52, 0.16]],
[HORIZON, [1, 0.74, 0.3]],
],
orb: { x: 0.28, y: 0.5, r: 0.06, core: [3.2, 1.7, 0.6], glow: [1, 0.42, 0.14], near: 0.5, wide: 0.25 },
stars: 30,
clouds: { puffy: false, top: [0.1, 0.035, 0.09], bottom: [0.8, 0.3, 0.2], alpha: 0.55 },
orb: { x: 0.2, y: 0.37, r: 0.042, core: [3.2, 2, 0.7], glow: [1, 0.6, 0.2], near: 0.55, wide: 0.35 },
stars: 0,
clouds: { puffy: true, top: [1.3, 0.8, 0.35], bottom: [0.6, 0.3, 0.22], alpha: 0.8 },
hills: [
[0.3, 0.12, 0.12],
[0.08, 0.04, 0.03],
[0.68, 0.42, 0.1],
[0.34, 0.24, 0.04],
],
tint: [0.22, 0.13, 0.1],
windows: 0.5,
tint: [0.46, 0.29, 0.13],
windows: 0.25,
fireflies: false,
},
night: {
Expand Down Expand Up @@ -107,19 +109,19 @@ const GROUND: Partial<Record<Season, Partial<Record<Time, [far: RGB, near: RGB]>
[0.56, 0.44, 0.17],
],
sunset: [
[0.34, 0.13, 0.09],
[0.1, 0.05, 0.025],
[0.62, 0.34, 0.1],
[0.42, 0.22, 0.05],
],
},
// Snow by day, rosy at sunset, and deep blue at night, never white.
// Snow by day, gold at sunset, and deep blue at night, never white.
winter: {
day: [
[0.74, 0.79, 0.88],
[0.82, 0.86, 0.93],
],
sunset: [
[0.46, 0.25, 0.3],
[0.3, 0.16, 0.19],
[0.6, 0.4, 0.26],
[0.5, 0.34, 0.24],
],
night: [
[0.035, 0.07, 0.18],
Expand Down Expand Up @@ -897,9 +899,9 @@ export const farm: Wallpaper = {
[14, 28, 10],
],
sunset: [
[30, 14, 26],
[36, 16, 16],
[10, 6, 6],
[16, 18, 34],
[40, 28, 14],
[14, 12, 6],
],
night: [
[4, 6, 16],
Expand Down
43 changes: 22 additions & 21 deletions wallpapers/prehistoric.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,32 +73,33 @@ const LOOKS: Record<Time, Look> = {
},
sunset: {
style: "rim",
light: [1, 0.5, 0.2],
// Ash: a smoky gray-brown sky over a deep red haze, and a sun dimmed to a dull red disc.
light: [1, 0.3, 0.12],
sky: [
[0, [0.03, 0.02, 0.08]],
[0.25, [0.12, 0.04, 0.12]],
[0.45, [0.45, 0.14, 0.14]],
[HORIZON, [1, 0.5, 0.18]],
[0, [0.045, 0.04, 0.04]],
[0.25, [0.11, 0.075, 0.065]],
[0.45, [0.26, 0.06, 0.045]],
[HORIZON, [0.58, 0.1, 0.05]],
],
orb: { x: 0.2, y: 0.48, r: 0.06, core: [3.2, 1.7, 0.6], glow: [1, 0.42, 0.14], near: 0.5, wide: 0.25 },
stars: 25,
clouds: { puffy: false, top: [0.1, 0.035, 0.09], bottom: [0.8, 0.3, 0.2], alpha: 0.55 },
ridge: [0.32, 0.12, 0.14],
forest: [0.07, 0.03, 0.04],
orb: { x: 0.2, y: 0.36, r: 0.07, core: [1.25, 0.32, 0.12], glow: [0.9, 0.22, 0.08], near: 0.3, wide: 0.3 },
stars: 0,
clouds: { puffy: false, top: [0.08, 0.06, 0.06], bottom: [0.36, 0.13, 0.08], alpha: 0.7 },
ridge: [0.2, 0.07, 0.05],
forest: [0.05, 0.025, 0.02],
ground: [
[0.24, 0.1, 0.08],
[0.08, 0.04, 0.03],
[0.22, 0.07, 0.04],
[0.07, 0.03, 0.02],
],
rock: [0.12, 0.05, 0.07],
rock: [0.1, 0.05, 0.045],
lava: [
[1.1, 0.12, 0.02],
[2, 0.55, 0.04],
],
glow: 0.25,
smoke: [[0.9, 0.28, 0.07], [0.16, 0.07, 0.1], 0.55],
water: [0.5, 0.2, 0.12],
ripple: [1, 0.45, 0.15],
tint: [0.22, 0.13, 0.1],
glow: 0.35,
smoke: [[0.8, 0.2, 0.06], [0.1, 0.07, 0.07], 0.65],
water: [0.42, 0.12, 0.06],
ripple: [1, 0.3, 0.1],
tint: [0.2, 0.1, 0.08],
},
night: {
style: "rim",
Expand Down Expand Up @@ -957,9 +958,9 @@ export const prehistoric: Wallpaper = {
[14, 28, 10],
],
sunset: [
[30, 14, 26],
[36, 16, 16],
[10, 6, 6],
[18, 14, 14],
[34, 12, 8],
[12, 6, 5],
],
night: [
[4, 6, 16],
Expand Down
Loading
Loading