Hacker GitHub

← All repos

a-e-k/canvas_ity

View on GitHub ↗ ★ 625 C++

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

11 mentions on Hacker News by 4 people: 3 stories, 8 comments · first 2022-10-10 · latest 2026-02-22

Mentions per year 11 mentions · busiest year 2023 (3)
20082026
  1. Author here. I have a JavaScript port of my automated test suite ( https://github.com/a-e-k/canvas_ity/blob/main/test/test.html ) that I used to compare my library against browser <canvas> implementations. I was surprised by all of the…
  2. The list of "recommended reading" from one of the issues looks great: https://github.com/a-e-k/canvas_ity/issues/11#issuecomment-2...
  3. ▲ 123
    Canvas_ity: A tiny, single-header <canvas>-like 2D rasterizer for C++
    story by PaulHoule · 2026-02-21 · 50 comments
  4. …someone could easily create an extension script to do it. [0] https://jsfiddle.net/y7m16wa0/ [1] https://github.com/a-e-k/canvas_ity/blob/main/test/test.cpp#... , https://github.com/a-e-k/canvas_ity/blob/main/test/test.html...
    comment by a_e_k · 2024-07-06 · in GPU-Friendly Stroke Expansion
  5. …the author of another CPU-only 2D vector graphics library that might be of interest: - Canvas Ity ( https://github.com/a-e-k/canvas_ity ) It's a tiny single-header C++ library in the style of the STB libraries. My aim was to make it dirt…
  6. …in different browsers to see how their canvas implementations render those fonts. [0] https://github.com/a-e-k/canvas_ity [1] https://www.w3.org/TR/2015/REC-2dcontext-20151119/ [2] https://standards.iso.org/ittf/PubliclyAvailableStandards/c…
    comment by a_e_k · 2024-01-02 · in Writing a TrueType font renderer
  7. …of the rendering pipeline's dataflow and the top-level functions responsible for each stage: https://github.com/a-e-k/canvas_ity/blob/f32fbb37e2fe7c0fcae...
    comment by a_e_k · 2023-02-28 · in The Lone Developer Problem
  8. https://github.com/a-e-k/canvas_ity A tiny, single-header <canvas>-like 2D rasterizer for C++ More detail -- This is an STB-style single-header C++ library with no dependencies beyond the standard C++ library. In about 2300 lines of…
  9. …an uncompressed PNG writer for RGBA8 images in a single function. It's just over 90 lines of C++: https://github.com/a-e-k/canvas_ity/blob/f32fbb37e2fe7c0fcae...
    comment by a_e_k · 2023-01-19 · in Hello, PNG
  10. ▲ 3
    A tiny, single-header -like 2D rasterizer for C++
    story by makapuf · 2022-10-10 · 0 comments
  11. ▲ 8
    Show HN: canvas_ity - A tiny, single-header canvas-like 2D rasterizer for C++
    story by a_e_k · 2022-10-10 · 2 comments