# 3d

- draw_cube [edit] v0.8
*Draw a 3d cube.* - draw_pyramid [edit] v0.2
*Draw a 3d pyramid.* - draw_sphere [edit] v0.3
*Render a 3d sphere.* - lathe_polygons [edit] v0.2
*Helper function to generate all the polygons for a lathed shape. The surface of the shape is determined by an equation y=f(x) which is applied for a certain range of x. The line y=f(x) is then rotated about the x axis to generate the shape.* - lathe_shape [edit] v0.1
*Draw a lathed shape. The surface of the shape is determined by an equation y=f(x) which is applied for a certain range of x. The line y=f(x) is then rotated about the x axis to generate the shape.* - plot_3d_function [edit] v0.6
*Plot a function of two variables in 3d. Output a rendered graph.* - project_polygon [edit] v0.5
*Project a the points of a 3d polygon onto a flat 2d surface (the screen).* - raise_polygon [edit] v0.1
*Project a flat polygon into three dimensions.* - render_polygons [edit] v0.5
*Helper function to render polygons to the screen with a number of options.*