7 comments

[ 2.7 ms ] story [ 24.6 ms ] thread
This is the most "why is this on the front page of HN?" post I've ever seen.
I really don't understand the timestamps on HN. I made this post days ago, not hours ago. I understand it was reposted but it's disingenuous to lie about the timestamp.

What the fuck, dang?

Some AI slop to let you pick any color and brightness: https://codepen.io/zamadatix/pen/VYerweP. Note: it does not attempt to clamp anything, so if you extend brightness beyond what makes sense in the color space or your display can't actually represent that color the color may shift. If things just appear white try lowering the brightness (and checking it's actually running in HDR at the bottom).

If you have an HDR monitor + the latest Chrom* based browser this should work out of the box on macOS/Windows. Other platforms/browsers you'll have to check the WebGPU + HDR standards support (which will be different for <canvas> than <video>) and may need to twiddle flags and/or wait for future releases.

It should tell you the active color space and range info at the bottom.

Mobile Safari doesn’t have WebGPU… which I appreciate.

But it also supports HDR with just about every image format. All you need is a properly crafted PNG.

On my phone, all i see is empty white image. Is that supposed to be a joke or is my device/browser not supporting HDR?
They don’t seem to do it anymore, but for a while the title on Disneyland.com would kinda sparkle in HDR when you loaded it on the right hardware/sodtware (safari on MacBook Pro for example). Was actually pretty subtle and animated out so it was more of a “wait, did I just see that?” sort of thing.