Repository

vangelov/ts-rasterizer

ts-rasterizer

A TypeScript software rasterizer with programmable shaders

5stars

Open github.com

vangelov/ts-rasterizer

ts-rasterizer

A TypeScript software rasterizer featuring programmable vertex and fragment shaders and custom vertex layouts for browser-based rendering.

Visit project

Show me a random project

First shared
Jul 25, 2026
HN activity
20

Show HN@vlad_angelovJul 25, 2026

Show HN: TypeScript software rasterizer with programmable shaders

Hi HN, I've been building a software rasterizer in TypeScript over the past few months and thought I'd share it. My goal was to support custom vertex layouts, programmable vertex and fragment shaders, and enough flexibility to implement more complex rendering techniques, much like you would with a GPU graphics API. The renderer is based on Nikolaus Rauch's excellent C++ software rasterizer ( https://github.com/nikolausrauch/software-rasterizer ), adapted for TypeScript and the browser. The project is intended as an educational resource, with an emphasis on readability and experimentation over maximum performance. GitHub: https://github.com/vangelov/ts-rasterizer

Community

Hacker News discussion

Loading the thread…