Here are the formulas that are used in this project: To rotate around a point in 3D, use these formulas: For Yaw: x = z * sin(yaw) + x * cos(yaw), z = z * cos(yaw) - x *sin(yaw) For Pitch: y = y * cos(pitch) - z * sin(pitch), z = y * sin(pitch) + z * cos(pitch) Context: In a circle, cos is the length of the triangle derived from the center of the circle and the radius as a hypotenuse, while sin gives you the height of that triangle. Picture a circle, where the center point is the camera, and the outer circumference housing positions. The radius of the circle is determined by the distance between the camera and the point. The angle needed to be rotated by is called Theda, and the angle that corresponds the point's starting x and y is called alpha. We can solve for d and the side lengths using the equations listed above. Pitch is rotating around the x axis, while yaw is rotating around the y axis. Thanks to @FindingPepper for his YouTube tutorial on how to render and move in a 3D world. Here is the link for it: https://www.youtube.com/watch?v=ZxBnB1IkTEg&t=1164s