by vg_head on 4/10/24, 12:48 PM with 18 comments
by raphlinus on 4/11/24, 3:12 AM
I say "was" as the new version in Vello is much more sophisticated, and handles both flattening and stroke expansion, all on the GPU. A paper is in the works, and I'll post it to HN when it's ready.
[1]: https://docs.rs/kurbo/latest/kurbo/struct.BezPath.html#metho...
by fch42 on 4/11/24, 3:43 PM
"in the old days", books on computer graphics used to be full on "rasterization" techniques - how to convert high-level shapes, whether lines, polygons, circles/ellipses or other curves to pixels, minimising errors while maximising speed.
Much of that has gone out in favour of "engines" - how to program shaders to do transforms of all sorts.
While the latter is a big part of what "makes cool graphics cool", it also leaves a gap ... that "immediacy" between the image/shape and the discrete representation in memory is gone.
Nice to see you're still happy to lift the curtain on it!
by ramijames on 4/10/24, 4:56 PM