I am trying to render in 3D using tkinter but when I run it I get a cube that moves up and down instead of forwards and backwards. Here is my code:
from tkint