Khan Academy
Khan Academy: Creating 3 D Shapes
Creating arrays of numbers that describe shapes in 3D shape--arrays that describe nodes and edges.
Khan Academy
Khan Academy: Generating 3 D Shapes
Creating a cuboid with specific position and dimensions entails a function that maps a position and dimensions into an array of nodes and an array of edges.