A ray tracer written in Go
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
docs
src
.gitignore
README.md

README.md

raytrace

A raytracing program written in Go.

Created following the book Ray Tracing in One Weekend by Peter Shirley (original source code written in C++).

Output of the final program

Getting Started

Build the binary, run the program to generate an image, and open it in an image viewer.

go build -o ./bin/raytracer ./src/
./bin/raytracer > output.ppm
open output.ppm

Resources