Use the sliders and render the cube. If you want to understand how I made this, you can visit Ro Tutorials on youtube and grasp the understanding of the Z-axis. This is a WIP. Also, advertising once in a while is OK, but if it starts to become a problem, I will report you and turn off comments. Sorry for the inconvenience.
I give tons of credit to @Funut, the creator of Ro Tutorials. I made the rest. Please give suggestions, tips, and project ideas. #-3D #-Rendering