I share again because i had several Tweets above, I will may done a tutorial if the time allows me.
I planted myself for the calibration. It need to view with high gamma tv to not see glitching.
Very smooth looking.
repost on twitters
for compute distance without raycast your can look my code here.
this will be your starting math formula and method you can get...
you can find many case with vanilla raycast on codepen and other online code editor.
this will maybe interest you.
I add a lot of link...
what you will maybe need, is to do it copy file data, stringify and than write again in the new folder.
look for `writeFile` module....
Separate names with a comma.