Skip to content
Michael Malura
570 GitHub stars 5810 npm downloads 53 Projects

#graphics

Posts

Vorschau der Demo: Raytracing
28.08.2026 Raytracing

One ray per pixel, three balls on a checkerboard, shadows and reflections you can switch on and off. With a ray counter so you can see what each feature costs.

Vorschau der Demo: Bild laden und rendern

From a PNG file to a pixel on screen: chunks and CRC, an SDL_Surface with pixel format and pitch, a texture with nearest or linear scaling, and a CPU loop that…