Write a VPython program that creates eight spheres, each placed at one corner of a cube centered on the origin. The length of a side of the cube should be 6 units, and the radius of each sphere should be 0.5 units. Use at least two different colors for the spheres.
Add to the program a set of cylinders, of radius 0.1 unit that connect the spheres along the edges of the cube to give the appearance of a box. You will need 12 cylinders.
Draw a vector from the one corner to the corner that is diagonally opposite it on the cube.
Print this vector in terms of it’s components and then as a magnitude and direction.