A conversion of PlayfulJS's javascript raycaster into Python/Pygame