Re:Demo of WebGL Lens Refraction
by nomel on Wednesday October 11, 2023 @01:50PM
(#37847829)
> However, the Lens refraction requires all images and text to be WebGL
At what point do companies skip DOM, and just draw to canvas? I'm fairly surprised they haven't, at this point, since it could allow things like unblock ads.
Re:Demo of WebGL Lens Refraction
by JoeyBananas on Wednesday October 11, 2023 @05:46PM
(#37850656)
I'm a major detractor of the React school of webdev. I don't normally like parallax scrolling or that type of thing. However, I admit this is kind of cool and it these sorts of techniques have potential
> Most websites use a mix of WebGL and HTML.
"Most"? Bold claim. I don't think so.
> However, the Lens refraction requires all images and text to be WebGL.
This breaks a bunch of conventions. I wonder how this breaks accessibility. At the very least, it broke clean copy and pasting.
> Please use WebGL responsibly™.
Yes. :)
At what point do companies skip DOM, and just draw to canvas? I'm fairly surprised they haven't, at this point, since it could allow things like unblock ads.
This on iOS Safari is blocking the ability to navigate by swiping, has poor and inconsistent FPS, and makes scrolling crazy.
It does look pretty, though.