web graphics - 6/24/26
First post here, hopefully going to keep myself more committed to making progress regularly. I've spent a couple days messing with WebGL2 to make this site's background a little more interesting. I've spent some time learning the basics of OpenGL before. A lot carried over, since they're based on the same foundations.
The current implementation is super basic, I'm just serving /static/graphics.js in a canvas html element. All it does is generate randomly sized boxes of different colors for the background.
My conclusion? I don't know how Carmack did it back then. Even with the abstraction of WebGL it takes a lot to get anything on the screen. Right now it's just a bunch of colored boxes, but I'm going to continue to do more work making things a little more interesting.
Even with the headache this stuff is really interesting, it's cool to get more experience with low-level libraries like this.
more to come.