Immediately after switching the page, it will work with CSR.
Please reload your browser to see how it works.

Source:https://github.com/SoraKumo001/next-streaming

⬅️ A flowing WebGL gradient, deconstructed
mwkaufma 4 daysReload
>> The mix function is an interpolation function that linearly interpolates between the two input colors using a blend factor between and ( in our case).

>> A mix function for two colors works the same way, except we mix the color components. To mix two RGB colors, for example, we’d mix the red, green, and blue channels.

Colorspace alert! mix != lerp in sRGB


sly010 4 daysReload
Very cool, but by css-rotating (skewY(-6deg)) the canvas at the last moment, you introduced aliasing on the border between the canvas and the rest of the page which kills the vibe. The browser can't automatically blend the canvas with the rest of the page. It's noticeable even on a brand new retina display. Maybe you could keep your canvas square and introduce the skew in the shader.

herpdyderp 4 daysReload
The linked source code [0] doesn't seem to have any license attached to it. So how could I actually use this? Is it published as a package somewhere, like npm?

0. https://github.com/alexharri/website/blob/eb9551dd7312685704...


grishka 4 daysReload
This effect kinda reminds me of the PSP menu background

mrmagoo17 4 daysReload
We need more articles as polished as this one. WebGL is a topic I wanted to get into for a while now but it's really difficult to find good content about it. Please keep sharing more experiments!