/* The floor is slightly curved. Ship used: 'Guardian' by MutoX */
This is not physically accurate. I do not possess advanced knowledge in mathematics. For this problem, there must already exist more efficient and more accurate methods. This is my own naive attempt. I will try to improve it later.