Svader is a library for rendering 2D shaders on Svelte websites, using either WebGL or WebGPU.
It's streamlined for the specific use case of rendering 2D graphics using fragment shaders as an alternative to SVG or the JS canvas API, so it's not meant for doing 3D objects like three.js, for example.
This started as something I needed for my own project, but I eventually decided to split it into a separate library. I've since found that this use case fits really well into the Svelte compiler-based approach and its fine-grained reactivity system.
In general, I think using shaders like these has some really positive upsides compared to traditional ways of doing graphics on the web — not just for games and stuff, but also for something like data visualizations and aesthetic details. My dream is that one day, you'll see web developers using small, isolated shader components ubiquitously across web applications, just as naturally as something like SVGs are used today.
Comments URL: https://news.ycombinator.com/item?id=42416230
Points: 26
# Comments: 1
Accedi per aggiungere un commento
Altri post in questo gruppo
Share your information if you are looking for work. Please use this format:
Location:
Remote:
Willing to relocate:
Technologies:
Résumé/CV:
Email:
Please onl
Article URL: https://www.josh.ing/hn-slop
Comments URL: https://news.ycombinator.com/item?

I keep running in the same problem of each AI app “remembers” me in its own silo. ChatGPT knows my project details, Cursor forgets them, Claude starts from zero… so I end up re-explaining myself d
Hi HN — we're the team behind Arch (https://github.com/katanemo/archgw), an open-source proxy for LLMs written in Rust. Today we're releasing Arch-
I just launched JS1024 — a creative coding challenge with a strict limit: 1024 bytes of JavaScript.
No libraries. No frameworks. Just raw code.
You can submit visual effects, generative art, t
Article URL: https://blog.greg.technology/2025/06/30/fastly.html

Article URL: https://www.figma.com/blog/s1-public/
Comments URL: https://news.yco