zcharles is is a small project to learn about Zig and ray tracing in general. It renders a PPM image of a hardcoded scene.
The code is based on the excellent Ray Tracing in One Weekend
zig build --release=fast
Running with defaults:
./zig-out/bin/zcharles > default.ppm
Running with all parameters:
./zig-out/bin/zcharles --output=rendered.ppm --image_width=1200 --samples_per_pixel=500 --max_depth=5
All code is licensed under the MIT license. See file LICENSE
for more details.