Can anyone tell me how can draw shadow of black hole like in presented in Intersteller movie? Is there any code for it in Mathematica or in Python? [closed]

Equation of motion for photon $$\Sigma \frac{dt}{d\lambda} = aL\left(1-\frac{r^2+a^2}{\Delta}\right) + \omega\left(\frac{\left(r^2+a^2\right)^2}{\Delta}-a^2 \sin ^2\theta\right)\ ,$$ $$\Sigma\frac{dr}{d\lambda} = \sqrt{R(r)}=\sqrt{\left( \omega\left(r^2+a^2\right)-aL\right)^2-K\Delta}\ ,$$ $$\Sigma\frac{d\theta}{d\lambda} = \sqrt{\Theta(\theta)} = \sqrt{K-\left(\frac{L}{\sin\theta}-a\omega\sin\theta\right)^2}\ ,$$ $$\Sigma\frac{d\phi}{d\lambda} = L\left(\frac{1}{\sin^2\theta}- \frac{a^2}{\Delta}\right)+a\omega \left(\frac{r^2+a^2}{\Delta}-1\right)\ ,$$ where $$K$$ is the Carter constant of the motion.

closed as off-topic by Kyle Kanos, WillO, GiorgioP, ZeroTheHero, John RennieMar 6 at 6:40

• This question does not appear to be about physics within the scope defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.

• Check out this blogpost: rantonels.github.io/starless It includes a description of how to do it as well as a python code. – Void Mar 5 at 18:08
• @Void: that's an answer I think (it's the answer I was going to give if I could remember enough to search for it!) – tfb Mar 5 at 18:38
• I'm voting to close this question as off-topic because it's about writing or obtaining a piece of code and not physics. Computational Science might be better suited. – Kyle Kanos Mar 5 at 20:50