Skip to content

Commit ffa01db

Browse files
committed
improved camera, more interesting scene
1 parent 52e1b55 commit ffa01db

File tree

5 files changed

+91410
-89637
lines changed

5 files changed

+91410
-89637
lines changed

.gitignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
test_*
1+
test_*
2+
output_*

README.md

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# applescript-raytracer
2+
3+
an implementation of [raytracing in one weekend](https://raytracing.github.io/books/RayTracingInOneWeekend.html) in applescript
4+
5+
example render:
6+
7+
![rendered output of raytracer](render.jpg)
8+
9+
this render took about 37 minutes
10+
11+
to run it yourself:
12+
13+
```sh
14+
./raytracer.applescript
15+
```
16+
17+
you can also edit the parameters passed to writeRaytracedImage() to adjust the resolution and quality of the rendered image, which will substantially affect the time taken to render

0 commit comments

Comments
 (0)