None of the animations made for the Processing program are working.
I was given a correct code to animate a small rectangle gliding across the screen. When I wrote out the code, copying it, I was told that there was a ; a () or a {} missing somewhere. I did everything I could think of to fix it.
I’ve copy pasted diffrent animations to the program in order to see if it was a “me” problem. I was given the same message.
I went back to copying the code given to me by hand, I’ve added and subtracted ; and () and even {} but nothing seems to work. I have no idea what to do, and it was an assignment from a professor.
There are lots of people here that can help but you need to ask the right questions. Unfortunately your question is extremely vague. I suggest that you read the guideline to asking questions and you should mark it as homework.