Anaglyph Sketching 2026-04-23
Well, I hope that all was the most stress I'll have this week. Anyway, I was able to work through a bunch of stuff for the wireframe generation code. It's at the point where it can convert a cuboid in the funky input coordinates into a description of a set of line segments in SVG coordinates, although now that I've done this, I find myself wondering if the first-ish implementation I tossed together is the right one. The current code iterates over every segment needed to render a cuboid, and has, but does not use, code to offset the camera. Now that I'm pondering this code in a context that's similar to writing it up, I'm feeling like it'd make sense to have a "scene" object that handles focal distance and offset, and give most of these objects "draw" methods that translate their 3D coordinate data into SVG primitives.
I'll see whether I like that idea tomorrow, but for now, I need to wind down and get to bed.
Good night.