regl: Rendering a Texture

1 · Guilherme Simoes · Oct. 5, 2020, 10:51 p.m.
I’m pretty new to vector graphics. I tried playing with WebGL for a bit but… WebGL is hard, man. This post explains it better than I can. Luckily, searching for npm packages tagged with “WebGL” yielded a very interesting library: regl. regl abstracts WebGL with a simple, intuitive API, somewhat inspired by React. Right up my alley. This post is not an attempt to explain how OpenGL or shaders work. There are far better options out there. I’m merely documenting my own progress. In this post I’ll d...