Ultimately you get a differential equation which you can solve with a bit of code I wrote for you.

Original source: https://www.wired.com/story/physics-tank-shell-polar-coordinates