mczachurski / wallpapper

:computer: Console application for creating dynamic wallpapers for macOS Mojave and newer
MIT License
3.32k stars 137 forks source link

JSON values of Mojave's original wallpaper? #31

Closed JohnWickham closed 5 years ago

JohnWickham commented 5 years ago

Does anyone happen to know what values I could use that would match the default Mojave dynamic wallpaper?

sbliven commented 5 years ago

Here you go. I took the plist from @mczachurski's first post and converted it to JSON

[{
    "altitude": -0.342752838754,
    "fileName": "0.png",
    "isForLight": true,
    "isForDark": false,
    "azimuth": 270.933405783
}, {
    "altitude": -10.2397586447,
    "fileName": "1.png",
    "isForLight": true,
    "isForDark": false,
    "azimuth": 81.7758871448
}, {
    "altitude": -4.24773440808,
    "fileName": "2.png",
    "isForLight": true,
    "isForDark": false,
    "azimuth": 86.3354503048
}, {
    "altitude": 1.3890866331,
    "fileName": "3.png",
    "isForLight": true,
    "isForDark": false,
    "azimuth": 90.812670375
}, {
    "altitude": 7.16716897053,
    "fileName": "4.png",
    "isForLight": true,
    "isForDark": false,
    "azimuth": 95.3074095888
}, {
    "altitude": 13.0861941916,
    "fileName": "5.png",
    "isForLight": true,
    "isForDark": false,
    "azimuth": 99.9206296327
}, {
    "altitude": 40.4156394649,
    "fileName": "6.png",
    "isForLight": true,
    "isForDark": false,
    "azimuth": 129.186522082
}, {
    "altitude": 53.4334726617,
    "fileName": "7.png",
    "isForLight": true,
    "isForDark": false,
    "azimuth": 182.233094255
}, {
    "altitude": 38.7931282006,
    "fileName": "8.png",
    "isForLight": true,
    "isForDark": false,
    "azimuth": 233.551591958
}, {
    "altitude": 11.0894231713,
    "fileName": "9.png",
    "isForLight": true,
    "isForDark": false,
    "azimuth": 261.871590466
}, {
    "altitude": 5.18457532367,
    "fileName": "10.png",
    "isForLight": true,
    "isForDark": false,
    "azimuth": 266.443273707
}, {
    "altitude": -6.24830937412,
    "fileName": "11.png",
    "isForLight": true,
    "isForDark": false,
    "azimuth": 275.442045367
}, {
    "altitude": -12.2077073521,
    "fileName": "12.png",
    "isForLight": true,
    "isForDark": false,
    "azimuth": 280.070315894
}, {
    "altitude": -39.4893395199,
    "fileName": "13.png",
    "isForLight": true,
    "isForDark": true,
    "azimuth": 309.418573187
}, {
    "altitude": -52.7531813788,
    "fileName": "14.png",
    "isForLight": true,
    "isForDark": true,
    "azimuth": 2.17509655387
}, {
    "altitude": -38.0474338868,
    "fileName": "15.png",
    "isForLight": true,
    "isForDark": true,
    "azimuth": 53.5090858125
}]

Here's a quick plot of the image azimuth vs elevation. Note that the first image is actually taken at sunset, after which it jumps to early morning and proceeds through the day. image

JohnWickham commented 5 years ago

Thanks @sbliven, I missed that plist in the article. Much appreciated!