Get the latest tech news

Rasterizer: A GPU-accelerated 2D vector graphics engine in ~4k LOC


A GPU accelerated 2D vector graphics engine. Contribute to mindbrix/Rasterizer development by creating an account on GitHub.

Inspired by my love of Adobe Flash, I started to work on a GPU-accelerated 2D vector graphics engine for the original iPhone, and then the Mac. The 10-year gestation was the result of endlessly iterating over the core problem of efficiently turning vector paths into reference-quality anti-aliased pixels -- plus a touch of burnout after settling on the best solutions, some of which may extend the state of the art. Small screen space fills (e.g. glyphs) are optimal, as raw Path geometry can be memcpy ed into GPU memory.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of GPU

GPU

Photo of LOC

LOC

Photo of ~4k LOC

~4k LOC

Related news:

News photo

Nvidia Dominates GPU Shipments With 94% Share

News photo

NVIDIA Posts Initial Linux Patches For Extended GPU Memory "EGM" Virtualization

News photo

US delays GPU tariffs for another 3 months, court rules most Trump tariffs illegal