Adjust the sliders. An improved version: https://scratch.mit.edu/projects/586744342/
Surprisingly realistic motion produced with very simple algorithms. Look inside for specifics. Based on my earlier project Simple Walking Legs: https://scratch.mit.edu/projects/531726256/ Code, graphics and music by me. The music was made with BeepBox.