-
Notifications
You must be signed in to change notification settings - Fork 844
Implementations
Jonas Geiler edited this page Jul 27, 2024
·
50 revisions
Lots of readers have shared their implementations from the Ray Tracing In One Weekend series. Feel free to add your own!
- C# -- https://github.com/ronnieholm/Ray-tracing-in-one-weekend-CSharp
- F# -- https://github.com/ronnieholm/Ray-tracing-in-one-weekend-FSharp
- C -- https://github.com/Morozov-5F/raytracing-weekend
- C++ -- https://github.com/define-private-public/PSRayTracing, https://github.com/LiuZengqiang/RayTracingInOneWeekend
- Clojure -- https://github.com/Clojure2D/clojure2d-examples/tree/master/src/rt_in_weekend, https://github.com/Clojure2D/clojure2d-examples/tree/master/src/rt4/in_one_weekend (second approach)
- Common Lisp -- https://github.com/jstoddard/rtiow
- Cuda -- https://github.com/rogerallen/raytracinginoneweekendincuda (blog post: https://devblogs.nvidia.com/accelerated-ray-tracing-cuda/), https://github.com/D-K-E/cuda-raytracer, https://github.com/LiuZengqiang/RayTracingInOneWeekendCUDA
- Go -- https://github.com/i-am-g2/Tr, https://github.com/DanielPettersson/solstrale, https://github.com/kris-gaudel/go-tracer
- Java -- https://github.com/2149495141/RayTracingInJava
- Julia -- https://github.com/claforte/RayTracingWeekend.jl
- Julia -- https://github.com/lawless-m/ShirleyRenderer.jl - competitive with C++ version, also supports multi-threads
- Kotlin -- https://github.com/time4tea/raytrace-in-a-weekend-kotlin
- OCaml -- https://github.com/LesleyLai/ocamlpt, https://github.com/MisakaCenter/RayTracer.ml
- OpenCL -- https://github.com/D-K-E/opencl-raytracer-oneweekend
- Metal -- https://github.com/eoinroe/MTLRaytracing
- Python with numpy -- https://github.com/alfiopuglisi/raytrace_weekend_numpy (jupyter notebook: https://github.com/alfiopuglisi/raytrace_weekend_numpy/blob/master/raytrace_weekend_numpy.ipynb)
- Python -- https://github.com/gkmngrgn/rayt/tree/master/rayt-python
- Rayground -- https://www.rayground.com/view/2hucHmtxldY
- Ruby -- https://github.com/Tarptaeya/path_tracer
- Rust -- https://github.com/peteralieber/rustrays, https://github.com/Nelarius/weekend-raytracer-rust, https://github.com/gkmngrgn/rayt/tree/master/rayt-rust, https://github.com/akinnane/RayTracingInOneWeekend, https://github.com/viktorku/wort, https://github.com/POMMI3R/dasom-rs, https://github.com/navierr/ray-tracing-in-one-weekend-rs, https://github.com/nico-abram/rtweekend-rs, https://github.com/heyajulia/raytracer, https://github.com/anjinl/rust_one_weekend, https://github.com/garethkcjones/rays, https://github.com/misterdanb/raytracinginrust (+ book), https://github.com/aganders3/wasm-ray, https://github.com/nya3jp/raytracing, https://github.com/NonL4331/Raytracing-Rust, https://github.com/jk-gan/ray-tracer/tree/book1, https://github.com/NicolasGuillaumeSoulie/AnotherRustRayTracingInOneWeekend.git, https://https://github.com/mcallahan/lightray, https://github.com/Srikrishna31/raytracing, https://github.com/armansito/ray-tracing-in-one-weekend, https://github.com/typedrat/rayromano/tree/in-one-weekend
- Scala -- https://github.com/Marantesss/ray-tracing-scala
- SYCL -- https://www.codeplay.com/portal/blogs/2020/05/19/ray-tracing-in-a-weekend-with-sycl-basic-sphere-tracing.html
- TypeScript -- https://github.com/ahuth/raytrace2, https://github.com/noiron/ray-tracing-in-one-weekend-typescript
- Zig -- https://github.com/Nelarius/weekend-raytracer-zig
- Javascript -- https://github.com/gurpreetsingh-exe/raytracer
- Lean 4 -- https://github.com/kmill/lean4-raytracer
- PHP -- https://github.com/phpia/raytracer
- Haskell -- https://github.com/Viva-Lambda/rt-haskell/
- Erlang -- https://github.com/tanguyl/raytracer
- C -- https://github.com/Morozov-5F/raytracing-weekend
- C++ -- https://github.com/define-private-public/PSRayTracing, https://github.com/TheRayTracer/Monte_Carlo, https://github.com/LiuZengqiang/RayTracingTheNextWeek
- Clojure -- https://github.com/Clojure2D/clojure2d-examples/tree/master/src/rt4/the_next_week
- CUDA -- https://github.com/D-K-E/cuda-raytracer
- Julia -- https://github.com/rafaellg79/raytracing
- Rust -- https://github.com/garethkcjones/rays, https://github.com/nya3jp/raytracing
- OCaml -- https://github.com/MisakaCenter/RayTracer.ml
- Haskell -- https://github.com/Viva-Lambda/rt-haskell/
- Lua -- https://github.com/jonasgeiler/3d-raytracer-lua
- C++ -- https://github.com/TheRayTracer/Monte_Carlo, https://github.com/LiuZengqiang/RayTracingTheRestofYourLife
- Rust -- https://github.com/Dalamar42/rayt, https://github.com/nya3jp/raytracing, https://github.com/pbmtp/raytracer
- Haskell -- https://github.com/Viva-Lambda/rt-haskell/