🌈️ apply a wallpaper based on the weather outside
0

Configure Feed

Select the types of activity you want to include in your feed.

fix: don't scale values to 100

because we're not doing floating point arithmetic anymore

Angel Wang (Jun 21, 2026, 12:50 PM -0600) 3eb93155 eb68ae21

+4 -4
+2 -2
analyze/analysis.ts
··· 68 68 console.log( 69 69 `Got oklch(${dominantColour}) as dominant colour of ${image.name}!`, 70 70 ) 71 - const lightness = Number(dominantColour[0]) * 100 72 - const chroma = Number(dominantColour[1]) * 100 71 + const lightness = Number(dominantColour[0]) 72 + const chroma = Number(dominantColour[1]) 73 73 const hue = Number(dominantColour[2]) 74 74 75 75 analysisOutput.files.push({ path: path, oklch: [hue, chroma, lightness] })
+2 -2
apply/application.ts
··· 16 16 weatherModel: "best_match", 17 17 lightnessRange: { 18 18 start: 0, 19 - end: 100, 19 + end: 1, 20 20 }, 21 21 chromaRange: { 22 22 start: 0, 23 - end: 100, 23 + end: 1, 24 24 }, 25 25 hueRange: { 26 26 start: 0,