GitHub - sockmaster27/svader: Create GPU-rendered Svelte components
Svader
Create GPU-rendered Svelte components with WebGL and WebGPU fragment shaders.
Supports Svelte 4 and Svelte 5.
What is a fragment shader?
In short, a fragment shader can be written as a program that takes the coordinates of a pixel on the screen and returns the color that this pixel should have.
This program can be executed on the GPU, ensuring massive parallelism and speed.
To learn more about how to write fragment shaders, check out The Book of Shaders.
The following is a collection of e...
Read more at github.com