Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
sokmastr
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
3 ms
·
1.
▲
by
sokmastr
2y ago
If the animation engine is capable of smoothly changing a value in JS, I think it would already integrate very well with Svader. The way the reactive rerendering works, is that every time a change in the input parameters is detected it queu
2.
▲
by
sokmastr
2y ago
Yeah, I've been made aware that the examples don't work on iOS. I'm guessing there's a single underlying error that's messing with the navigation etc. since I believe SvelteKit does some JS-based optimizations arou
3.
▲
by
sokmastr
2y ago
That's weird since this very much is a completely plain <ul>. What OS and browser are you using? Which example is slow?
4.
▲
by
sokmastr
2y ago
I haven't thought about it, but I'm open to the idea. What kind of animation engines do you have in mind? Yes, the absence of 3D is very much a choice. I believe this need is already covered pretty well by existing libraries like
5.
▲
by
sokmastr
2y ago
Talking about the slider specifically, I'm of course not advocating for going out and rewriting all sliders using shaders. This is just an example of a place where you can use a shader to create a cool, interactive visual effect. On th
6.
▲
by
sokmastr
2y ago
Really cool idea with doing it as a web component. There's also Pocket Shader which is pure JS: https://github.com/braebo/pocket-shader
7.
▲
by
sokmastr
2y ago
Strange. I'll have to look into this. Thanks for letting me know!
8.
▲
by
sokmastr
2y ago
Even the the example at svader.vercel.app/hello-world/webgl/? Testing on the Safari browsers is currently a TODO, and the library is in general still experimental when it comes to wider browser support, but I would have expec
9.
▲
Show HN: Svader – Create GPU-rendered Svelte components
(github.com)
189 points
by
sokmastr
2y ago
|
41 comments