diff --git a/README.md b/README.md index c538a22..bd512c8 100644 --- a/README.md +++ b/README.md @@ -2,9 +2,21 @@ A study of [Andrew Kensler's "business card raytracer"][aek] — a complete recursive path-tracer with soft shadows, depth of field, anti-aliasing, -reflections, a checker floor, and a sky gradient, all crammed into ~1337 -characters of obfuscated C++ small enough to print on the back of a -business card. +reflections, a checker floor, and a sky gradient, all crammed into a +single C++ source file small enough to print on the back of a business +card. + +> **`card.cc` is exactly 1337 bytes.** Yes, **leet**. Verify it yourself: +> +> ```sh +> $ wc -c card.cc +> 1337 card.cc +> ``` +> +> That is not a happy accident — Kensler golfed the source until it hit +> the magic number. Every typedef (`i` for `int`, `f` for `float`), +> every operator-overload trick on `struct v`, and every absent space +> exists to land on **1337**. The original code is preserved verbatim as [`card.cc`](card.cc). A de-obfuscated, heavily-annotated rewrite lives in