From a18f68badb933dbd62715225ec946a7e658dc631 Mon Sep 17 00:00:00 2001 From: Ole-Morten Duesund Date: Thu, 28 May 2026 13:52:13 +0200 Subject: [PATCH] README: lead with the 1337-byte 'leet' fact MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The exact byte count is the whole punchline — surface it explicitly with a verifiable wc -c invocation rather than hiding it as '~1337 characters' in a subordinate clause. --- README.md | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) 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