I love ray tracing. A small amount of code generates magical looking images. More advanced methods have a really pleasing mix of geometry, probability, data structures&#x2F;algorithms, and low-level optimization.