Hello world*
It’s me, Leigh 👋
This is easily about the 7th 8th 9th 10th personal website I’ve built. I’m pretty good at starting them, but awful at maintaining them. I think the trick this time is not to commit to crazy schedules like “Posting more than once a decade”…
Let’s see how this goes. Here’s my latest contribution:
HexClock 2.0
Another clock experiment, this time a direct successor to my original Hexclock from 10+ years ago. I wanted to update it a little, to use multiple gradients and improve the way that they were calculated. As with the TV ident clock I’m not using any libraries, frameworks or stuff like that, with the aim of keeping my JS & CSS up to date.
In my original, I’d done a fairly crude calculation converting HH:MM:SS to pairs of hex values, then used CSS transitions to smooth out the bumps. The problem was that when the value ticked over, you got an ugly jump from one colour range to another.
…Read more