There was some very interesting work done by @real_tabasco_sauce in this area here. I believe there were some cross-platform compatibility issues (IIRC related to mathematical calculations being handled differently on Linux, Windows, and macOS), which, in my view, would be worth revisiting.