The best graphics libraries, according to hackers
14 graphics libraries recommended in Hacker News comments over the past year, ranked by how many separate people recommend each one.
All graphics libraries
- Three.jsFree JavaScript library for building 3D scenes in the browser, praised for its documentation, examples and fast iteration. Caveat: its size, overhead and performance costs bother some on heavier projects.49recommend
- wgpuCross-platform Rust graphics library implementing the WebGPU API, valued for portable rendering. Main caveat: it's a lowest common denominator that can lag behind native DX or Vulkan.27recommend
- SkiaA robust, fast graphics library people build on for drawing text and vector shapes. Critics point to CPU-based path and font rendering.14recommend
- LVGLRecommended as a polished, practical GUI framework for embedded screens such as ESP32, with good tooling and direct framebuffer output. Some find it clunky and its fixed font a drawback.10recommend
- Dawn WebGPUGoogle's open-source WebGPU implementation, widely used in native projects, with good error messages and native GPU debugging tools. Many tuning knobs are poorly documented.9recommend
- VelloRecommended for GPU vector graphics, valued for its project split and as a knowledge source. Main caveat: not yet production-ready and WebGPU only.9recommend
- phoria2Developers recommend this free WebGL 2 library for fast 3D rendering, with demos reported running smoothly even on phones.9recommend
- PixiJSFree, fast WebGL 2D rendering library that people choose for texture-heavy graphics and browser rendering pipelines.8recommend
- canvas_ityA tiny single-header C/C++ library for lightweight canvas-style 2D drawing on images, praised for easy integration. Its most common caveat is that it is best used only with trusted inputs.7recommend
- CairoFree C library people recommend for saving development time on 2D drawing and geometry work. No widely agreed caveat appears in the quotes.5recommend
- React Three FiberDevelopers recommend React Three Fiber, a React renderer for Three.js, for saving time on interactive 3D visuals. The most common caveat is that it needs careful setup and has edge cases.5recommend
- ThorVGOpen-source MIT vector engine with WebGPU and OpenGL back ends, praised for speed and smooth animation. Critics say it trails Blend2D and Vello on performance.5recommend
- Blend2DFast CPU-only 2D vector rendering library that people say beats rivals in some tests. Critics note it is still experimental and JIT can break compatibility.5recommend
- ASCII 3D Rendering EngineFree ASCII 3D renderer that people plan to use on websites and pixel-art games. Critics note one CPU core pegged at 100% on the landing page.5recommend