Could these effects work in a browser on div's? #358
Replies: 1 comment 1 reply
-
Hi there! Thanks for getting in touch; I have played around with daedalOS before and it's an incredibly awesome project! Using the Burn-My-Windows effects is a cool idea and definitely possible. However, it's not going to be exactly easy, I guess. The rough steps would be:
A quick Google search brought up this one: https://codepen.io/ksenia-k/full/yLQLyZa I think this does most of the required things. Maybe you could start with a simple effect, such as the TV effect (https://github.com/Schneegans/Burn-My-Windows/blob/main/resources/shaders/tv.frag). If this works, all the other effects should work as well. Many require some additional uniform values for tweaking the effect and some require additional texture input but this shouldn't be a problem. The only issue is that Burn-My-Windows has to be released under the GPL3 license as it directly uses GNOME Shell code. However, if you manage to make this work, I would dual-license the shader code under the MIT license. You will only need the shader code, the other source files of the extension will not be of much help for you, I guess 😉 |
Beta Was this translation helpful? Give feedback.
-
These effects are amazing and I would love to apply them to my desktop environment in the browser. I see some web technologies are being used and I was wondering if there is any guidance on the idea/implementation of applying these effects on the DOM directly to elements such as
<div />
's. I'd be fine if I had to convert thediv
to acanvas
or something beforehand, but getting the effects into a browser is what I am less sure how to do atm.Thanks for any help/suggestions!
Beta Was this translation helpful? Give feedback.
All reactions