The algorithm for drawing a circle in 3D space is as follows:
1. Set the radius of the circle.
2. Establish a center point and draw a line from this point perpendicular to the plane in which the circle will be drawn.
3. Divide the circumference of the circle into equal parts.
4. Use this information to determine the x and y coordinates of points on the circumference of the circle.
5. Draw a line from the center of the circle to the x and y coordinates to create the circle.
Create an algorithm that draws a circle in 3D space.