All studio tools

Software rendering

Image Rasterizer

Turn triangles into pixels and inspect the depth, coverage, and texture calculations behind the image.

JavaScript · Canvas 2D · Web Workers

View source on GitHub

Opening Image Rasterizer workspace…

Examples

1,282 triangles, interpolated surface normals, and depth testing. Canvas 2D displays the computed pixels.
Perspective-correct texture mapping. Toggle it in the tool to see how affine interpolation distorts the checker.

Source and documentation

The repository includes the implementation, reproducible examples, and tests.

Explore Image Rasterizer on GitHub