Ray Tracing, Apple Metal, Swift Programming, Gpu Rendering, Wwdc 2020.
about it here. Let's Start! Open Xcode Create a new CLI project, I will call it RayTracing. import Foundation let filename = getDocumentsDirectory().appendingPathComponent(“output.ppm”) let row = 400 let column = 400 var out = “” out.append(“P3\n\(row) \(column)\n255\n”) for i in 0..<row{ for j in