#demo #前端 #WebGL #Shader
reczko_konrad/1985296691331809574
酷到没边了!前端梦想的样子(x)
会弹弹弹的滑动条,利用 TypeGPU 0.8 打造的 Q 弹丝滑的 Jelly Slider!Shader 直接用 TS 编写。

在线体验 Jelly Slider Demo

Ever since I first saw this I wanted to try implementing it in TypeGPU, and I finally got around to it while testing the new 0.8 release.

You can try out the Jelly Slider here:
https://docs.swmansion.com/TypeGPU/examples/#example=rendering--jelly-slider

Had a lot of fun brainstorming optimisations with @iwoplaza and the team, and it should run well on most modern devices.

Built entirely with TypeGPU, no extra libraries, with all shaders written in TypeScript. The prototyping speed with features like console.log on the GPU and “bindless” resources made the process really smooth.
 
 
Back to Top