3D objects

Please can some one help me with the codes to draw a cube, a pyramid, and a regular octahedron.

I want to place these 3 objects in the same 3 dimensional seen.

Any help will be appreciated.

A cube and a pyramid can’t be that difficult to do on your own, it is just triangles and quads no fancy math anywhere.

For other shapes, you can use google, it’s no problem finding information about it there.

Mikael