Ray tracing formulas for various 2d and 3d objects were derived using the computer-algebra system sympy.
The collection currently contains:
By Johannes Buchner | Source code: https://github.com/JohannesBuchner/intersection | Open a issue or pull request if you would like somthing added