raytracing run -q medium
All options:
Usage: raytracing [OPTIONS]
Options:
-q, --quality <QUALITY>
Render resolution
[default: low]
Possible values:
- high: 1920x1080
- medium: 960x540
- low: 480x270
- debug: 320x180
-s, --seed <SEED>
Seed for rng
[default: 41]
-o, --output <OUTPUT>
Output path
[default: out.ppm]
Build executable:
nix build
Render image:
nix build .#render