Open geogebra and draw a cube in the drawing area. Find the rotation tool in the toolbar. Rotate the object to be rotated and the rotation center in turn, then enter the rotation angle, and click OK to get the rotated graph. When animation is needed, you can enter the input angle in the form of letters (variables). Then set this variable as the slider. Then slide the slider, and you can get cubes that rotate at different angles. Right-click the slider to start the animation, and the cube will keep rotating. Set the range of variables along the slider and rotate repeatedly.
GeoGebra is a free and cross-platform dynamic mathematics software, which can be used by all educational levels, including geometry, algebra, tables, graphics, statistics and calculus, and is concentrated in a simple and easy-to-use software. Won many European and American educational software awards.