Arrow keys move the cube. Use the sliders to control z (in/out position) and FOV (field of view).
Not my base code, that right goes to @voxelbear. https://youtu.be/TOe6vpGT3hQ?si=vKYuh8L6KpQpzReU Needed this to test 3D though, and now I understand how it's done. More 3D projects may be released... someday.