you can drag everything in the scene. this is a ray tracing simulation that shows how computers calculate ray-sphere interactions using purely math. no collision detection used here.
i've already created a sphere ray marcher renderer in python (because i thought all ray tracing worked like that) but it was too slow. i did some research and found the best way to detect collision. this video taught me everything https://www.youtube.com/watch?v=HFPlKQGChpE