News for hackers. Stuff that matters.
Re:Demo of WebGL Lens Refraction by PaulHoule on Wednesday October 11, 2023 @11:38AM (#37845887)
Love it even though it killed the “swipe to go back” gesture on my iPad.
Re:Demo of WebGL Lens Refraction by cptcobalt on Wednesday October 11, 2023 @11:55AM (#37846128)
This is rad, ish. Slick with style I'd love to see more of.

> 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.

Re:Demo of WebGL Lens Refraction by lovegrenoble on Wednesday October 11, 2023 @12:00PM (#37846200)
Exactly, preventing from copy/past at least )
Re:Demo of WebGL Lens Refraction by phero_cnstrcts on Wednesday October 11, 2023 @01:18PM (#37847336)
Hmm.. did it not work for you? I could still copy even from iOS.
Re:Demo of WebGL Lens Refraction by tbaeder on Wednesday October 11, 2023 @11:59AM (#37846186)
No idea what or why I would ever use this in an actual website, but I love the visuals.

> Please use WebGL responsibly™.

Yes. :)

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 Alifatisk on Wednesday October 11, 2023 @12:04PM (#37846255)
The bubble following the cursor freezes when scrolling.
Re:Demo of WebGL Lens Refraction by lelandfe on Wednesday October 11, 2023 @01:57PM (#37847925)
An unusually bad Tympanus experience here.

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.

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