Skip to content

ronnieholm/Ray-tracing-in-one-weekend-FSharp

Repository files navigation

Ray-tracing-in-one-weekend-FSharp

Based on Ray Tracing in One Weekend, Version 3.2.3, 2020-12-07.

See also C# implementation.

Random scene

Getting started

$ git clone https://github.com/ronnieholm/Ray-tracing-in-one-weekend-FSharp.git
$ dotnet run --configuration release RayTracingInOneWeekend.fsproj > out.ppm
$ display out.ppm

Benchmarking

The F# implementation is based on newer version of the book than the C# version. So benchmarks aren't comparable:

.NET 8 (Linux)

$ dotnet run --configuration release RayTracingInOneWeekend.fsproj benchmark
Render time: 00:01:24.4251590

References

About

F# implementation of Ray Tracing in One Weekend by Peter Shirley.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages