An experiment with raycasting