Phew, I made an example of a multi-pass bloom effect to showcase the API for creating effect passes and update their uniforms.
You can play with it in the interactive example in the link below (without types and autocompletion unfortunately)
#buildInPublic #WebGL
1
3
274
TIL: there is an equivalent of `requestAnimationFrame` for videos : `requestVideoFrameCallback`, called for each video frame.
Could be useful to... automatically re-render a WebGL shader when a video texture is played \o/
171
It looks like it's #PortfolioDay !
I'm a front-end engineer currently focusing on making polished UIs and animations with #WebGL.
I'm building a lightweight, reactive WebGL library for working with shaders : usegl.vercel.app (WIP, #buildInPublic)
See you π
The migration to VitePress is complete !
I hope you will like it as much as I do π
usegl.vercel.app/
(yeah it's missing a preview image)
#buildInPublic #webGL
1
3
155
I used a vitepress plugin for the sandpack editor, and the code is much simpler than before
vitepress-sandbox.js-bridge.β¦
106
I really like Astro, but for documentation I prefer the UI and UX of VitePress over Starlight π€ Also the lack of top navigation bothers me.
I will try to migrate the documentation of useGL π€
120
The documentation is live !
Well, a first draft... only examples for now. I will continue to add features and break a few things before writing the documentation.
Any feedback on these first examples would be very appreciated π
usegl.vercel.app
#WebGL #buildInPublic
I'm playing with particles for an example with useGL. It's crazy that the code fits in my screen ! (useGL helps with that)
4
167
I spent way too much time making sure that the playground for the examples looks good on all screen sizes. Yes, even the absolute evil landscape phones β οΈ
#buildInPublic
1
281
Learning web APIs is a never-ending journey !
A thread about binary data, JavaScript ArrayBuffer, typed arrays and parallel algorithms on web workers:
1
2
86
I learned the existence of anisotropic texture filtering, that reduces the blurriness of the textures caused by mipmaps.
I will make sure to integrate that feature in useGL π
3
116
What the... π€―
Replying to @pushmatrix
By using an InstancedMesh, each firework can be placed at a separate location. A color instanced attribute is used to allow for unique colors, and a startTime attribute determines when each instance goes off.
All of these fireworks together are a single draw call π€―
2
133
Request for Comments ! π£
The main "hook" of my upcoming lib, useGL, was originally called "useWebGLCanvas". You give it your canvas, shaders, uniforms etc.
Now I think "Web" is unnecessary. But I don't like "useGLCanvas". Maybe... "useGL", like the lib ? π€―
What y'all think ?
1
116
In case this platform eventually collapses, you can find me where the tech community seems to be heading :
π¦ bsky.app/profile/jsulpis.bskβ¦
1
75
Sooo I bought 5 courses about creative coding on @awwwards π
They add to a 26h long chapter about shaders on #threejsJourney that I have to catch up, @iced_coffee_dev's 2 courses, and 2 Humble bundles with Blender courses..
I think I'm good with learning material until 2026 π
1
2
124
My little #WebGL lib has a name ! π
Let me introduce my first npm package, useGL β¨
A lightweight, framework agnostic, DX oriented set of hooks that is meant to be the easiest way to write shaders on the web.
Still in very early stage, stay tuned for updates !











