Hacker News
Canvas_ity: A tiny, single-header <canvas>-like 2D rasterizer for C++
35 points by PaulHoule
ago
|
14 comments
nicoburns
|next
[-]
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
|next
|previous
[-]
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
|next
|previous
[-]
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
|next
|previous
[-]
It would be interesting to compile to WASM to compare side by side for performance and accuracy.
ranger_danger
|previous
[-]
vibe-coded?
nicoburns
|root
|parent
|next
[-]
Most likely not seeing as the commit containing the bulk of the implementation dropped in 2022.