finds.dev

ssloy/tinykaboom

A brief computer graphics / rendering course

View on GitHubHomepage ↗

★ 2,430C++updated Feb 2023

// the take

A 180-line single-file C++ raytracer that renders a lava-ball/explosion effect using signed distance fields and raymarching. It's a teaching aid for Dmitry Sokolov's computer graphics course, meant to be read start-to-finish rather than used as a library, aimed at students or self-taught devs who want to understand the math behind raymarching without any engine or library in the way.

Zero third-party dependencies - geometry.h and one .cpp file, so you can read the entire raytracing pipeline (ray-sphere intersection via SDF, Phong shading, noise-based surface distortion) in one sitting. Gitpod config means you can fork, tweak the SDF function, and see a new render with zero local setup. It's part of a coherent three-part series (tinyraytracer for raytracing, this for raymarching/SDFs, tinyrenderer for rasterization), so the progression of concepts is deliberate rather than a one-off gist.

Dead since February 2023 with no CI, no tests, and a single contributor - any bug you hit, you're debugging alone. It's explicitly not physically-based and not performance-minded (naive per-pixel raymarching, no BVH, no multithreading), so there's no path from this to anything real-world; it's a dead end once you've learned the concept. Documentation is just a README pointing at a wiki article and two unexplained homework screenshots - there's no walkthrough of the noise function or the distance estimator in the code itself, so you're reverse-engineering someone else's teaching notes.

We read the README, the directory tree and a key source file in October 2026. Nobody pays to be listed. How we judge →

// at a glance

Stars
2,430
Forks
109
Language
C++
Last commit
22 Feb 2023

// nearby

If tinykaboom isn't quite it.

All repos →