I think you could save yourself a lot of trouble if you set the cube up centered at [0,0,0] with the faces parallel to the xy,xz, and yz planes (you can position the camera off-axis later). Then you’re just dealing with equations for circular motion in two dimensions.So, in the xy plane you’d be dealing with something like:
[Math.sin(angle)*radius, -Math.cos(angle)*radius, zOffset]
where you supply the variables angle, radius, and zOffset. The other expressions would be similar.
Dan