Define func

https://editor.p5js.org/Becky1030/sketches/cTTwtslsh
Questions:
- I couldn’t make the legs run with translate and rotate, still figuring how I did wrong.
- Also, I realized that the order of the functions called in the function draw() actually matters, which I don’t really understand why.