Initial commit: business card raytracer with explanation

Preserves Andrew Kensler's original card.cc verbatim and adds:
- CMakeLists.txt building both the original and a de-obfuscated
  variant (card_explained.cc) that produces a visually identical render
- A heavily annotated rewrite explaining the vector ops, ray-sphere
  intersection, soft shadows, depth of field, and reflection recursion
- Rendered sample output (docs/aek.png) embedded in the README
- CLAUDE.md establishing the "never modify card.cc" rule for future work
This commit is contained in:
Ole-Morten Duesund 2026-05-28 13:47:50 +02:00
commit f8b7ff475c
7 changed files with 451 additions and 0 deletions

BIN
docs/aek.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 221 KiB