https://cerwinvegassalee.blogspot.com/2024/03/how-to-iterate-through-pygame-3d.html