Skip to content

Latest commit

 

History

History
7 lines (4 loc) · 573 Bytes

README.md

File metadata and controls

7 lines (4 loc) · 573 Bytes

Not much to say, I (slowly) followed the tutorial and got the expected result.

I used Rayon to parallelize each scanline, but even with that, rendering the final scene took a really long time (Ryzen 9 5900HX 8c/16t), maybe I'll find a way to optimize that (get rid of Arc?).

I'm not sure if the pattern has a name, but I replaced the "pass-by-reference plus boolean return for error" with Option<T>, which I find much more pleasant and clear to work with.