Skip to content

mohaqeq/kotlin-raytracer

Repository files navigation

Kotlin Raytracer

A simple raytracer in Kotlin based on the book series Raytracing in a weekend.

This is a Gradle project, and you can run it with ./gradlew run. The result will be saved in the file image.ppm.

Final code for the first book, saved with v1.0 tag.

Result of first book

I've used a FixedThreadPool executor to speed up the rendering process. The number of threads depends on the number of CPUs available.

About

Raytracer in Kotlin

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages