Skip to content

rocheio/raytrace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A ray tracer written in Go

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages