Ju1-js / 25th-hour-dynamic

A dynamic port of The 25th Hour by Louis Coyle
https://ju1-js.github.io/25th-hour-dynamic/
MIT License
9 stars 1 forks source link

Sync with sunrise and sunset #1

Closed 42Willow closed 1 year ago

42Willow commented 1 year ago

It would be great if there was an option to sync the animation with the local sunrise and sunset.

Ju1-js commented 1 year ago

I will attempt this, although it’s currently a 12 hour day/night so I’ll have to mess around with some things.

Ju1-js commented 1 year ago

There doesn't doesn't seem to be a good way to speed up/slow down sections of a CSS animation dynamically, you could always use the offset to make it closer.

Reopen the issue if you have any feasible suggestions.