The raytracer i wrote many eons ago now runs really slowly. If the raytracing code is pushed into a worker thread the speed improves dramatically: https://nerget.com/rayjs-mt/rayjs.html?canvasSize=256,numWorkers=1,animate=true,go This code has not changed for many years, so i assume a perf regression somewhere in the stack.