Canvas_ity: A tiny, single-header <canvas>-like 2D rasterizer for C++

42 points - today at 6:50 PM

Source

Comments

nicoburns today at 7:41 PM
The list of "recommended reading" from one of the issues looks great:

https://github.com/a-e-k/canvas_ity/issues/11#issuecomment-2...

msephton today at 9:10 PM
The project is great. The HN comments are embarrassing. Isn’t it ironic to imply laziness by chiming in with “vibe coded” which in itself is such a lazy reaction.
ddtaylor today at 9:22 PM
Thank you for sharing. The only thing I don't understand why this is a header only implementation with a macro that goes in a C++ file.

    #define CANVAS_ITY_IMPLEMENTATION
Lerc today at 8:12 PM
It would be interesting to compile to WASM to compare side by side for performance and accuracy.
ranger_danger today at 7:38 PM
vibe-coded?