This is a 3D simulation of a 4-DOF gantry system.
First, download and install Anaconda for Python 3.7:
bash ~/Downloads/Anaconda3-[your_version]-Linux-x86_64.sh
Then, install Python external packages:
conda install -c conda-forge vpython
conda install -c conda-forge tk