top | item 36385680

(no title)

erur | 2 years ago

Sorry for self replying but I just had a look at the repo and it's definitely worth fully automating this. A js/python snippet converting pngs to superwhite video frames should be fairly easy to implement.

discuss

order

mlyle|2 years ago

> A js/python snippet converting pngs to superwhite video frames should be fairly easy to implement.

??? It's just an all-white video, with an overlay of black QR code applied by CSS. It's already "fully automated."

Both (the video and the overlay) are small enough to be base64'd right into the HTML.

aardvark179|2 years ago

You also only really need the video to push the browser to do things in HDR. You can’t express a CSS colour way outside the normal range, but blending calculations are not clamped so can be used to get the colour. https://github.com/kiding/wanna-see-a-whiter-white was posted here a while ago and demonstrated the technique.

ihuman|2 years ago

I'm not sure why you're being downvoted when that's exactly what's happening. The QR code comes from the mask-image in the inline-style, not the video.