Hacker News

35

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

The list of "recommended reading" from one of the issues looks great:

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

by nicoburns1771702911
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.
by msephton1771708244
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
by ddtaylor1771708926
It would be interesting to compile to WASM to compare side by side for performance and accuracy.
by Lerc1771704742
vibe-coded?
by ranger_danger1771702720