mirror of
https://github.com/by-jp/www.byjp.me.git
synced 2025-08-09 01:35:56 +01:00
Equal luminescence hues
This commit is contained in:
parent
2490c4f4c8
commit
d227f5e697
2 changed files with 3 additions and 3 deletions
|
@ -60,7 +60,7 @@ This way of writing time, proposed by the [Swatch](https://en.wikipedia.org/wiki
|
|||
|
||||
Right now it is @395, [.beat time](https://en.wikipedia.org/wiki/Swatch_Internet_Time).
|
||||
|
||||
Simply enough, there are 1,000 ".beats" in a day, written as a three digit whole number preceded by an `@` symbol. @0 occurrs at midnight in the UTC+1 timezone, which is the same timezone used by Swatch's headquarters in Biel, Switzerland uses (when it's not in daylight saving's time).
|
||||
Simply enough, there are 1,000 ".beats" in a day, written as a three digit whole number preceded by an `@` symbol. @0 occurrs at midnight in the UTC+1 timezone, which is the same timezone used by Swatch's headquarters in Biel, Switzerland (when it's not in daylight saving's time).
|
||||
|
||||
Though it's not my favourite of these uncommon date/time-writing methods, I find it fascinating that it effectively used French revolutionary decimal time, and expressed a belief of what the internet would become that's so much more futuristic than the almost invisible mundanity it is today, 25 years later.
|
||||
|
||||
|
@ -68,4 +68,4 @@ Though it's not my favourite of these uncommon date/time-writing methods, I find
|
|||
|
||||
---
|
||||
|
||||
That's enough weird ways of writing time for now. One of these days I'll figure out how to bend the software I use to build this blog to my will, and have it (optionally 😅) display the dates and times with these weird writing systems!
|
||||
That's enough weird ways of writing time for now. One of these days I'll figure out how to bend the software I use to build this blog to my will, and have it (optionally 😅) display the dates and times with these uncommon writing systems!
|
||||
|
|
|
@ -54,7 +54,7 @@ function updateAccentColor() {
|
|||
const now = new Date()
|
||||
let start = new Date(now)
|
||||
const hue = (now - start.setHours(0,0,0,0)) / 240000
|
||||
document.documentElement.style.setProperty('--accent', `hsl(${hue}, 100%, 60%)`);
|
||||
document.documentElement.style.setProperty('--accent', `lch(60% 180 ${hue})`);
|
||||
}
|
||||
setInterval(updateAccentColor, 15000)
|
||||
updateAccentColor()
|
||||
|
|
Loading…
Reference in a new issue