This. G-code is more like Logo than PostScript. Something based on meshes and computational-computed surfaces (e.g. bezier curves) would work better. In fact, we could get most of the way there with OpenGL/DirectX at a low-level (meshes to specify a few vertex positions, hull shaders to to extrapolate additional vertices based on whatever algorithm you want).