Show HN: TypeScript software rasterizer with programmable shaders

vlad_angelov1 pts0 comments

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.This project is based on Nikolaus Rauch s excellent C++ software rasterizer (https://github.com/nikolausrauch/software-rasterizer) but adapted for the browser platform.The project intended as an educational project, with an emphasis on readability and experimentation over maximum performance.GitHub: https://github.com/vangelov/ts-rasterizer

rasterizer software github https project typescript

Related Articles