Implement the Matrix class. You may use the sliders to transform the sphere's midpoint

Translation is done before rotation. Therefore the translate direction might be different from what you expect.

We only scale the sphere midpoint positions. The slider is from 1 to 2. The camera is in the origin. Scaling to 2 will move the spheres further away from the camera.